Click or drag to resize

PFDataHub Class

Provides methods called via SignalR from Packflow pages or gridviews.
Provides methods called via SignalR from Packflow pages or gridviews.
Inheritance Hierarchy
SystemObject
  Hub
    Packflow.InterfacePFDataHub

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
[HubNameAttribute("pFDataHub")]
public class PFDataHub : Hub

The PFDataHub type exposes the following members.

Constructors
  NameDescription
Public methodPFDataHub
Top
Properties
  NameDescription
Public propertyClients (Inherited from Hub.)
Public propertyContext (Inherited from Hub.)
Public propertyGroups (Inherited from Hub.)
Top
Methods
  NameDescription
Public methodApplyRelationChanges
Applies changes to an item's relations.
Public methodCanAdministrateItems
Checks if the current user can administrate (=is owner of) the specified items. Returns "OK" if validated, else returns a translated error message.
Public methodCanChangeItemsContext
Checks if the current user can change the application context of the specified items. Returns "OK" if validated, else returns a translated error message.
Public methodCanCreateItem
Checks if the current user can create an item in the specified content-type. Returns "OK" if validated, else returns a translated error message.
Public methodCanDeleteItem
Checks if the current user can delete the specified item. Returns "OK" if validated, else returns a translated error message.
Public methodCanDeleteItems
Checks if the current user can delete the specified items. Returns "OK" if validated, else returns a translated error message.
Public methodCanReassignTasks
Checks if the current user can reassign the specified tasks. Returns "OK" if validated, else returns a translated error message.
Public methodCanUnlinkItem
Checks if the current user can remove a relation between a source item and a target item. Returns "OK" if validated, else returns a translated error message.
Public methodChangeItemsContext
Changes the applications context of the specified items.
Public methodChangeItemsStep
Changes the state of the specified items.
Public methodCreateValueForChoiceField
Creates a value in the target content-type of a choice field.
Public methodCustomAction_Cancel
Cancels a custom action.
Public methodCustomAction_Confirmation
Returns an HTML for the confirmation dialog of a custom action (PFItemBatchAction).
Public methodCustomAction_Execute
Executes a custom action (PFItemBatchAction) with an optional list of parameters.
Public methodCustomAction_Pause
Pauses a custom action.
Public methodCustomAction_Resume
Resumes a custom action.
Public methodDeleteItems
Deletes the specified items.
Public methodDispose (Inherited from Hub.)
Protected methodDispose(Boolean) (Inherited from Hub.)
Public methodGetAvailableFields
Gets the html of available fields for a list of content-types.
Public methodGetFilterAvailableValues
Gets HTML of available values for a specific field in a view.
Public methodGetGridViewContent
Gets the content of the gridview, including the data table and extra information.
Public methodGetGridViewGroupContent
Gets the content of a gridview group.
Public methodGetQuickSearchFieldSelection
Generates a list of checkboxes to select fields for quick search.
Public methodGetReassignTaskUsersAutoComplete
Gets an autocomplete popup containing users available for a task reassignment.
Public methodGetUsersAutoComplete
Gets the HTML of the autocomplete selection popup, shown when the user types in the search area.
Public methodGetUsersSelect
Gets an HTML select containing all users.
Public methodGetValueForChoiceField
Gets a value in the target content-type of a choice field.
Public methodInvokeTypeScriptApiEndpoint
Invokes the given TS API endpoint.
Public methodOnConnected (Inherited from Hub.)
Public methodOnDisconnected (Inherited from Hub.)
Public methodOnReconnected (Inherited from Hub.)
Public methodPFWidget_QuickAccess_GetValues
Gets filtered values, to be shown in the QuickAccess widget.
Public methodReassignTasks
Reassigns the tasks to the specified user.
Public methodRefreshFileData
Refreshes WordForm or QuickParts of the specified files. Returns "OK" if succeeded, else returns an error message.
Public methodSubscribeAsGridView
Makes a gridview subscribe to updates.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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