Class FSCODATA@1.1001:ODataService Permanent link for this heading

An OData data source as user object

Class Hierarchy

Object > BasicObject > ODataService

Properties Permanent link for this heading

Type

Property

Name

Language

odatalang

Language

string

odataurldraft

Link (Draft)

string

odataurlreleased

Link (Released)

Actions Permanent link for this heading

Return Type

Signature

object

GetDraftTemplate(
  out retval object drafttemplate,
  optional boolean includeself)

boolean

IsDraftTemplate(
  out retval boolean isdrafttemplate)

QueryType[]

QueryTypeHint(
  ObjectClass selectedclass,
  ref QueryType query,
  out retval QueryType[] query_hint)

object

ReleaseTemplate(
  out retval object releasedtemplate,
  optional boolean keepoldrelease,
  optional dictionary additionalsettings)

Properties Permanent link for this heading


Language (FSCODATA@1.1001:odatalang) Permanent link for this heading

Language FSCODATA@1.1001:odatalang not null

Additional Information


Link (Draft) (FSCODATA@1.1001:odataurldraft) Permanent link for this heading

Service url for draft version.

string FSCODATA@1.1001:odataurldraft readonly volatile


Link (Released) (FSCODATA@1.1001:odataurlreleased) Permanent link for this heading

Service url for released version.

string FSCODATA@1.1001:odataurlreleased readonly volatile

Actions Permanent link for this heading


COOTC@1.1001:GetDraftTemplate Permanent link for this heading

Gets the draft version of the template. The action can be called both on the draft version and on the release version of a template.

object COOTC@1.1001:GetDraftTemplate(
  out retval object drafttemplate,
  optional boolean includeself)

Name

Description

drafttemplate

the draft template

includeself

if set to true and the current object is a draft template (see COOTC@1.1:objistemplate) it will return himself

COOTC@1.1001:IsDraftTemplate Permanent link for this heading

Checks if the template is a draft which can be released.

If the release mechanism is to be used for an object class, then this action can be implemented for example with: isdrafttemplate = cooobj.IsUsable() && !cooobj.GetDraftTemplate();

boolean COOTC@1.1001:IsDraftTemplate(
  out retval boolean isdrafttemplate)

Name

Description

isdrafttemplate

the result

FSCODATA@1.1001:QueryTypeHint Permanent link for this heading

QueryType[] FSCODATA@1.1001:QueryTypeHint(
  ObjectClass selectedclass,
  ref QueryType query,
  out retval QueryType[] query_hint)

Name

Description

selectedclass

query

query_hint


COOTC@1.1001:ReleaseTemplate Permanent link for this heading

Action to release a template. A released template can be instantiated.

object COOTC@1.1001:ReleaseTemplate(
  out retval object releasedtemplate,
  optional boolean keepoldrelease,
  optional dictionary additionalsettings)

Name

Description

releasedtemplate

the released template

keepoldrelease

in case of newly created released template the old release is not deleted

additionalsettings

this dictionary may contain custom informations when calling the action manually to handle user decision e.g to release sub templates