Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [Ens] >  [Milestone]
Private  Storage   

persistent class Ens.Milestone extends %Persistent

API for Business Process milestones.
This class is readonly and has its storage directly mapped to the Ens.BPL.Milestone global.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 4 3 1


Summary

Properties
ContextId LastUpdate LastValue SessionId

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


Parameters

• parameter READONLY = 1;
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);
Business process context id of milestone.
• property LastUpdate as Ens.DataType.UTC;
Time of last update to this milestone.
• property LastValue as %String(MAXLEN=1000);
Last saved value of milestone.
• property SessionId as %String(MAXLEN=128);
Session id of milestone.

Queries

• query EnumerateMilestones()
SQL Query :
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
Return the set of sessions containing milestones.
• query EnumerateSessions()
SQL Query :
SELECT DISTINCT SessionId FROM Milestone
Return the set of sessions containing milestones.

Indices

•index (IDKEY on SessionId,ContextId) [IdKey];


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.