Skip to main content

EnsPortal.WFUsers

class EnsPortal.WFUsers extends EnsPortal.Template.standardPage

This is the Workflow Users page of the ZEN application.

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 Users;
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.
method DrawYesNo(pTable As %ZEN.Component.tablePane, pName As %String, pSeed As %String) as %Status
Draw Yes or No in place of 1 or 0
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.
classmethod IsValidUser(pName As %String) as %Boolean
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 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 resetForm() [ Language = javascript ]
Reset the form programmatically
clientmethod roleButton() [ Language = javascript ]
clientmethod rowSelected(table) [ Language = javascript ]
User selected a row in the table
clientmethod save() [ Language = javascript ]
Save the contents of the form.
clientmethod showRoles(name) [ Language = javascript ]
Show the roles held by this user
clientmethod showTasks(name) [ Language = javascript ]
Show the tasks assigned to this user
clientmethod taskButton() [ Language = javascript ]

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab