Click or drag to resize

PFApplicationService<PackflowApplicationType> Methods

The PFApplicationService<PackflowApplicationType> generic type exposes the following members.

Methods
  NameDescription
Protected methodAddFile(String, String, PFUploadRequest)
Adds a new (unconfirmed) file in an item field.
Protected methodAddFile(String, Int64, String, String,Byte[])
Adds a new (unconfirmed) file in an item field.
Protected methodAddItem<PocoItemType>(String)
Creates an item (not persisted) for a given content-type.
Protected methodAddItem<PocoItemType>(String, Int64)
Creates an item (not persisted) for a given content-type.
Protected methodAddItem<PocoItemType>(String, String)
Creates an item (not persisted) for a given content-type.
Protected methodAddItemComment
Adds a new comment in an item.
Protected methodAddItemEvent
Adds a new event in an item.
Protected methodAddItemRelation(String, Int64, String, PFItem)
Creates an item relation between two items.
Protected methodAddItemRelation(String, Int64, String, Int64)
Creates an item relation between two items.
Protected methodAddItemRelation(String, Int64, String, PFItem, PFItemRelationDirection)
Creates an item relation between two items. Note: set the direation to "To" to invert source and target.
Protected methodAddItemRelation(String, Int64, String, Int64, PFItemRelationDirection)
Creates an item relation between two items. Note: set the direation to "To" to invert source and target.
Protected methodAddOrUpdateFile
Adds a new (unconfirmed) file in an item field. BUT if the file (name) already exists in the field, its content is directly updated (no need for a confirmation).
Protected methodAttachFile<PocoItemType>(String, String, PFUploadRequest)
Attach a new file in an item field and saves the item.
Protected methodAttachFile<PocoItemType>(String, Int64, String, String,Byte[])
Attach a new file in an item field and saves the item.
Protected methodCreateItem<PocoItemType>(String)
Creates an item (persisted) for a given content-type.
Protected methodCreateItem<PocoItemType>(String, Int64)
Creates an item (persisted) for a given content-type.
Protected methodCreateItem<PocoItemType>(String, String)
Creates an item (persisted) for a given content-type.
Protected methodCreateItem<PocoItemType>(String, Int64, DateTimeOffset, PFPrincipalValueReference)
Creates an item (persisted) for a given content-type, with forced creation info.
Protected methodCreateItem<PocoItemType>(String, Int64, String, Int64)
Creates an item (persisted) for a given content-type, with an owner item.
Protected methodCreateItem<PocoItemType>(String, String, DateTimeOffset, PFPrincipalValueReference)
Creates an item (persisted) for a given content-type, with forced creation info.
Protected methodCreateItem<PocoItemType>(String, String, String, Int64)
Creates an item (persisted) for a given content-type, with an owner item.
Protected methodCreateItem<PocoItemType>(String, Int64, DateTimeOffset, PFPrincipalValueReference, String, Int64)
Creates an item (persisted) for a given content-type, with an owner item and forced creation info.
Protected methodCreateItem<PocoItemType>(String, String, DateTimeOffset, PFPrincipalValueReference, String, Int64)
Creates an item (persisted) for a given content-type, with an owner item and forced creation info.
Protected methodDeleteItem(String, PFItem)
Deletes an item in a given content-type.
Protected methodDeleteItem(String, Int64)
Deletes an item in a given content-type.
Protected methodDeleteItems(String, List<Int64>)
Deletes multiple items in a given content-type.
Protected methodDeleteItems<PocoItemType>(String, List<PocoItemType>)
Deletes multiple items in a given content-type.
Public methodDispose
Disposes the used PFSite, if any.
Protected methodEnactItem<PocoItemType>
Protected methodExecuteOperation
Executes an service operation, providing a Packflow site, step object and exception handling.
(Inherited from PFService.)
Protected methodGetAllItems<PocoItemType>
Gets all items of a given content-type.
Protected methodGetContentType
Gets an application content-type by its name.
Protected methodGetContentTypeInfo<PackflowContentTypeType>
Gets an application content-type information.
Protected methodGetFileContent
Gets a file's content.
Protected methodGetFileInfo
Gets a file's information.
Protected methodGetFilesInfo(String, Int64)
Gets a information of all files of an item.
Protected methodGetFilesInfo(String, Int64, String)
Gets a information of all files of an item's field.
Protected methodGetFileStream
Gets a file's content.
Protected methodGetItemByGuid<PocoItemType>
Gets an item of a given content-type by its guid.
Protected methodGetItemById<PocoItemType>
Gets an item of a given content-type by its id.
Protected methodGetItemByReference<PocoItemType>
Gets an item of a given content-type by its reference.
Protected methodGetItemComments
Gets all comments of an item.
Protected methodGetItemEvents
Gets all events of an item.
Protected methodGetItemsByFieldValue<PocoItemType>
Gets items of a given content-type using a filter.
Protected methodGetItemsByFieldValue2<PocoItemType>
Gets items of a given content-type using a filter.
Protected methodGetItemsByGroup
Gets grouped objects from a given content-type using a PFQuery.
Protected methodGetItemsByGuid<PocoItemType>
Gets items of a given content-type by their guids.
Protected methodGetItemsById<PocoItemType>
Gets items of a given content-type by their ids.
Protected methodGetItemsByQuery<PocoItemType>
Gets items of a given content-type using a PFQuery.
Public methodStatic memberGetKnownTypes
Gets the known types from a class attribute.
Protected methodGetRelatedItems(String, Int64, String)
Gets items related to an item through a given relation.
Protected methodGetRelatedItems(String, Int64, String, PFItemRelationDirection)
Gets items related to an item through a given relation.
Protected methodGetRelatedItems<PocoItemType>(String, Int64, String)
Gets items related to an item through a given relation.
Protected methodGetRelatedItems<PocoItemType>(String, Int64, String, PFItemRelationDirection)
Gets items related to an item through a given relation.
Protected methodGetRelatedItemsByGroup(String, Int64, String, PFQuery)
Gets grouped items related to an item through a given relation, using a query.
Protected methodGetRelatedItemsByGroup(String, Int64, String, PFQuery, PFItemRelationDirection)
Gets grouped items related to an item through a given relation, using a query.
Protected methodGetRelatedItemsByQuery(String, Int64, String, PFQuery)
Gets items related to an item through a given relation, using a query.
Protected methodGetRelatedItemsByQuery<PocoItemType>(String, Int64, String, PFQuery)
Gets items related to an item through a given relation, using a query.
Protected methodGetRelatedItemsByQuery<PocoItemType>(String, Int64, String, PFQuery, PFItemRelationDirection)
Gets items related to an item through a given relation, using a query.
Protected methodGetSite
Gets the current Packflow site.
(Inherited from PFService.)
Protected methodGetUploadProgress
Gets the upload progress (read bytes/total bytes).
Protected methodHandleException
Handles an exception for an operation, tries to log and rethrow.
(Inherited from PFService.)
Protected methodHandleFileItemBinding
Handles the binding of word files to their source item, according to the PFFile's settings. May trigger the FileBinding event
Protected methodRemoveItemRelation(String, Int64, String, PFItem)
Removes an item relation between two items.
Protected methodRemoveItemRelation(String, Int64, String, Int64)
Removes an item relation between two items.
Protected methodSaveItem<PocoItemType>
Saves an item in a given content-type.
Protected methodSaveItems<PocoItemType>
Saves multiple items in a given content-type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAs<T>
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 MethodIsGenericList()Overloaded.
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 MethodSerialize()Overloaded.
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 MethodSerializeJson()Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.)
Public Extension MethodSerializeJson(List<Type>)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