Class FSCMDST@1.1001:MetaDataStamp Permanent link for this heading

Abstract base class for meta data stamps.

Class Hierarchy

Object > ContentObject > MetaDataStamp

Direct Subclasses

DynamicMetaDataStamp, StaticMetaDataStamp

Actions Permanent link for this heading

Return Type

Signature

boolean

CanReleaseTemplate(
  out retval boolean canrelease)

boolean

IsDraftTemplate(
  out retval boolean isdrafttemplate)

object

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

Actions Permanent link for this heading


COOTC@1.1001:CanReleaseTemplate Permanent link for this heading

Check if the current user is allowed to release a template or to withdraw the release.

boolean COOTC@1.1001:CanReleaseTemplate(
  out retval boolean canrelease)

Name

Description

canrelease

the result;

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

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