This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > EnsPortal.WFRoles

EnsPortal.WFRoles

class EnsPortal.WFRoles extends EnsPortal.Template.standardPage

EnsPortal Workflow Roles page including creating a new role

Method Inventory

Parameters

parameter EDITRESOURCE = %Ens_WorkflowConfig:WRITE;
User needs WRITE permissions on the %Ens_WorkflowConfig resource to make changes on this page.
parameter PAGENAME = Workflow Roles;
Displayed name of this page.
parameter RESOURCE = %Ens_WorkflowConfig:READ;
User needs READ permissions on the %Ens_WorkflowConfig resource to access this page.

Methods

method %OnGetPageName() as %String
Get the (localized) name of the page. This should be implemented in a subclass.
method %OnGetTitle() as %String
Get the (localized) title string for the page. This should be implemented in a subclass.
classmethod DeleteID(id) as %String [ ZenMethod ]
Delete the given id.
method DrawDescription(pSeed As %String) as %Status
Draw the contents of the description panel.
classmethod GetHyperEventResources(pMethod As %String = "") as %String
Callback to return a list of resources required for a specific HyperEvent. The user must have sufficient privileges on one of the resource/permission pairs to be permitted to execute the hyperevent. An empty string implies the user already has sufficient privileges for the ZenMethod specified in pMethod.
method OnGetRibbonInfo(Output pDisplay As %Boolean, Output pViewIcons As %List, Output pSortOptions As %List, Output pSearchBox As %Boolean, Output pRibbonTitle As %String, Output pCommands As %List) as %Status
Inherited description: This callback, if implemented returns information used to display the standard ribbon bar.
pDisplay is true if the ribbon should be displayed.
pViewIcons is an array describing "view" buttons to display: pViewIcons(n) = $LB(id,help,icon)
pSortOptions is an array describing "sort" options to display: pSortOptions(n) = $LB(id,caption,help)
pSearch is true if a search box is displayed.
pRibbonTitle is a title to display.
pCommands is an array of command buttons to display: pCommands(n) = $LB(id,caption,help,onclick)
classmethod SaveItem(pItem As %ZEN.proxyObject) as %String [ ZenMethod ]
classmethod UpdateDetails(id) [ ZenMethod ]
Update contents of details pane.
clientmethod addUser() [ Language = javascript ]
clientmethod adjustSizes() [ Language = javascript ]
Adjust sizes of components on the page.
clientmethod deleteItem() [ Language = javascript ]
User clicked Delete button.
clientmethod onlayoutHandler(load) [ Language = javascript ]
This client event is fired when the page is resized.
clientmethod removeUser() [ Language = javascript ]
clientmethod resetForm() [ Language = javascript ]
Reset the form programmatically
clientmethod rowSelected(table) [ Language = javascript ]
User selected a row in the table
clientmethod save() [ Language = javascript ]
Save the contents of the form.
clientmethod showAddUser(name) [ Language = javascript ]
Show the add user dialog
clientmethod showRemoveUser(name) [ Language = javascript ]
Show the add user dialog
clientmethod showTasks(name) [ Language = javascript ]
Show the tasks associated with this role
clientmethod showUsers(name) [ Language = javascript ]
Show the users that hold this role
clientmethod taskButton() [ Language = javascript ]
clientmethod userButton() [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new window