Click or drag to resize

PFItem Class

Represents the POCO of a Packflow.Core.PFItem.
Inheritance Hierarchy

Namespace:  Packflow.Core.Poco
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
[DataContractAttribute]
public abstract class PFItem : PFObject<PFItem>

The PFItem type exposes the following members.

Constructors
  NameDescription
Public methodPFItem
Initializes a new instance of the Poco.PFItem class.
Top
Properties
  NameDescription
Public propertyApplicationContextId

Gets the id of the current application context of this item.

Public propertyApplicationContextName
Gets the name of the current application context of this item.
Public propertyCreatedAt
Gets the date of creation of this object in the database.
(Inherited from PFObject.)
Public propertyCreatedBy
Gets the user who created this object in the database.
(Inherited from PFObject.)
Public propertyGuid
Gets the GUID identifying this object.
(Inherited from PFObject.)
Public propertyId
Gets the id identifying this object.
(Inherited from PFObject.)
Public propertyIgnoreVersionConflicts
Gets or sets a value indicating whether version conflicts should be ignored when updating a packflow object from this poco. Note : this value is not persisted nor serialiazed. Therefore this only affects the current instance.
(Inherited from PFObject.)
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 propertyObjectReference
Gets the reference to the corresponding object persisted in Packflow.
(Inherited from PFObject.)
Public propertyParentApplicationId

Gets the id of the parent application.

Public propertyParentContentTypeId

Gets the id of the parent content-type.

Public propertyReference
Gets or sets the formatted text used to represent this item.
Public propertyState
Gets the last persisted display name of the current state.
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 propertyUpdatedAt
Gets the date of the last update of this object.
(Inherited from PFObject.)
Public propertyUpdatedBy
Gets the user who last updated this object in the database.
(Inherited from PFObject.)
Public propertyVersionNumber
Gets the version number of this object in database. Incremented after each save.
(Inherited from PFObject.)
Top
Methods
  NameDescription
Public methodStatic memberConvertPocoChoiceValueToCoreChoiceValue
Converts a poco choice value to a choice value.
Public methodStatic memberConvertPocoFHValueToCoreFHValue
Converts a poco file holder value to a file holder value.
Public methodStatic memberConvertPocoUserValueToCoreUserValue
Converts a poco user value to a user value.
Public methodGetPackflowObject
Gets the object corresponding to this POCO in a given Packflow site.
(Inherited from PFObjectPackflowType.)
Protected methodGetValueBinary
Gets a value in byte[] format. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueBoolean
Gets a value in bool format. Will return false if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueDateTimeOffset
Gets a value in DateTimeOffset format. Will return DateTimeOffset.MinValue if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueDecimal
Gets a value in decimal format. Will return 0 if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueDouble
Gets a value in double format. Will return 0 if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueEnumT
Gets a value and converts it to an enum value. Will return default(T) if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueFiles
Gets a file value. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueFloat
Gets a value in float format. Will return 0 if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueGuid
Gets a value in Guid format. Will return Guid.Empty if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueInt
Gets a value in int format. Will return 0 if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueItems
Gets an item value. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueLong
Gets a value in long format. Will return 0 if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueNullableBoolean
Gets a value in bool format. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueNullableDateTimeOffset
Gets a value in DateTimeOffset format. Will return null if the value does not exist, is null, or is equal to DateTimeOffset.MinValue.
(Inherited from PFObject.)
Protected methodGetValueNullableDecimal
Gets a value in decimal format. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueObjectT
Gets a value of a given type. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueText
Gets a value as text. Will return String.Empty if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueUrl
Gets an url value. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Protected methodGetValueUsers
Gets a user value. Will return null if the value does not exist or is null.
(Inherited from PFObject.)
Public methodLoadFromPackflowObject
Loads the value of a data collection in this POCO.
(Overrides PFObjectPackflowTypeLoadFromPackflowObject(PackflowType).)
Protected methodSetValue
Sets a value in the data dictionary for a given key.
(Inherited from PFObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdatePackflowObject
Updates the data collection of the corresponding Packflow object with the data of this POCO.
(Overrides PFObjectPackflowTypeUpdatePackflowObject(PackflowType).)
Protected methodValidate
Validates the specified value against XSS injection.
(Inherited from PFObjectPackflowType.)
Top
Extension Methods
  NameDescription
Public Extension MethodAsT
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.)
Public Extension MethodEqualsAll
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.)
Public Extension MethodEqualsAny
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.)
Public Extension MethodGetString
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.)
Public Extension MethodIsGenericListOverloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.)
Public Extension MethodIsGenericList(Type)Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.)
Public Extension MethodSerializeOverloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerialize(String)Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.)
Public Extension MethodSerializeJsonOverloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(ListType)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(DataContractJsonSerializerSettings)Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Top
See Also