EnsLib.Workflow.UserDefinition
persistent class EnsLib.Workflow.UserDefinition extends %Library.Persistent, %XML.Adaptor, %CSP.Util.AutoForm
SQL Table Name: EnsLib_Workflow.UserDefinition
Defines a workflow user.Typically the user name matches a system user name but this is not required.
Workflow users that are not registered system users will not be able to log into the Workflow portal and check the status of their worklist.
Property Inventory
Method Inventory
Parameters
parameter DOMAIN = Ensemble;
Use our own domain for localization
Properties
property FullName as %String (CAPTION = "@EnsColumns:FullName@Full Name", MAXLEN = 128, XMLNAME = "fullname", XMLPROJECTION = "attribute");
(Optional) Full name (i.e., "Presley,Elvis") for User.
Property methods: FullNameDisplayToLogical(), FullNameGet(), FullNameGetStored(), FullNameIsValid(), FullNameLogicalToDisplay(), FullNameLogicalToOdbc(), FullNameNormalize(), FullNameSet()
property IsActive as %Boolean (CAPTION = "@EnsColumns:IsActive@Is Active", XMLNAME = "isActive", XMLPROJECTION = "attribute") [ InitialExpression = 1 ];
Indicates if this user is currently active.
Property methods: IsActiveDisplayToLogical(), IsActiveGet(), IsActiveGetStored(), IsActiveIsValid(), IsActiveLogicalToDisplay(), IsActiveLogicalToXSD(), IsActiveNormalize(), IsActiveSet(), IsActiveXSDToLogical()
property Name as %String (CAPTION = "@Ensemble:Name@Name", MAXLEN = 128, XMLNAME = "name", XMLPROJECTION = "attribute") [ Required ];
The user name of this Workflow user.
Property methods: NameDisplayToLogical(), NameGet(), NameGetStored(), NameIsValid(), NameLogicalToDisplay(), NameLogicalToOdbc(), NameNormalize(), NameSet()
Methods
classmethod %OnDelete(oid As %ObjectIdentity) as %Status
Inherited description: This callback method is invoked by the %Delete() method to
provide notification that the object specified by oid is being deleted.
If this method returns an error then the object will not be deleted.
Create a Workflow user
Delete a Workflow user
classmethod DrawHTMLFormFields(pObj As %RegisteredObject) as %Status
method GetRoleSet() as %ResultSet
Returns a %ResultSet of all roles for this user.
The returned result set is executed and ready to be read from.
This callback is called when this form is submitted.
pID is the ID value associated with the form.
The default implementation will perform a Save if the AutoForm is a persistent object.
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).
pSubmit is the name of the submit button (i.e., $AUTOFORM_SAVE).
Indexes
index (ID on Name) [IdKey, Type = key];
Index methods: IDCheck(), IDDelete(), IDExists(), IDOpen(), IDSQLCheckUnique(), IDSQLExists(), IDSQLFindPKeyByConstraint(), IDSQLFindRowIDByConstraint()
Triggers
trigger SQLDelete (BEFORE event DELETE);
SQL Delete Trigger
trigger SQLUpdate (BEFORE event UPDATE);
SQL Update Trigger
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()
- CreateInstance()
- DispatchSubmit()
- DoSubmit()
- DrawFormButtons()
- DrawHTMLForm()
- DrawHTMLTable()
- GetComboBoxHTML()
- GetFormError()
- OnDefineButtons()
- ProcessSubmit()
- SetFormError()
- Submit()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: CacheStorage (EnsLib.Workflow.UserDefinition)
^EnsLib.W.UserDefinitionD(ID) | = | %%CLASSNAME
IsActive
FullName
|