PFItemControllerPFItemType Class |
Namespace: Packflow.Interface
public abstract class PFItemController<PFItemType> : PFItemController where PFItemType : PFItem
The PFItemControllerPFItemType type exposes the following members.
Name | Description | |
---|---|---|
PFItemControllerPFItemType |
Name | Description | |
---|---|---|
ActionInvoker | (Inherited from Controller.) | |
AsyncManager | (Inherited from Controller.) | |
Binders | (Inherited from Controller.) | |
ControllerContext | (Inherited from ControllerBase.) | |
DisableAsyncSupport | (Inherited from Controller.) | |
HttpContext | (Inherited from Controller.) | |
ModelState | (Inherited from Controller.) | |
Profile | (Inherited from Controller.) | |
Request | (Inherited from Controller.) | |
Resolver | (Inherited from Controller.) | |
Response | (Inherited from Controller.) | |
RouteData | (Inherited from Controller.) | |
Server | (Inherited from Controller.) | |
Session | (Inherited from Controller.) | |
SourceUrl |
Gets the source url of the current request.
| |
TempData | (Inherited from ControllerBase.) | |
TempDataProvider | (Inherited from Controller.) | |
Url | (Inherited from Controller.) | |
User | (Inherited from Controller.) | |
ValidateRequest | (Inherited from ControllerBase.) | |
ValueProvider | (Inherited from ControllerBase.) | |
ViewBag | (Inherited from ControllerBase.) | |
ViewData | (Inherited from ControllerBase.) | |
ViewEngineCollection | (Inherited from Controller.) |
Name | Description | |
---|---|---|
ApplyFormsRestriction |
Applies the forms restriction (for the current user) from application settings.
If the restriction is not respected, an access denied exception is thrown.
Else the level of accessibility is returned.
| |
BeginExecute | (Inherited from Controller.) | |
BeginExecuteCore | (Inherited from Controller.) | |
ChangeContext |
Administration action. Changes the application context of the current item.
| |
Close |
Action called when the "Close" button is clicked.
| |
Content(String) | (Inherited from Controller.) | |
Content(String, String) | (Inherited from Controller.) | |
Content(String, String, Encoding) | (Inherited from Controller.) | |
CreateActionInvoker | (Inherited from Controller.) | |
CreateTempDataProvider | (Inherited from Controller.) | |
Default |
Default action, called when the page is called without postback.
| |
DeleteItem |
Action called when the button "Delete this item" (under the "Other actions" menu) is clicked.
| |
Dispose | (Inherited from Controller.) | |
Dispose(Boolean) | (Inherited from Controller.) | |
DownloadTemplateDataSet |
Administration action. Download a dataset for WordForm, centered on the current item.
| |
EditItem |
Action called when the button "Edit item" is clicked.
| |
EndExecute | (Inherited from Controller.) | |
EndExecuteCore | (Inherited from Controller.) | |
EnsureLock |
Ensures that the current user has an active lock, if possible.
If the lock already exists, the validity is reset. | |
Execute | (Inherited from ControllerBase.) | |
ExecuteCore | (Inherited from Controller.) | |
File(Byte, String) | (Inherited from Controller.) | |
File(Stream, String) | (Inherited from Controller.) | |
File(String, String) | (Inherited from Controller.) | |
File(Byte, String, String) | (Inherited from Controller.) | |
File(Stream, String, String) | (Inherited from Controller.) | |
File(String, String, String) | (Inherited from Controller.) | |
FinishTask |
Action called when the "Finish task" is clicked.
| |
ForceTransition |
Administration action. Forces a specific transition for the current item's workflow.
| |
ForceUnlock |
Administration action. Forces the current user to release its lock on the current item.
| |
GetCurrentLock |
Tries to find lock for current user on item.
| |
GetDefaultViewResult |
Returns the standard view result for an item.
(Inherited from PFItemController.) | |
GetFormGridviewViewPath |
Gets the relative path of a gridview action page.
| |
GetFormViewPath |
Returns the relative path of the page for an item.
(Inherited from PFItemController.) | |
GetRelation |
Gets the contextual relation (generally in gridviews).
Throw an exception if the relation does not exist in both models. Return null if no relation name is found in the form collection. | |
GetWorkflowNewStepMessage |
Generates the translated message shown to the user when a new step is reached in an item's workflow.
| |
Gridview_CancelLine |
Action called when an inline creation or edition is canceled in a gridview.
| |
Gridview_DeleteLine |
Action called when an item is deleted from a gridview.
| |
Gridview_DuplicateLine |
[NOT CURRENTLY USED] Action called when an inline duplication is initiated in a gridview.
| |
Gridview_EditLine |
Action called when an inline edition is initiated in a gridview.
| |
Gridview_GetParentItem |
Returns the source (related) item of the current item (in a gridview context).
| |
Gridview_LoadRow |
Action called when a gridview row needs to be refreshed.
| |
Gridview_NewLine |
Action called when an inline creation is initiated in a gridview.
| |
Gridview_SaveLine |
Action called when an (new or existing) item is saved in a gridview.
| |
Gridview_UnlinkLine |
Action called when an item is unlinked from a gridview based on a source item relation.
| |
HandleUnknownAction | (Inherited from Controller.) | |
HttpNotFound | (Inherited from Controller.) | |
HttpNotFound(String) | (Inherited from Controller.) | |
Initialize | (Inherited from Controller.) | |
JavaScript | (Inherited from Controller.) | |
Json(Object) | (Inherited from Controller.) | |
Json(Object, String) | (Inherited from Controller.) | |
Json(Object, JsonRequestBehavior) | (Inherited from Controller.) | |
Json(Object, String, Encoding) | (Inherited from Controller.) | |
Json(Object, String, JsonRequestBehavior) | (Inherited from Controller.) | |
Json(Object, String, Encoding, JsonRequestBehavior) | (Inherited from Controller.) | |
NextStep |
Action called when the button "Next step" is clicked.
| |
NotifySourceGridViewForUpdate |
Notifies the source gridview that an update is available.
The gridview will then refresh if no inline edition is in progress.
Do not use during inline actions, it would be useless. Currently used when items are created with the "Tab" creation mode of the gridview. Note: only works if the parameter SourceGridViewId is available in the query string. | |
NotifyuserGridViewsForItemUpdate |
Notifies the user's listening pages that an update is available for the given item.
The gridviews will then refresh the corresponding rows.
Currently used when items are opened with the "Tab". | |
OnActionExecuted | (Inherited from Controller.) | |
OnActionExecuting | (Inherited from Controller.) | |
OnAuthentication | (Inherited from Controller.) | |
OnAuthenticationChallenge | (Inherited from Controller.) | |
OnAuthorization | (Inherited from Controller.) | |
OnException | (Inherited from Controller.) | |
OnResultExecuted | (Inherited from Controller.) | |
OnResultExecuting | (Inherited from Controller.) | |
PartialView | (Inherited from Controller.) | |
PartialView(Object) | (Inherited from Controller.) | |
PartialView(String) | (Inherited from Controller.) | |
PartialView(String, Object) | (Inherited from Controller.) | |
ReassignTask |
Administration action. Reassigns a given task to a chosen user.
| |
Redirect | (Inherited from Controller.) | |
RedirectPermanent | (Inherited from Controller.) | |
RedirectToAction(String) | (Inherited from Controller.) | |
RedirectToAction(String, Object) | (Inherited from Controller.) | |
RedirectToAction(String, RouteValueDictionary) | (Inherited from Controller.) | |
RedirectToAction(String, String) | (Inherited from Controller.) | |
RedirectToAction(String, String, Object) | (Inherited from Controller.) | |
RedirectToAction(String, String, RouteValueDictionary) | (Inherited from Controller.) | |
RedirectToActionPermanent(String) | (Inherited from Controller.) | |
RedirectToActionPermanent(String, Object) | (Inherited from Controller.) | |
RedirectToActionPermanent(String, RouteValueDictionary) | (Inherited from Controller.) | |
RedirectToActionPermanent(String, String) | (Inherited from Controller.) | |
RedirectToActionPermanent(String, String, Object) | (Inherited from Controller.) | |
RedirectToActionPermanent(String, String, RouteValueDictionary) | (Inherited from Controller.) | |
RedirectToRoute(Object) | (Inherited from Controller.) | |
RedirectToRoute(RouteValueDictionary) | (Inherited from Controller.) | |
RedirectToRoute(String) | (Inherited from Controller.) | |
RedirectToRoute(String, Object) | (Inherited from Controller.) | |
RedirectToRoute(String, RouteValueDictionary) | (Inherited from Controller.) | |
RedirectToRoutePermanent(Object) | (Inherited from Controller.) | |
RedirectToRoutePermanent(RouteValueDictionary) | (Inherited from Controller.) | |
RedirectToRoutePermanent(String) | (Inherited from Controller.) | |
RedirectToRoutePermanent(String, Object) | (Inherited from Controller.) | |
RedirectToRoutePermanent(String, RouteValueDictionary) | (Inherited from Controller.) | |
Refresh |
Action called to refresh the page.
| |
ReleaseLock |
Tries to release lock for current user on item.
| |
ReplaceActor |
Administration action. Reassigns a given task to the current user (if allowed to).
| |
SaveItem |
Action called when the button "Save" is clicked.
| |
SaveItemAndClose |
Action called when the button "Save and close" is clicked.
| |
SynchronizeWithExternalSource |
Action called to update the item's data from its synchronized source (using the external connection).
| |
ToggleUnlimitedModification |
Action called to enable or disable unlimited modification mode.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TriggerApplicationEvent |
Triggers an application event for a custom action.
The event PFApplicationEvents.ControllerEvent_CustomAction is broadcasted to all applications.
| |
TryGetLock |
Tries to get(create) lock for current user on item.
| |
TryGetParentItem |
Returns the source (related) item of the current item.
Uses the gridview context if any. Uses the query string if the current object is being created from the source object. | |
TryUpdateModel``1(UMP) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, IValueProvider) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String, String) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String, IValueProvider) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String, IValueProvider) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String, String, String) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String, String, IValueProvider) | (Inherited from Controller.) | |
TryUpdateModel``1(UMP, String, String, String, IValueProvider) | (Inherited from Controller.) | |
TryValidateModel(Object) | (Inherited from Controller.) | |
TryValidateModel(Object, String) | (Inherited from Controller.) | |
UpdateModel``1(UMP) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String) | (Inherited from Controller.) | |
UpdateModel``1(UMP, IValueProvider) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String, String) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String, IValueProvider) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String, IValueProvider) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String, String, String) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String, String, IValueProvider) | (Inherited from Controller.) | |
UpdateModel``1(UMP, String, String, String, IValueProvider) | (Inherited from Controller.) | |
UpdatePermissions |
Administration action. Forces a recalculation of the permissions of the current item.
This can be useful when rules changed (in the model) since the last save. | |
ValidateModel(Object) | (Inherited from Controller.) | |
ValidateModel(Object, String) | (Inherited from Controller.) | |
View | (Inherited from Controller.) | |
View(Object) | (Inherited from Controller.) | |
View(String) | (Inherited from Controller.) | |
View(IView) | (Inherited from Controller.) | |
View(String, String) | (Inherited from Controller.) | |
View(String, Object) | (Inherited from Controller.) | |
View(IView, Object) | (Inherited from Controller.) | |
View(String, String, Object) |
Standard method called by MVC at the end of all controllers' actions.
(Overrides Controller.View(String, String, Object).)This method is overridden to handle the AutoStartTask option. If the option is activated, this will ensure a lock and set the current task as active, if possible. In general, avoid to call or override this method. |
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.) |