Ens.Milestone
persistent class Ens.Milestone extends %Library.Persistent [ Final ]
SQL Table Name: Ens.Milestone
API for Business Process milestones.This class is readonly and has its storage directly mapped to the Ens.BPL.Milestone global.
Property Inventory
Parameters
parameter READONLY = 1;
Inherited description: READONLY = 1 means that objects can be created, opened but not saved or deleted.
Tables are projected to SQL as READONLY.
Properties
property ContextId as %String (MAXLEN = 128) [ Required ];
Business process context id of milestone.
Property methods: ContextIdDisplayToLogical(), ContextIdGet(), ContextIdGetStored(), ContextIdIsValid(), ContextIdLogicalToDisplay(), ContextIdLogicalToOdbc(), ContextIdNormalize(), ContextIdSet()
property LastUpdate as Ens.DataType.UTC;
Time of last update to this milestone.
Property methods: LastUpdateDisplayToLogical(), LastUpdateGet(), LastUpdateGetStored(), LastUpdateIsValid(), LastUpdateLogicalToDisplay(), LastUpdateLogicalToOdbc(), LastUpdateNormalize(), LastUpdateOdbcToLogical(), LastUpdateSet(), LastUpdateStorageToLogical(), LastUpdatetimeCmp(), LastUpdatetimeDiff(), LastUpdatetimeLocal(), LastUpdatetimeLocaltoUTC(), LastUpdatetimeUTC(), LastUpdatetimeUTCH(), LastUpdatetimeUTCHtoUTC(), LastUpdatetimeUTCtoLocal(), LastUpdatetimeUTCtoUTCH()
property LastValue as %String (MAXLEN = 1000);
Last saved value of milestone.
Property methods: LastValueDisplayToLogical(), LastValueGet(), LastValueGetStored(), LastValueIsValid(), LastValueLogicalToDisplay(), LastValueLogicalToOdbc(), LastValueNormalize(), LastValueSet()
property SessionId as %String (MAXLEN = 128) [ Required ];
Session id of milestone.
Property methods: SessionIdDisplayToLogical(), SessionIdGet(), SessionIdGetStored(), SessionIdIsValid(), SessionIdLogicalToDisplay(), SessionIdLogicalToOdbc(), SessionIdNormalize(), SessionIdSet()
Queries
query EnumerateMilestones()
SQL Query:
SELECT SessionId,ContextId,LastUpdate,LastValue FROM Milestone
SELECT SessionId,ContextId,LastUpdate,LastValue FROM Milestone
Return the set of all current Business Process milestones.
query EnumerateMilestonesForSession(pSessionId As %String = "")
SQL Query:
SELECT ContextId,LastUpdate,LastValue FROM Milestone WHERE SessionId = :pSessionId
SELECT ContextId,LastUpdate,LastValue FROM Milestone WHERE SessionId = :pSessionId
Return the set of sessions containing milestones.
query EnumerateSessions()
SQL Query:
SELECT DISTINCT SessionId FROM Milestone
SELECT DISTINCT SessionId FROM Milestone
Return the set of sessions containing milestones.
Indexes
index (IDKEY on SessionId,ContextId) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %CheckConstraints()
- %CheckConstraintsForExtent()
- %ClassIsLatestVersion()
- %ClassName()
- %ComposeOid()
- %ConstructClone()
- %Delete()
- %DeleteExtent()
- %DeleteId()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Exists()
- %ExistsId()
- %Extends()
- %GUID()
- %GUIDSet()
- %GetLock()
- %GetParameter()
- %GetSwizzleObject()
- %Id()
- %InsertBatch()
- %IsA()
- %IsModified()
- %IsNull()
- %KillExtent()
- %KillExtentData()
- %LoadFromMemory()
- %LockExtent()
- %LockId()
- %New()
- %NormalizeObject()
- %ObjectIsNull()
- %ObjectModified()
- %Oid()
- %OnBeforeAddToSync()
- %OnDetermineClass()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
Storage
Storage Model: CacheStorage (Ens.Milestone)
^Ens.BPL.Milestone(ID) | = | LastUpdate
LastValue
|
^Ens.BPL.Milestone(ID,"1") | = | %%CLASSNAME
|