PFApplicationServicePackflowApplicationType Class |
Namespace: Packflow.Interface.Services
public abstract class PFApplicationService<PackflowApplicationType> : PFService, IDisposable where PackflowApplicationType : PFApplication
The PFApplicationServicePackflowApplicationType type exposes the following members.
Name | Description | |
---|---|---|
PFApplicationServicePackflowApplicationType |
Initializes a new instance of the PFApplicationService class.
| |
PFApplicationServicePackflowApplicationType(HubCallerContext, PackflowApplicationType) |
Initializes a new instance of the PFApplicationService class.
|
Name | Description | |
---|---|---|
Application |
Gets the current application.
| |
ApplicationName |
Gets the current application name.
| |
SessionKey |
Gets the session key (from request parameters).
(Inherited from PFService.) | |
WCF |
Gets or sets a value indicating whether this class instance is directly used for WCF calls
or for an intermediary like REST or SignalR.
|
Name | Description | |
---|---|---|
AddFile(String, String, PFUploadRequest) |
Adds a new (unconfirmed) file in an item field.
| |
AddFile(String, Int64, String, String, Byte) |
Adds a new (unconfirmed) file in an item field.
| |
AddItemPocoItemType(String) |
Creates an item (not persisted) for a given content-type.
| |
AddItemPocoItemType(String, Int64) |
Creates an item (not persisted) for a given content-type.
| |
AddItemPocoItemType(String, String) |
Creates an item (not persisted) for a given content-type.
| |
AddItemComment |
Adds a new comment in an item.
| |
AddItemEvent |
Adds a new event in an item.
| |
AddItemRelation(String, Int64, String, PFItem) |
Creates an item relation between two items.
| |
AddItemRelation(String, Int64, String, Int64) |
Creates an item relation between two items.
| |
AddItemRelation(String, Int64, String, PFItem, PFItemRelationDirection) |
Creates an item relation between two items.
Note: set the direation to "To" to invert source and target.
| |
AddItemRelation(String, Int64, String, Int64, PFItemRelationDirection) |
Creates an item relation between two items.
Note: set the direation to "To" to invert source and target.
| |
AddOrUpdateFile |
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).
| |
AttachFilePocoItemType(String, String, PFUploadRequest) |
Attach a new file in an item field and saves the item.
| |
AttachFilePocoItemType(String, Int64, String, String, Byte) |
Attach a new file in an item field and saves the item.
| |
CreateItemPocoItemType(String) |
Creates an item (persisted) for a given content-type.
| |
CreateItemPocoItemType(String, Int64) |
Creates an item (persisted) for a given content-type.
| |
CreateItemPocoItemType(String, String) |
Creates an item (persisted) for a given content-type.
| |
CreateItemPocoItemType(String, Int64, DateTimeOffset, PFPrincipalValueReference) |
Creates an item (persisted) for a given content-type, with forced creation info.
| |
CreateItemPocoItemType(String, Int64, String, Int64) |
Creates an item (persisted) for a given content-type, with an owner item.
| |
CreateItemPocoItemType(String, String, DateTimeOffset, PFPrincipalValueReference) |
Creates an item (persisted) for a given content-type, with forced creation info.
| |
CreateItemPocoItemType(String, String, String, Int64) |
Creates an item (persisted) for a given content-type, with an owner item.
| |
CreateItemPocoItemType(String, Int64, DateTimeOffset, PFPrincipalValueReference, String, Int64) |
Creates an item (persisted) for a given content-type, with an owner item and forced creation info.
| |
CreateItemPocoItemType(String, String, DateTimeOffset, PFPrincipalValueReference, String, Int64) |
Creates an item (persisted) for a given content-type, with an owner item and forced creation info.
| |
DeleteItem(String, PFItem) |
Deletes an item in a given content-type.
| |
DeleteItem(String, Int64) |
Deletes an item in a given content-type.
| |
DeleteItems(String, ListInt64) |
Deletes multiple items in a given content-type.
| |
DeleteItemsPocoItemType(String, ListPocoItemType) |
Deletes multiple items in a given content-type.
| |
Dispose |
Disposes the used PFSite, if any.
| |
EnactItemPocoItemType | ||
ExecuteOperation |
Executes an service operation, providing a Packflow site, step object and exception handling.
(Inherited from PFService.) | |
GetAllItemsPocoItemType |
Gets all items of a given content-type.
| |
GetContentType |
Gets an application content-type by its name.
| |
GetContentTypeInfoPackflowContentTypeType |
Gets an application content-type information.
| |
GetFileContent |
Gets a file's content.
| |
GetFileInfo |
Gets a file's information.
| |
GetFilesInfo(String, Int64) |
Gets a information of all files of an item.
| |
GetFilesInfo(String, Int64, String) |
Gets a information of all files of an item's field.
| |
GetFileStream |
Gets a file's content.
| |
GetItemByGuidPocoItemType |
Gets an item of a given content-type by its guid.
| |
GetItemByIdPocoItemType |
Gets an item of a given content-type by its id.
| |
GetItemByReferencePocoItemType |
Gets an item of a given content-type by its reference.
| |
GetItemComments |
Gets all comments of an item.
| |
GetItemEvents |
Gets all events of an item.
| |
GetItemsByFieldValuePocoItemType |
Gets items of a given content-type using a filter.
| |
GetItemsByFieldValue2PocoItemType |
Gets items of a given content-type using a filter.
| |
GetItemsByGroup |
Gets grouped objects from a given content-type using a PFQuery.
| |
GetItemsByGuidPocoItemType |
Gets items of a given content-type by their guids.
| |
GetItemsByIdPocoItemType |
Gets items of a given content-type by their ids.
| |
GetItemsByQueryPocoItemType |
Gets items of a given content-type using a PFQuery.
| |
GetKnownTypes |
Gets the known types from a class attribute.
| |
GetRelatedItems(String, Int64, String) |
Gets items related to an item through a given relation.
| |
GetRelatedItems(String, Int64, String, PFItemRelationDirection) |
Gets items related to an item through a given relation.
| |
GetRelatedItemsPocoItemType(String, Int64, String) |
Gets items related to an item through a given relation.
| |
GetRelatedItemsPocoItemType(String, Int64, String, PFItemRelationDirection) |
Gets items related to an item through a given relation.
| |
GetRelatedItemsByGroup(String, Int64, String, PFQuery) |
Gets grouped items related to an item through a given relation, using a query.
| |
GetRelatedItemsByGroup(String, Int64, String, PFQuery, PFItemRelationDirection) |
Gets grouped items related to an item through a given relation, using a query.
| |
GetRelatedItemsByQuery(String, Int64, String, PFQuery) |
Gets items related to an item through a given relation, using a query.
| |
GetRelatedItemsByQueryPocoItemType(String, Int64, String, PFQuery) |
Gets items related to an item through a given relation, using a query.
| |
GetRelatedItemsByQueryPocoItemType(String, Int64, String, PFQuery, PFItemRelationDirection) |
Gets items related to an item through a given relation, using a query.
| |
GetSite |
Gets the current Packflow site.
(Inherited from PFService.) | |
GetUploadProgress |
Gets the upload progress (read bytes/total bytes).
| |
HandleException |
Handles an exception for an operation, tries to log and rethrow.
(Inherited from PFService.) | |
HandleFileItemBinding |
Handles the binding of word files to their source item, according to the PFFile's settings.
May trigger the FileBinding event
| |
RemoveItemRelation(String, Int64, String, PFItem) |
Removes an item relation between two items.
| |
RemoveItemRelation(String, Int64, String, Int64) |
Removes an item relation between two items.
| |
SaveItemPocoItemType |
Saves an item in a given content-type.
| |
SaveItemsPocoItemType |
Saves multiple items in a given content-type.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AsT |
Casts an object to another type. Returns default(T) if the object is null.
(Defined by Utils_Other.) | |
EqualsAll |
Checks that this object is equal to every object in parameters.
(Defined by Utils_Other.) | |
EqualsAny |
Checks that this object is equal to at least one of the parameters.
(Defined by Utils_Other.) | |
GetString |
Converts an object to String using ToString() method, else returns String.Empty.
(Defined by Utils_Other.) | |
IsGenericList | Overloaded.
Checks if this object is a System.Collections.Generic.List.
(Defined by Utils_Linq.) | |
IsGenericList(Type) | Overloaded.
Checks if this object is a System.Collections.Generic.List using type as T.
(Defined by Utils_Linq.) | |
Serialize | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
Serialize(String) | Overloaded.
Serializes an object into an XML document.
(Defined by Utils_Xml.) | |
SerializeJson | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(ListType) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) | |
SerializeJson(DataContractJsonSerializerSettings) | Overloaded.
Serializes an object using a DataContractJsonSerializer.
(Defined by Utils_String.) |