PFItem Properties |
The PFItem type exposes the following members.
Name | Description | |
---|---|---|
AbsolutePrintUrl |
Gets the absolute url of the print form of this item.
| |
AbsoluteUrl |
Gets the absolute url of the form of this item.
| |
ApplicationContext |
Gets the current application context of this item, if not yet assigned,
will assign and return first found context on the parent application.
| |
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.
| |
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.
| |
Comments |
Gets a relation allowing to access all comments.
| |
CommentsEnabled |
Gets a value indicating whether comments are enabled.
| |
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.
| |
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.
Important : this flag will only concern the current INSTANCE of this object. | |
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.
(Overrides PFBaseObjectEnableVersionMergeToResolveSaveConflicts.) | |
Events |
Gets a relation allowing to access all significant events that occurred during the life of this item.
| |
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.
| |
Files |
Gets a relation allowing to access all files attached to this item using a PFFileHolderField.
| |
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.) | |
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.
| |
InboundTransitionId |
Gets the id of the last transition taken in the workflow, corresponding to the modeling Transition id.
| |
IsSynchronizedWithAnExternalSource |
Gets a value indicating whether this instance is synchronized with an external source.
| |
KeepBeforeSaveValues |
Gets or sets a value indicating whether
the Save should keep a collection of the modified fields previous values.
(Overrides PFBaseObjectKeepBeforeSaveValues.)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).
| |
ModelItemGuid |
If this item is linked to or synchronized with a modeled item,
this will contain the Guid of that ContentItem.
| |
OwnerItem |
Gets the owner item of this item. Based on the item relation with the correct ownership.
| |
ParentApplication |
Gets the parent application of this item.
| |
ParentContentType |
Gets the parent content-type of this item.
| |
PermissionContext |
Gets an object calculating permissions on demand.
| |
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.
| |
Reference |
Gets or sets the formatted text used to represent this item.
| |
ShortCaption |
Gets the short display text representing this item.
| |
Site |
Gets the root of the persisted objects tree.
(Inherited from PFBaseObject.) | |
SkipChoiceMonoMultiValueCheck |
Gets or sets a value indicating whether items' Save must check if choice entries
do not contain more than one value if the relation is restricted to mono value.
| |
SkipRequiredFieldsValidation |
Gets or sets a value indicating whether items of the local/current thread
should not check required fields upon Save (this includes Save called in workflow enactment).
| |
State |
Gets the last persisted display name of the current state.
Uses Workflow_ModelState to access the modeling object.
| |
State_Translated |
Gets the display name of the current state, translation based on current user effective language.
| |
StateId |
Gets the current state in the workflow, corresponding to the modeling State id.
| |
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.
| |
Status |
Gets or sets the status of the last taken transition in the workflow.
| |
Subscriptions |
Gets a relation allowing to access all subscriptions.
| |
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.
| |
UserUpdatedAt |
Gets the date of the last update (ignoring system updates) of this object.
| |
UserUpdatedBy |
Gets the user who last updated this object in the database (ignoring system updates).
| |
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.
| |
Workflow_InstanceTasks |
Gets the task of the current state instance.
| |
Workflow_ModelState |
Gets the current workflow state.
| |
Workflow_ModelStep |
Gets the current workflow step.
| |
Workflow_Tasks |
Gets all tasks attached to the workflow of this item.
|