PFTask Class |
Namespace: Packflow.Core
public class PFTask : PFItem
The PFTask type exposes the following members.
Name | Description | |
---|---|---|
AbsolutePrintUrl |
Gets the absolute url of the print form of this item.
(Inherited from PFItem.) | |
AbsoluteUrl |
Gets the absolute url of the form of this item.
(Inherited from PFItem.) | |
ActorType |
Gets the type of actor owning this task.
Currently only concerns normal actors, but will be used later to identify non-human actors
and actors not impacting the decision of a workflow.
| |
ApplicationContext |
Gets the current application context of this item, if not yet assigned,
will assign and return first found context on the parent application.
(Inherited from PFItem.) | |
ApplicationContextId | Gets or sets the id of the current application context of this item. Note : can only be assigned if this item has not been created yet or if the current application context does not exist anymore. | |
ApplicationContextName |
Gets the name of the current application context of this item.
(Inherited from PFItem.) | |
AssignedTo |
Gets the owner of this task.
| |
BeforeSaveValues |
Gets the previous values of modified fields before the latest Save.
(Inherited from PFBaseObject.)Note: this feature is NOT persisted in the database and therefore only concerns this instance. | |
CanDelete |
Checks if the current permission context allows current user to delete this object.
(Inherited from PFBaseObject.) | |
CanRead |
Checks if the current permission context allows current user to access this object.
(Inherited from PFBaseObject.) | |
CanUpdate |
Checks if the current permission context allows current user to update this object.
(Inherited from PFBaseObject.) | |
Caption |
Gets the display text representing this item.
(Inherited from PFItem.) | |
Comments |
Gets a relation allowing to access all comments.
(Inherited from PFItem.) | |
CommentsEnabled |
Gets a value indicating whether comments are enabled.
(Inherited from PFItem.) | |
Created |
Indicates if this object has been created and is still in database (positive Id).
(Inherited from PFBaseObject.) | |
CreatedAt |
Gets the date of creation of this object in the database.
(Inherited from PFBaseObject.) | |
CreatedBy |
Gets the user who created this object in the database.
(Inherited from PFBaseObject.) | |
Data |
Gets the metadata of this item.
(Inherited from PFItem.) | |
DateLastReminder |
Gets the date of the last time this task was reminded to the owner by the PFTaskReminderJob.
| |
DateObjectCreation |
Gets the date of the creation of this object in memory.
(Inherited from PFManagedObject.) | |
Deleted |
True if this object is flagged as deleted.
(Inherited from PFBaseObject.) | |
DeletedAt |
Date of the suppression of this object.
(Inherited from PFBaseObject.) | |
DeletedBy |
The user who deleted this object.
(Inherited from PFBaseObject.) | |
DisableNotificationsTemporarily |
Gets or sets a value indicating whether all operations on this item
should avoid to send notifications to users.
(Inherited from PFItem.)Important : this flag will only concern the current INSTANCE of this object. | |
DueDate |
Gets the due date.
| |
DueStartDate |
Gets the due start date.
| |
EnableVersionMergeToResolveSaveConflicts |
If an object is saved with an older version than the last persisted (in database),
the system will try to merge the versions values (if no conflicts between values)
and will then save the merged item to database.
Note : this setting is NOT persisted and will affect this object instance only.
(Inherited from PFItem.) | |
EndDate |
Gets the end date.
| |
Events |
Gets a relation allowing to access all significant events that occurred during the life of this item.
(Inherited from PFItem.) | |
Exists |
Indicates if this object has been created, still exists in database and is not flagged for suppression.
(Inherited from PFBaseObject.) | |
ExternalConnectionId |
Gets or sets the id of the PFExternalConnection having created and synchronized this item.
If not synchronized, this value is 0 or less.
(Inherited from PFItem.) | |
Files |
Gets a relation allowing to access all files attached to this item using a PFFileHolderField.
(Inherited from PFItem.) | |
Guid |
Gets the GUID identifying this object.
Must be used if Id is no more viable, example if content were merged.
(Inherited from PFBaseObject.) | |
HasPendingModifications |
Checks if there is pending changes.
Will check if the values are different from the currently persisted values.
(Inherited from PFBaseObject.) | |
HasPendingPermissionsModifications |
Checks if there is pending modifications in permissions.
Will compute permissions (RUD) and check if there is differences with current persisted permissions.
(Inherited from PFBaseObject.) | |
HasWorkflowItem |
Checks in database if the parent workflow item is available.
| |
Id |
Gets the id identifying this object.
Must be used to find or identify an object because faster than Guid.
(Inherited from PFBaseObject.) | |
InboundTransition |
Gets the last persisted display name of the last taken transition.
(Inherited from PFItem.) | |
InboundTransitionId |
Gets the id of the last transition taken in the workflow, corresponding to the modeling Transition id.
(Inherited from PFItem.) | |
IsSynchronizedWithAnExternalSource |
Gets a value indicating whether this instance is synchronized with an external source.
(Inherited from PFItem.) | |
IsWorkflowTask |
Gets a value indicating whether this task is related to a workflow or not.
| |
KeepBeforeSaveValues |
Gets or sets a value indicating whether
the Save should keep a collection of the modified fields previous values.
(Inherited from PFItem.)Note: this feature is NOT persisted in the database and therefore only concerns this instance. | |
Logger |
Gets the logger, used to log any useful warning, error or information in the database.
(Inherited from PFManagedObject.) | |
LogIdentification |
Gets a technical text representing this object.
(Inherited from PFBaseObject.) | |
ModelItem |
If this item is linked to or synchronized with a modeled item,
this will contain the ContentItem (from the model).
(Inherited from PFItem.) | |
ModelItemGuid |
If this item is linked to or synchronized with a modeled item,
this will contain the Guid of that ContentItem.
(Inherited from PFItem.) | |
OwnerItem |
Gets the owner item of this item. Based on the item relation with the correct ownership.
(Inherited from PFItem.) | |
ParentApplication |
Gets the parent application of this item.
(Inherited from PFItem.) | |
ParentContentType |
Gets the parent content-type of this item.
(Inherited from PFItem.) | |
PermissionContext |
Gets an object calculating permissions on demand.
(Inherited from PFItem.) | |
Permissions |
Gets the permission set (RUD permissions) of this item.
(Inherited from PFBaseObject.) | |
PermissionSetDeleteId |
Id of the permission set for Delete access.
(Inherited from PFBaseObject.) | |
PermissionSetDeleteXml |
XML of serialized permission set for Delete access.
(Inherited from PFBaseObject.) | |
PermissionSetReadId |
Id of the permission set for Read access.
(Inherited from PFBaseObject.) | |
PermissionSetReadXml |
XML of serialized permission set for Read access.
(Inherited from PFBaseObject.) | |
PermissionSetUpdateId |
Id of the permission set for Update access.
(Inherited from PFBaseObject.) | |
PermissionSetUpdateXml |
XML of serialized permission set for Update access.
(Inherited from PFBaseObject.) | |
PrintUrl |
Gets the relative url of the print form of this item.
(Inherited from PFItem.) | |
Reference |
Gets or sets the formatted text used to represent this item.
(Inherited from PFItem.) | |
RemindersCount |
Gets the number of time this task has been reminded to the owner by the PFTaskReminderJob.
| |
ShortCaption |
Gets the short display text representing this item.
(Inherited from PFItem.) | |
Site |
Gets the root of the persisted objects tree.
(Inherited from PFBaseObject.) | |
StartDate |
Gets the start date.
| |
State |
Gets the last persisted display name of the current state.
Uses Workflow_ModelState to access the modeling object.
(Inherited from PFItem.) | |
State_Translated |
Gets the display name of the current state, translation based on current user effective language.
(Inherited from PFItem.) | |
StateId |
Gets the current state in the workflow, corresponding to the modeling State id.
(Inherited from PFItem.) | |
StateInstanceId |
Gets the instance of state in the workflow. This will change every time this item's state changes,
even if the state is the same.
(Inherited from PFItem.) | |
Status |
Gets or sets the status of the last taken transition in the workflow.
(Inherited from PFItem.) | |
Subscriptions |
Gets a relation allowing to access all subscriptions.
(Inherited from PFItem.) | |
TaskActive |
Gets a value indicating whether the task has not been completed or cancelled yet.
| |
TaskStatus |
Change status of this task. Task is enacted (and saved) if the change of status is authorized by standard Task workflow. If changed to "Finished", workflow outbound transition is set and parent workflow item is enacted too. This does not mean that workflow item will move, BUT workflow item will be saved anyway. | |
Title |
Gets or sets the title.
| |
UpdatedAt |
Gets the date of the last update of this object.
(Inherited from PFBaseObject.) | |
UpdatedBy |
Gets the user who last updated this object in the database.
(Inherited from PFBaseObject.) | |
Url |
Gets the relative url of the form of this item.
(Inherited from PFItem.) | |
UserUpdatedAt |
Gets the date of the last update (ignoring system updates) of this object.
(Inherited from PFItem.) | |
UserUpdatedBy |
Gets the user who last updated this object in the database (ignoring system updates).
(Inherited from PFItem.) | |
VersionNumber |
Gets the version number of this object in database. Incremented after each save.
(Inherited from PFBaseObject.) | |
Workflow_CurrentUserTask |
Gets the current user task in the current state instance, if found.
(Inherited from PFItem.) | |
Workflow_InstanceTasks |
Gets the task of the current state instance.
(Inherited from PFItem.) | |
Workflow_ModelState |
Gets the current workflow state.
(Inherited from PFItem.) | |
Workflow_ModelStep |
Gets the current workflow step.
(Inherited from PFItem.) | |
Workflow_Tasks |
Gets all tasks attached to the workflow of this item.
(Inherited from PFItem.) | |
WorkflowContentTypeGuid |
Gets the content-type guid of the workflow item (using this task).
| |
WorkflowContentTypeId |
Gets the content-type id of the workflow item (using this task).
| |
WorkflowItem |
Gets the parent workflow item.
| |
WorkflowItemGuid |
Gets the guid of the workflow item (using this task).
| |
WorkflowItemId |
Gets the id of the workflow item (using this task).
| |
WorkflowOutboundTransition |
Gets the last persisted display name of the chosen transition.
| |
WorkflowOutboundTransitionId |
Gets the transition id of the chosen transition.
| |
WorkflowReference |
Gets the reference of the workflow item (using this task).
| |
WorkflowState |
Gets the last persisted display name of the parent workflow state.
| |
WorkflowStateId |
Gets the current state of the parent workflow.
| |
WorkflowStateInstanceId |
Gets the instance of state of the parent workflow.
|
Name | Description | |
---|---|---|
AddItemRelation(Guid, PFItem) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(Guid, PFItemReference) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(String, PFItem) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(String, PFItemReference) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(ContentRelation, PFItem) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(ContentRelation, PFItemReference) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(String, Guid, PFItem) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(String, Guid, PFItemReference) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(String, String, PFItem) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AddItemRelation(String, String, PFItemReference) |
Adds an item relation from this item to another.
(Inherited from PFItem.) | |
AttachFile(String, Byte, PFFieldFileHolder) |
This will create and persist a file in database and then link it into the fileHolder field value.
You will need to save this item to persist the value in database.
Note : this is different from .Files.Add() that will only create a non-yet-persisted instance of a file.
(Inherited from PFItem.) | |
AttachFile(String, Byte, String) |
This will create and persist a file in database and then link it into the fileHolder field value.
You will need to save this item to persist the value in database.
Note : this is different from .Files.Add() that will only create a non-yet-persisted instance of a file.
(Inherited from PFItem.) | |
AttachPdfFile(PFFile, PFFieldFileHolder) |
This will create and persist a file in database and then link it into the fileHolder field value.
You will need to save this item to persist the value in database.
Note : this is different from .Files.Add() that will only create a non-yet-persisted instance of a file.
(Inherited from PFItem.) | |
AttachPdfFile(PFFile, String) |
This will create and persist a file in database and then link it into the fileHolder field value.
You will need to save this item to persist the value in database.
Note : this is different from .Files.Add() that will only create a non-yet-persisted instance of a file.
(Inherited from PFItem.) | |
BaseSave |
IMPORTANT : will not call overridden Save method!
Saves item to database. Note: use transaction.
If transaction already exists, will not commit it, but may rollback it
if needed (then an exception is thrown).
(Inherited from PFItem.) | |
CanFieldBeModifiedByUser(String) |
Checks if a field control mode is editable in the current context.
(Inherited from PFItem.) | |
CanFieldBeModifiedByUser(PFField) |
Checks if a field control mode is editable in the current context.
(Inherited from PFItem.) | |
ChangeApplicationContext |
Will change the context of this item, of its parts items and of its tasks.
You must have the permission to modify everything.
(Inherited from PFItem.) | |
ChangeTaskDecision |
Changes the chosen decision of a task.
| |
CustomizeDefaultFileNameByTemplate |
Allows to customize default file names proposed to users for each template.
(Inherited from PFItem.) | |
Delete |
Flags this object as deleted.
(Inherited from PFBaseObject.)If it fails, throws an error. If the object could not be deleted because it does not yet exist in database, returns false. If successful, returns true. | |
ExternalConnection_Get |
Gets the external connection having synchronized this item.
(Inherited from PFItem.) | |
ExternalConnection_GetExternalData |
Externals the connection_ get external data.
(Inherited from PFItem.) | |
ExternalConnection_Synchronize |
Synchronizes this item's data properties with its external content.
(Inherited from PFItem.)Note: this does NOT save the item. | |
ExternalConnection_SynchronizeAndSave |
Synchronizes this item's data properties with its external content,
then saves the item if the synchronization changed any value.
(Inherited from PFItem.) | |
ExternalConnection_SynchronizeValidation |
Checks if the item can be synchronized with its external source by the current user.
Called for the method ExternalConnection_Synchronize in the batch action feature.
(Inherited from PFItem.) | |
GenerateHtmlMessage(Int32, String) |
Generates a html message (subject and body) from a modeling message.
(Inherited from PFItem.) | |
GenerateHtmlMessage(String, String) |
Generates a html message (subject and body) from a modeling message.
(Inherited from PFItem.) | |
GenerateHtmlMessage(ContentMessage, String) |
Generates a html message (subject and body) from a modeling message.
(Inherited from PFItem.) | |
GenerateReference | Returns a reference for the current item. Is called by the Save method when the item is not yet created and the reference is empty. | |
GenerateTaskTitle | Used to initialize a task title in the current workflow state. Default : "{Reference} : {State}" | |
GenerateTextMessage(Int32, String) |
Generates a html message (subject and body) from a modeling message.
(Inherited from PFItem.) | |
GenerateTextMessage(String, String) |
Generates a html message (subject and body) from a modeling message.
(Inherited from PFItem.) | |
GenerateTextMessage(ContentMessage, String) |
Generates a html message (subject and body) from a modeling message.
(Inherited from PFItem.) | |
GetConversationTitle |
Defines the title of this item conversation for the specified user.
Returns this item caption by default.
(Inherited from PFItem.) | |
GetFieldControlMode(String) |
Gets the control mode of a field in the current context.
(Inherited from PFItem.) | |
GetFieldControlMode(PFField) |
Gets the control mode of a field in the current context.
(Inherited from PFItem.) | |
GetFieldDisplayValue(String) |
Gets display text (not html) of a field in this item.
(Inherited from PFItem.) | |
GetFieldDisplayValue(PFField) |
Gets display text (not html) of a field in this item.
(Inherited from PFItem.) | |
GetGuid |
Returns a Global Unique Identifier for the target.
(Inherited from PFItem.) | |
GetId |
Returns an id representing the target.
(Inherited from PFItem.) | |
GetItemLocks |
Gets current locks.
(Inherited from PFItem.)Note : will return an empty list if the object is not yet created. | |
GetLocks |
Gets current locks.
(Inherited from PFItem.) | |
GetMessagePlaceHolderHtml |
Gets the html of a message placeholder (in a ContentMessage) in the specified language.
(Inherited from PFItem.) | |
GetMessagePlaceHolderText |
Gets the text of a message placeholder (in a ContentMessage) in the specified language.
(Inherited from PFItem.) | |
GetNewPermissionContext |
Creates a new permission context based on current object type.
(Inherited from PFItem.) | |
GetObjectRelationByName |
Gets a children entities relation by its name.
(Inherited from PFRelationalObject.) | |
GetParts |
Gets items whose current item is the owner item.
(Inherited from PFItem.) | |
GetPartsAndTasksRecursively |
Gets items whose current item is the owner item and recursively.
Will also return tasks of each returned item.
(Inherited from PFItem.) | |
GetPartsRecursively |
Gets items whose current item is the owner item and recursively.
(Inherited from PFItem.) | |
GetRelatedItems(Guid, PFQuery, PFItemRelationDirection, Boolean) |
Gets items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItems(String, PFQuery, PFItemRelationDirection, Boolean) |
Gets items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItems(String, Guid, PFQuery, PFItemRelationDirection, Boolean) |
Gets items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItems(String, String, PFQuery, PFItemRelationDirection, Boolean) |
Gets items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItems(ContentRelation, PFQuery, PFContentType, PFItemRelationDirection, Boolean) |
Gets items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItemsByGroup(Guid, PFQuery, PFItemRelationDirection) |
Gets aggregated items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItemsByGroup(String, PFQuery, PFItemRelationDirection) |
Gets aggregated items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItemsByGroup(String, Guid, PFQuery, PFItemRelationDirection) |
Gets aggregated items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItemsByGroup(String, String, PFQuery, PFItemRelationDirection) |
Gets aggregated items linked inside a relation.
(Inherited from PFItem.) | |
GetRelatedItemsByGroup(ContentRelation, PFQuery, PFContentType, PFItemRelationDirection) |
Gets aggregated items linked inside a relation.
(Inherited from PFItem.) | |
GetShownEventTagsInMessaging |
Returns the values of Tag that should be included when displaying the messaging
UI for this PFItem instance.
(Inherited from PFItem.) | |
GetTasksDueDate |
Computes the due date using modeling settings on current state and taken transition.
(Inherited from PFItem.) | |
HasPendingModificationsOnSynchronizedColumns |
Determines whether at least one synchronized (with the model) data has been modified.
This will always return false for an item not being synchronized with the model.
(Inherited from PFItem.) | |
InheritFromOwnerItemApplicationContext |
Gets the corresponding application context from the owner item and set in this item.
(Inherited from PFItem.) | |
InitializeLogger |
Use this method to override the way the logger is initialized.
(Inherited from PFBaseObject.) | |
IsFieldRequired | Checks if a field is required before any Save of this item. By default, returns True if the field is marked as required or if the transition requires this field, if the transition is specified. Note : will return false for all FileHolder fields before creation. | |
IsUserOwner |
Checks if a user has the owner privilege on this item.
(Inherited from PFItem.) | |
IsVisibleToEveryone |
Override this method if you want to force-open this item's visibility to everyone.
(Inherited from PFItem.) | |
OnAfterCreateNotification |
Raises the [E:BeforeSendingNotification] event.
(Inherited from PFItem.) | |
OnBeforeCreateNotification |
Raises the [E:BeforeSendingNotification] event.
(Inherited from PFItem.) | |
OnFileBinding |
Raises the [E:FileOpened] event.
(Inherited from PFItem.) | |
OnFileDownloaded |
Raises the [E:FileDownloaded] event.
(Inherited from PFItem.) | |
OnFileDownloading |
Raises the [E:FileDownloading] event.
(Inherited from PFItem.) | |
OnInitialized |
Raises the [E:Initialized] event.
(Inherited from PFItem.) | |
PreInitOwnerItem |
Initializes owner item before creation.
(Inherited from PFItem.)This allows the item to have access to the OwnerItem property before its creation and obviously before the relation exists. Important: an exception is thrown if the owner item is invalid or already initialized or if the item is already created in the database. | |
ProcessPermissions |
Compute permissions from permission context and set in data properties.
(Inherited from PFBaseObject.) | |
ReleaseLock |
Releases the lock of a given user, if found.
(Inherited from PFItem.) | |
RemoveItemRelation(Guid, PFItem) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(Guid, PFItemReference) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(String, PFItem) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(String, PFItemReference) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(ContentRelation, PFItem) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(ContentRelation, PFItemReference) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(String, Guid, PFItem) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(String, Guid, PFItemReference) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(String, String, PFItem) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
RemoveItemRelation(String, String, PFItemReference) |
Removes an item relation between this item and another.
(Inherited from PFItem.) | |
ResetOwnerItemCache |
Resets owner item cache, for example if the owner item could have changed.
(Inherited from PFItem.) | |
RunInTransactionArea |
Runs a code with a transaction on object connection.
If there is no current transaction and if the code succeed, transaction is committed.
If an exception is thrown, transaction is rollback.
(Inherited from PFBaseObject.) | |
Save |
Applies the data of this object in the database.
(Overrides PFItemSave.) | |
SaveAsPartOf(String, PFItem, Boolean, Boolean) |
Saves this item and directly link it to an owner item through a relation.
(Inherited from PFItem.) | |
SaveAsPartOf(ContentRelation, PFItem, Boolean, Boolean) |
Saves this item and directly link it to an owner item through a relation.
(Inherited from PFItem.) | |
SaveObjectsInDataCollection |
Saves data loaded from temp specialized object
in data properties collection before save or check hasPendingChanges.
(Inherited from PFItem.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TriggerNotification(String, ListPFUser) |
Triggers a notification based on a name.
(Inherited from PFItem.) | |
TriggerNotification(PFNotificationTriggerType, ListPFUser) |
Triggers a notification type for this item.
(Inherited from PFItem.)IMPORTANT : This method does not support TaskAssigned as a trigger type, use TaskAssignedOnly or TaskReassignedOnly instead. | |
TryGetLock |
Tries to get a lock for a given user.
(Inherited from PFItem.) | |
TryToGetVersionEditedByUser |
The edited version is a backup of the item's data when the user started to edit this item.
This allows to set his changes to the same item version
(Inherited from PFItem.)This method tries to get this item's version, if it exists. | |
UpdateVersionEditedByUser |
The edited version is a backup of the item's data when the user started to edit this item.
This allows to set his changes to the same item version
(Inherited from PFItem.)This method updates that version to the current metadata, it upgrades it. | |
UserHasPrivilege |
Checks if a user has a given privilege on this item.
(Inherited from PFItem.) | |
ValidateRequiredFields |
Checks if all required fields are currently filled.
(Inherited from PFItem.)Will throw a PFMissingItemValuesException if not. Will throw a ValidationException is one or more required fields entry are missing in the data collection. Note : this method is called at the beginning of the Save method. | |
Workflow_Enact | Moves the workflow (if possible). Ensures tasks (if enacted). Saves item to database (in any case). Note: uses transaction. If transaction already exists, will not commit it, but may rollback it if needed (then an exception is thrown). | |
Workflow_Enact(Int32) | Moves the workflow (if possible). Ensures tasks (if enacted). Saves item to database (in any case). Note: uses transaction. If transaction already exists, will not commit it, but may rollback it if needed (then an exception is thrown). | |
Workflow_Enact(State) | Moves the workflow (if possible). Ensures tasks (if enacted). Saves item to database (in any case). Note: uses transaction. If transaction already exists, will not commit it, but may rollback it if needed (then an exception is thrown). | |
Workflow_Enact(Transition) | Moves the workflow (if possible). Ensures tasks (if enacted). Saves item to database (in any case). Note: uses transaction. If transaction already exists, will not commit it, but may rollback it if needed (then an exception is thrown). | |
Workflow_EnsureTasks |
Cancels tasks of previous state instances and ensure tasks for current state instance.
(Inherited from PFItem.) | |
Workflow_GetCurrentTaskForUser |
Gets the task of a given user in the current state instance, if found.
(Inherited from PFItem.)If multiple instance tasks are available for the user, active task (if any) is returned first. | |
Workflow_GetRequiredFieldsForTransition |
Gets the required fields for a given transition.
(Inherited from PFItem.) | |
Workflow_ReassignTask |
Reassigns a specific task of this workflow to another user.
(Inherited from PFItem.) | |
Workflow_ResolveTransitionConflict |
If multiple transitions are possible; the conflict must be resolved.
By default, takes top most transition based on Transition Priority and then on participation count.
(Inherited from PFItem.) |
Name | Description | |
---|---|---|
AfterCreate |
Occurs after an item has been created in database.
(Inherited from PFItem.) | |
AfterCreateFile |
Occurs after a file has been created on this item.
(Inherited from PFItem.) | |
AfterCreateNotification |
Occurs after a user notification whose related object is this item was created.
(Inherited from PFItem.) | |
AfterDelete |
Occurs after an item has been deleted.
(Inherited from PFItem.) | |
AfterDeleteFile |
Occurs after a file of this item has been deleted.
(Inherited from PFItem.) | |
AfterSave |
Occurs when an item has been updated or created in database.
(Inherited from PFItem.) | |
AfterUpdate |
Occurs after an item has been updated in database.
(Inherited from PFItem.) | |
AfterUpdateFile |
Occurs after a file of this item has been updated.
(Inherited from PFItem.) | |
BeforeCreate |
Occurs when an item is being persisted for the first time in database.
(Inherited from PFItem.) | |
BeforeCreateFile |
Occurs when a file is being created on this item.
(Inherited from PFItem.) | |
BeforeCreateNotification |
Occurs before a user notification whose related object is this item is created.
(Inherited from PFItem.) | |
BeforeDelete |
Occurs when an item is being deleted.
(Inherited from PFItem.) | |
BeforeDeleteFile |
Occurs when a file of this item is being deleted.
(Inherited from PFItem.) | |
BeforeSave |
Occurs when an item is being updated or created in database.
(Inherited from PFItem.) | |
BeforeSendingNotification |
Occurs before a modeled notification is sent.
(Inherited from PFItem.) | |
BeforeUpdate |
Occurs when an item is being updated in database.
(Inherited from PFItem.) | |
BeforeUpdateFile |
Occurs when a file of this item is being updated.
(Inherited from PFItem.) | |
CommentAdded |
Occurs after a PFItemComment has been added on the item.
(Inherited from PFItem.) | |
EventAdded |
Occurs after a PFItemEvent has been added on the item.
(Inherited from PFItem.) | |
FileBinding |
Occurs when a file of this item is about to be bound via WordForm or Quickparts.
(Inherited from PFItem.) | |
FileConfirmed |
Occurs when a file has been confirmed on this item.
A file is confirmed when, after its upload, the parent item is saved with a reference to the file
in the FileHolder value.
(Inherited from PFItem.) | |
FileDownloaded |
Occurs when a file of this item has been downloaded.
Engine triggers this event on an async task. Do not use non-thread safe objects.
(Packflow types inheriting PFBaseObject are thread-safe in this case)
Codes triggering this event does not depend on HttpContext or other web context object.
When triggered, there is no warranty the download is finished or succeeded.
(Inherited from PFItem.) | |
FileDownloading |
Occurs when a file of this item has been downloaded.
(Inherited from PFItem.) | |
FileOpened |
Occurs when a file of this item has been opened for modification (Office or KeePass application).
(Inherited from PFItem.) | |
StateChanged |
Occurs after the call to Save() during enactment
when the SQL transaction made to move the workflow is committed.
(Inherited from PFItem.) | |
StateChanging |
Occurs when the state has been changed in this item instance, but the save has not been called yet.
(Inherited from PFItem.) | |
StatusUpdated |
Occurs when the task status has been updated.
| |
StatusUpdating |
Occurs when the task status is being updated.
|
Name | Description | |
---|---|---|
FieldName_ActorType |
Column name in database.
| |
FieldName_AssignedTo |
Column name in database.
| |
FieldName_DateLastReminder |
Column name in database.
| |
FieldName_DueDate |
Column name in database.
| |
FieldName_DueStartDate |
Column name in database.
| |
FieldName_EndDate |
Column name in database.
| |
FieldName_RemindersCount |
Column name in database.
| |
FieldName_StartDate |
Column name in database.
| |
FieldName_Title |
Column name in database.
| |
FieldName_WorkflowContentTypeGuid |
Column name in database.
| |
FieldName_WorkflowContentTypeId |
Column name in database.
| |
FieldName_WorkflowItemId |
Column name in database.
| |
FieldName_WorkflowOutboundTransition |
Column name in database.
| |
FieldName_WorkflowOutboundTransitionId |
Column name in database.
| |
FieldName_WorkflowReference |
Column name in database.
| |
FieldName_WorkflowState |
Column name in database.
| |
FieldName_WorkflowStateId |
Column name in database.
| |
FieldName_WorkflowStateInstanceId |
Column name in database.
|
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetReference | Overloaded.
Gets a object referencing the item.
(Defined by PFItemExtensions.) | |
GetReference(String) | Overloaded.
Gets a object referencing the item.
The Text of the reference will be the value of the specified field.
(Defined by PFItemExtensions.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |