Click or drag to resize

PFItemPackflowType Class

Represents the POCO of a Packflow.Core.PFItem.
Inheritance Hierarchy
SystemObject
  Packflow.Core.PocoPFObject
    Packflow.Core.PocoPFObjectPFItem
      Packflow.Core.PocoPFItem
        Packflow.Core.PocoPFItemPackflowType

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 class PFItem<PackflowType> : PFItem
where PackflowType : PFItem

Type Parameters

PackflowType

The PFItemPackflowType type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyApplicationContextId

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

(Inherited from PFItem.)
Public propertyApplicationContextName
Gets the name of the current application context of this item.
(Inherited from PFItem.)
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.
(Inherited from PFItem.)
Public propertyInboundTransitionId
Gets the id of the last transition taken in the workflow, corresponding to the modeling Transition id.
(Inherited from PFItem.)
Public propertyObjectReference
Gets the reference to the corresponding object persisted in Packflow.
(Inherited from PFObject.)
Public propertyParentApplicationId

Gets the id of the parent application.

(Inherited from PFItem.)
Public propertyParentContentTypeId

Gets the id of the parent content-type.

(Inherited from PFItem.)
Public propertyReference
Gets or sets the formatted text used to represent this item.
(Inherited from PFItem.)
Public propertyState
Gets the last persisted display name of the current state.
(Inherited from PFItem.)
Public propertyStateId
Gets the current state in the workflow, corresponding to the modeling State id.
(Inherited from PFItem.)
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.
(Inherited from PFItem.)
Public propertyStatus
Gets or sets the status of the last taken transition in the workflow.
(Inherited from PFItem.)
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 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(PackflowType)
Loads the value of a data collection in this POCO.
Public methodLoadFromPackflowObject(PFItem)
Loads the value of a data collection in this POCO.
(Inherited from PFItem.)
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(PackflowType)
Updates the data collection of the corresponding Packflow object with the data of this POCO.
Public methodUpdatePackflowObject(PFItem)
Updates the data collection of the corresponding Packflow object with the data of this POCO.
(Inherited from PFItem.)
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