Click or drag to resize

IState Interface

State base interface.

Namespace:  PDTec.IceNet.Domain.Lifecycle.BusinessObjects
Assembly:  PDTec.IceNet.Domain (in PDTec.IceNet.Domain.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public interface IState : IStateBase, IObject

The IState type exposes the following members.

Properties
  NameDescription
Public propertyChangedBy
Gets the name of the user who changed the object last.
(Inherited from IObject.)
Public propertyChangedOn
Gets the point of time the object was changed last.
(Inherited from IObject.)
Public propertyCreatedBy
Gets the name of the user who created the object.
(Inherited from IObject.)
Public propertyCreatedOn
Gets the point of time the object was created.
(Inherited from IObject.)
Public propertyDescription
Gets or sets the object description. The description can be empty.
(Inherited from IObject.)
Public propertyFolder
Gets the containing folder.
(Inherited from IObject.)
Public propertyId
Gets the object ID. The ID is generated by the platform and cannot be modified.
(Inherited from IObject.)
Public propertyIsLocked
Indicates if the object is locked.
(Inherited from IObject.)
Public propertyIsReferenced
Public propertyIsValid
Indicates if the object instance is valid. The object becomes invalid if the Destroy method has been called.
(Inherited from IObject.)
Public propertyLifecycleableStateReverse
Gets the collection of Lifecycleable objects connected by a State relationship in Reverse direction.
(Inherited from IStateBase.)
Public propertyLifecycleStatesReverse
Gets or sets the Lifecycle connected by a States relationship in Reverse direction.
(Inherited from IStateBase.)
Public propertyLockedBy
Gets the name of the user who holds a lock on the object, empty string if the object is not locked.
(Inherited from IObject.)
Public propertyLockedOn
Gets the lock timestamp, if object is locked. DateTime.MinValue if not.
(Inherited from IObject.)
Public propertyName
Gets or sets the object name. The name cannot be an empty string. It is modifiable and does not have to be unique.
(Inherited from IObject.)
Public propertyObjType
Gets the object type.
(Inherited from IObject.)
Public propertyStateEnterActions
Gets the collection of Lifecycle Action objects connected by a Enter Actions relationship in Forward direction.
(Inherited from IStateBase.)
Public propertyTransitionFromStateReverse
Gets the collection of Transition objects connected by a From State relationship in Reverse direction.
(Inherited from IStateBase.)
Public propertyTransitionToStateReverse
Gets the collection of Transition objects connected by a To State relationship in Reverse direction.
(Inherited from IStateBase.)
Top
Methods
  NameDescription
Public methodAddKey
Adds a new key to the object. The key must be unique within the system context (e.g. unique per database).
(Inherited from IObject.)
Public methodAddLifecycleableStateReverse
Adds pItem to the collection of Lifecycleable objects connected by State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodAddStateEnterActions
Adds pItem to the collection of Lifecycle Action objects connected by Enter Actions relationships in Forward direction.
(Inherited from IStateBase.)
Public methodAddTransitionFromStateReverse
Adds pItem to the collection of Transition objects connected by From State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodAddTransitionToStateReverse
Adds pItem to the collection of Transition objects connected by To State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodAsT Obsolete.
Casts to a Business Object interface.
(Inherited from IObject.)
Public methodCastT
Casts to a Business Object interface. Throws an exception if the Business Object interface is not available for this object.
(Inherited from IObject.)
Public methodChangeObjType
Change the object type.
(Inherited from IObject.)
Public methodClearLifecycleableStateReverse
Clears the collection of Lifecycleable objects connected by State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodClearStateEnterActions
Clears the collection of Lifecycle Action objects connected by Enter Actions relationships in Forward direction.
(Inherited from IStateBase.)
Public methodClearTransitionFromStateReverse
Clears the collection of Transition objects connected by From State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodClearTransitionToStateReverse
Clears the collection of Transition objects connected by To State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodContainsLifecycleableStateReverse
Determines whether pItem is contained in the collection of Lifecycleable objects connected by State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodContainsStateEnterActions
Determines whether pItem is contained in the collection of Lifecycle Action objects connected by Enter Actions relationships in Forward direction.
(Inherited from IStateBase.)
Public methodContainsTransitionFromStateReverse
Determines whether pItem is contained in the collection of Transition objects connected by From State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodContainsTransitionToStateReverse
Determines whether pItem is contained in the collection of Transition objects connected by To State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodCopyTo
Copies the object. Attributes of the object are copied, relationships not.
(Inherited from IObject.)
Public methodCreateTransition
Public methodDeleteKey
Removes a key from the object.
(Inherited from IObject.)
Public methodDeleteState
Public methodDestroy
Deletes the object (and its relationships).
(Inherited from IObject.)
Public methodGetAttributes
Gets all attributes of the State.
(Inherited from IStateBase.)
Public methodGetAttrValue(IAttrDef)
Retrieves the specified attribute value.
(Inherited from IObject.)
Public methodGetAttrValue(String, String)
Retrieves the specified attribute value.
(Inherited from IObject.)
Public methodGetAttrValue(IAttrDef, Boolean) Obsolete.
Retrieves the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodGetAttrValue(String, String, Boolean) Obsolete.
Retrieves the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodGetAttrValues
Get all attribute values of the object.
(Inherited from IObject.)
Public methodGetFolder
Retrieves the object's folder.
(Inherited from IObject.)
Public methodGetKeys
Retrieves the object's (unique) keys.
(Inherited from IObject.)
Public methodGetLockInfo
Retrieves information about the object's lock status.
(Inherited from IObject.)
Public methodGetObjType
Retrieve the object type.
(Inherited from IObject.)
Public methodGetPromoteableStates
Public methodGetRelationships(RelDirection)
Retrieves all attached relationships of a specific direction (regardless of their relationship type).
(Inherited from IObject.)
Public methodGetRelationships(String, RelDirection)
Retrieves all attached relationships of a specific role (relationship type/direction combination).
(Inherited from IObject.)
Public methodGetRelationships(IRelType, RelDirection)
Retrieves all attached relationships of a specific relationship type in a specific direction.
(Inherited from IObject.)
Public methodGetSingleRelationship(String, RelDirection)
Retrieves a single relationship (omit the array overhead).
(Inherited from IObject.)
Public methodGetSingleRelationship(IRelType, RelDirection)
Retrieves a single relationship (omit the array overhead).
(Inherited from IObject.)
Public methodGetTableAttrTemplateRow
Gets a table attribute template row.
(Inherited from IObject.)
Public methodGetTableAttrValues
Gets the table attribute values.
(Inherited from IObject.)
Public methodInsertStateEnterActions
Inserts pItem into the collection of Lifecycle Action objects connected by Enter Actions relationships in Forward direction.
(Inherited from IStateBase.)
Public methodIsOf(String)
Indicates if the object conforms to a specific object type directly or indirectly (is a subtype of).
(Inherited from IObject.)
Public methodIsOf(IObjType)
Indicates if the object conforms to a specific object type directly or indirectly (is a subtype of).
(Inherited from IObject.)
Public methodLock
Lock the object.
(Inherited from IObject.)
Public methodMoveTo
Moves the object to another folder.
(Inherited from IObject.)
Public methodQueryInterface
Cast to a Business Object interface.
(Inherited from IObject.)
Public methodReload
Refreshes the object data from secondary storage (e.g. database) if available. Use this method to retrieve up-to-date audit information (ChangedBy, ChangedOn properties).
(Inherited from IObject.)
Public methodRemoveLifecycleableStateReverse
Removes pItem from the collection of Lifecycleable objects connected by State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodRemoveStateEnterActions
Removes pItem from the collection of Lifecycle Action objects connected by Enter Actions relationships in Forward direction.
(Inherited from IStateBase.)
Public methodRemoveTransitionFromStateReverse
Removes pItem from the collection of Transition objects connected by From State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodRemoveTransitionToStateReverse
Removes pItem from the collection of Transition objects connected by To State relationships in Reverse direction.
(Inherited from IStateBase.)
Public methodSetAttributes
Sets all attributes of the State.
(Inherited from IStateBase.)
Public methodSetAttrValue(IAttrDef, Object)
Stores the specified attribute value.
(Inherited from IObject.)
Public methodSetAttrValue(String, String, Object)
Stores the specified attribute value.
(Inherited from IObject.)
Public methodSetAttrValues
Set multiple attribute values with a single method call.
(Inherited from IObject.)
Public methodSetRelationshipIndex
Re-position a relationship within the object/reltype/direction order.
(Inherited from IObject.)
Public methodSetRelationshipIndices
Re-order all relationships of a object/reltype/direction context.
(Inherited from IObject.)
Public methodSetTableAttrValues
Sets the table attribute values.
(Inherited from IObject.)
Public methodTouch
Updates the ChangedBy and ChangedOn information.
(Inherited from IObject.)
Public methodTryCastT
Casts to a Business Object interface.
(Inherited from IObject.)
Public methodTryGetAttrValue(IAttrDef, Boolean)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(IAttrDef, DateTime)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(IAttrDef, Double)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(IAttrDef, Int64)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(IAttrDef, Object)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(IAttrDef, String)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(String, String, Boolean)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(String, String, DateTime)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(String, String, Double)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(String, String, Int64)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(String, String, Object)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetAttrValue(String, String, String)
Attempts to get the specified attribute value and indicates if the value is assigned.
(Inherited from IObject.)
Public methodTryGetLifecycleStatesReverse
Tries to get the Lifecycle connected by a States relationship in Reverse direction.
(Inherited from IStateBase.)
Public methodTryGetSingleRelationship(String, RelDirection, IRelationship)
Tries to retrieves a single relationship.
(Inherited from IObject.)
Public methodTryGetSingleRelationship(IRelType, RelDirection, IRelationship)
Tries to retrieves a single relationship.
(Inherited from IObject.)
Public methodUnLock
Unlock the object.
(Inherited from IObject.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetFolderId
Gets the folder ID without unneccessarily retrieving the full folder information.
(Defined by ModelExtensions.)
Public Extension MethodGetRepository
Gets the corresponding repository for an object.
(Defined by ModelExtensions.)
Public Extension MethodIsConnected(String, RelDirection)Overloaded.
Detects whether an object is connected by at least one relationship of a specific type.
(Defined by ModelExtensions.)
Public Extension MethodIsConnected(IRelType, RelDirection)Overloaded.
Detects whether an object is connected by at least one relationship of a specific type.
(Defined by ModelExtensions.)
Top
See Also