Click or drag to resize

PFObjectPackflowType Class

Represents an object used as a POCO for a object persisted in Packflow.
Inheritance Hierarchy
SystemObject
  Packflow.Core.PocoPFObject
    Packflow.Core.PocoPFObjectPackflowType
      More...

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 PFObject<PackflowType> : PFObject
where PackflowType : PFBaseObject

Type Parameters

PackflowType

The PFObjectPackflowType type exposes the following members.

Constructors
Properties
  NameDescription
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 propertyObjectReference
Gets the reference to the corresponding object persisted in Packflow.
(Inherited from PFObject.)
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.
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.
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 methodStatic memberTransformValueForPoco
Transforms a value (obtained from a Packflow object) so it can be stored in this POCO.
Public methodUpdatePackflowObject
Updates the data collection of the corresponding Packflow object with the data of this POCO.
Protected methodValidate
Validates the specified value against XSS injection.
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
Inheritance Hierarchy
SystemObject
  Packflow.Core.PocoPFObject
    Packflow.Core.PocoPFObjectPackflowType
      Packflow.Core.PocoPFApplication
      Packflow.Core.PocoPFApplicationContext
      Packflow.Core.PocoPFContentType
      Packflow.Core.PocoPFDashboard
      Packflow.Core.PocoPFField
      Packflow.Core.PocoPFFile
      Packflow.Core.PocoPFGroup
      Packflow.Core.PocoPFItem
      Packflow.Core.PocoPFItemComment
      Packflow.Core.PocoPFItemEvent
      Packflow.Core.PocoPFItemSubscription
      Packflow.Core.PocoPFSite
      Packflow.Core.PocoPFUser
      Packflow.Core.PocoPFUserNotification