You are here:   » Home » Documentation » Details » ZMS API » acc. to Objects » _versionmanager

_versionmanager.VersionManager

Versioning of objects

VersionManager.getWfStates(REQUEST)

BESCHREIBUNG:
The method getWfStates gives back all instantaneous workflow states of the current object as a list.

EINGABE-PARAMETER:
REQUEST: the HTTP request object

AUSGABE-PARAMETER:
List: list of the workflow states


VersionManager.isObjModified(REQUEST)

BESCHREIBUNG:
The method isObjModified states whether an object has been modified in a workflow-relevant manner.

EINGABE-PARAMETER:
REQUEST: the HTTP request object

AUSGABE-PARAMETER:
boolean


VersionManager.hasObjModifiedChildren(REQUEST)

BESCHREIBUNG:
The method hasObjModifiedChildren states whether there are sub-objects with workflow-relevant changes from the current object.

EINGABE-PARAMETER:
REQUEST: the HTTP request object

AUSGABE-PARAMETER:
boolean


VersionManager.onChangeObj(REQUEST)

BESCHREIBUNG:
The method onChangeObj should always be called after any changes of objects. It gives notice to the ZCatalog for the search and the static cache that there have been changes of the object. If Auto-Commit is activated changes are also written from the work- to the live-version.

EINGABE-PARAMETER:
REQUEST: the HTTP request object