Click or drag to resize

PFItem Properties

The PFItem type exposes the following members.

Properties
  NameDescription
Public propertyAbsolutePrintUrl
Gets the absolute url of the print form of this item.
Public propertyAbsoluteUrl
Gets the absolute url of the form of this item.
Public propertyApplicationContext
Gets the current application context of this item, if not yet assigned, will assign and return first found context on the parent application.
Public propertyApplicationContextId

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.
Public propertyApplicationContextName
Gets the name of the current application context of this item.
Public propertyBeforeSaveValues
Gets the previous values of modified fields before the latest Save.

Note: this feature is NOT persisted in the database and therefore only concerns this instance.

(Inherited from PFBaseObject.)
Public propertyCanDelete
Checks if the current permission context allows current user to delete this object.
(Inherited from PFBaseObject.)
Public propertyCanRead
Checks if the current permission context allows current user to access this object.
(Inherited from PFBaseObject.)
Public propertyCanUpdate
Checks if the current permission context allows current user to update this object.
(Inherited from PFBaseObject.)
Public propertyCaption
Gets the display text representing this item.
Public propertyComments
Gets a relation allowing to access all comments.
Public propertyCommentsEnabled
Gets a value indicating whether comments are enabled.
Public propertyCreated
Indicates if this object has been created and is still in database (positive Id).
(Inherited from PFBaseObject.)
Public propertyCreatedAt
Gets the date of creation of this object in the database.
(Inherited from PFBaseObject.)
Public propertyCreatedBy
Gets the user who created this object in the database.
(Inherited from PFBaseObject.)
Public propertyData
Gets the metadata of this item.
Public propertyDateObjectCreation
Gets the date of the creation of this object in memory.
(Inherited from PFManagedObject.)
Public propertyDeleted
True if this object is flagged as deleted.
(Inherited from PFBaseObject.)
Public propertyDeletedAt
Date of the suppression of this object.
(Inherited from PFBaseObject.)
Public propertyDeletedBy
The user who deleted this object.
(Inherited from PFBaseObject.)
Public propertyDisableNotificationsTemporarily
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.

Public propertyEnableVersionMergeToResolveSaveConflicts
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.)
Public propertyEvents
Gets a relation allowing to access all significant events that occurred during the life of this item.
Public propertyExists
Indicates if this object has been created, still exists in database and is not flagged for suppression.
(Inherited from PFBaseObject.)
Public propertyExternalConnectionId
Gets or sets the id of the PFExternalConnection having created and synchronized this item. If not synchronized, this value is 0 or less.
Public propertyFiles
Gets a relation allowing to access all files attached to this item using a PFFileHolderField.
Public propertyGuid
Gets the GUID identifying this object. Must be used if Id is no more viable, example if content were merged.
(Inherited from PFBaseObject.)
Public propertyHasPendingModifications
Checks if there is pending changes. Will check if the values are different from the currently persisted values.
(Inherited from PFBaseObject.)
Public propertyHasPendingPermissionsModifications
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.)
Public propertyId
Gets the id identifying this object. Must be used to find or identify an object because faster than Guid.
(Inherited from PFBaseObject.)
Public propertyInboundTransition
Gets the last persisted display name of the last taken transition.
Public propertyInboundTransitionId
Gets the id of the last transition taken in the workflow, corresponding to the modeling Transition id.
Public propertyIsSynchronizedWithAnExternalSource
Gets a value indicating whether this instance is synchronized with an external source.
Public propertyKeepBeforeSaveValues
Gets or sets a value indicating whether the Save should keep a collection of the modified fields previous values.

Note: this feature is NOT persisted in the database and therefore only concerns this instance.

(Overrides PFBaseObjectKeepBeforeSaveValues.)
Public propertyLogger
Gets the logger, used to log any useful warning, error or information in the database.
(Inherited from PFManagedObject.)
Public propertyLogIdentification
Gets a technical text representing this object.
(Inherited from PFBaseObject.)
Public propertyModelItem
If this item is linked to or synchronized with a modeled item, this will contain the ContentItem (from the model).
Public propertyModelItemGuid
If this item is linked to or synchronized with a modeled item, this will contain the Guid of that ContentItem.
Public propertyOwnerItem
Gets the owner item of this item. Based on the item relation with the correct ownership.
Public propertyParentApplication
Gets the parent application of this item.
Public propertyParentContentType
Gets the parent content-type of this item.
Public propertyPermissionContext
Gets an object calculating permissions on demand.
Public propertyPermissions
Gets the permission set (RUD permissions) of this item.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetDeleteId
Id of the permission set for Delete access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetDeleteXml
XML of serialized permission set for Delete access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetReadId
Id of the permission set for Read access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetReadXml
XML of serialized permission set for Read access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetUpdateId
Id of the permission set for Update access.
(Inherited from PFBaseObject.)
Protected propertyPermissionSetUpdateXml
XML of serialized permission set for Update access.
(Inherited from PFBaseObject.)
Public propertyPrintUrl
Gets the relative url of the print form of this item.
Public propertyReference
Gets or sets the formatted text used to represent this item.
Public propertyShortCaption
Gets the short display text representing this item.
Public propertySite
Gets the root of the persisted objects tree.
(Inherited from PFBaseObject.)
Public propertyStatic memberSkipChoiceMonoMultiValueCheck
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.
Public propertyStatic memberSkipRequiredFieldsValidation
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).
Public propertyState
Gets the last persisted display name of the current state. Uses Workflow_ModelState to access the modeling object.
Public propertyState_Translated
Gets the display name of the current state, translation based on current user effective language.
Public propertyStateId
Gets the current state in the workflow, corresponding to the modeling State id.
Public propertyStateInstanceId
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.
Public propertyStatus
Gets or sets the status of the last taken transition in the workflow.
Public propertySubscriptions
Gets a relation allowing to access all subscriptions.
Public propertyUpdatedAt
Gets the date of the last update of this object.
(Inherited from PFBaseObject.)
Public propertyUpdatedBy
Gets the user who last updated this object in the database.
(Inherited from PFBaseObject.)
Public propertyUrl
Gets the relative url of the form of this item.
Public propertyUserUpdatedAt
Gets the date of the last update (ignoring system updates) of this object.
Public propertyUserUpdatedBy
Gets the user who last updated this object in the database (ignoring system updates).
Public propertyVersionNumber
Gets the version number of this object in database. Incremented after each save.
(Inherited from PFBaseObject.)
Public propertyWorkflow_CurrentUserTask
Gets the current user task in the current state instance, if found.
Public propertyWorkflow_InstanceTasks
Gets the task of the current state instance.
Public propertyWorkflow_ModelState
Gets the current workflow state.
Public propertyWorkflow_ModelStep
Gets the current workflow step.
Public propertyWorkflow_Tasks
Gets all tasks attached to the workflow of this item.
Top
See Also