%DeepSee.UserPortal.Workflow
Class %DeepSee.UserPortal.Workflow Extends %DeepSee.UserPortal.standardPage [ System = 4 ]
Workflow InBox page.
Shows the list of current workflow tasks for the current user.
Parameters
PAGENAME
Parameter PAGENAME = "Workflow Inbox";
Name of this page.
HOMEPAGE
Parameter HOMEPAGE = "_DeepSee.UserPortal.Home.zen";
URL of home page (used in links).
WORKLIST1VIEW;
Parameter WORKLIST1VIEW;
Starting view for worklist 1.
WORKLIST2VIEW;
Parameter WORKLIST2VIEW;
Starting view for worklist 2.
Properties
currItemId
Property currItemId As %String(ZENURL = "ID");
Item id of current item.
lastMessage
Property lastMessage As %String(ZENURL = "MSG");
Message from form submit handler.
hzSplit
Property hzSplit As %Integer [ InitialExpression = 70 ];
Percentage height of task list.
lastUpdateMsg
Property lastUpdateMsg As %String;
Last update message.
namespace
Property namespace As %ZEN.Datatype.string [ InitialExpression = {$namespace} ];
XDatas
CSS3Style
XData CSS3Style
Style
XData Style
menuPane
XData menuPane [ XMLNamespace = "http://www.intersystems.com/zen" ]
This XML defines the menu for this page.
contentsRightPane
XData contentsRightPane [ XMLNamespace = "http://www.intersystems.com/zen" ]
This XML defines the main display area.
Methods
DrawWorklistTitle
Method DrawWorklistTitle(pSeed As %String) As %Status [ Final ]
Draw the contents of the worklist title area.
DrawTaskHeader
Method DrawTaskHeader(pSeed As %String) As %Status [ Final ]
Draw the contents of the Task Header area.
DrawTaskDetails
Method DrawTaskDetails(pSeed As %String) As %Status [ Final ]
Draw the contents of the Task Details area.
DrawTaskList
Method DrawTaskList(pSeed As %String) As %Status [ Final ]
Draw the contents of the Task List area.
%OnAfterCreatePage
Method %OnAfterCreatePage() As %Status
Decorate the page.
%OnGetTitle
Method %OnGetTitle() As %String
Get the (localized) title string for the page. This should be implemented in a subclass.
%OnGetPageName
Method %OnGetPageName() As %String
Get the (localized) name of the page. This should be implemented in a subclass.
refreshTimerHandler
ClientMethod refreshTimerHandler(timer) [ Language = javascript ]
Refresh timer has fired.
listRefreshed
ClientMethod listRefreshed() [ Language = javascript ]
Called whenever task list is refreshed..
refreshTasks
ClientMethod refreshTasks() [ Language = javascript ]
Reload the task list.
activateSearchBox
ClientMethod activateSearchBox() [ Language = javascript ]
Activate the search text box;
searchKeyPress
ClientMethod searchKeyPress(evt) [ Language = javascript ]
Key press in search box.
doSearch
ClientMethod doSearch() [ Language = javascript ]
Perform a search.
onAdjustSizes
ClientMethod onAdjustSizes(load, contentWidth, contentHeight) [ Language = javascript ]
Adjust sizes of content area.
onPopupAction
ClientMethod onPopupAction(popupName, action, value) [ Language = javascript ]
This client event is fired when the a popup page launched from this page fires an action.
updateWorklistTitle
ClientMethod updateWorklistTitle() [ Language = javascript ]
Update the title for the dashboard.
updateDetails
ClientMethod updateDetails(taskid) [ Language = javascript ]
Update the details panel if the taskid is not the same as URL
invokeAction
ClientMethod invokeAction(type, rowid) [ Language = javascript ]
Invoke an action on a row.
toggleDetails
ClientMethod toggleDetails() [ Language = javascript ]
Make details section big or little.
setSplit
ClientMethod setSplit(split) [ Language = javascript ]
Invoke an action on a row.
startSplitTimer
ClientMethod startSplitTimer() [ Language = javascript ]
Start the split timer.
clearSplitTimer
ClientMethod clearSplitTimer() [ Language = javascript ]
Stop the split timer.
splitTimerHandler
ClientMethod splitTimerHandler() [ Language = javascript ]
Action for split timer.
selectItem
ClientMethod selectItem(id) [ Language = javascript ]
Click on item in task list.
%OnGetWorklistOptions1
Method %OnGetWorklistOptions1(Output pOptions, Output pDefaultMode) As %Status
Return list of options for work list 1.
%OnGetWorklistOptions2
Method %OnGetWorklistOptions2(Output pOptions, Output pDefaultMode) As %Status
Return list of options for work list 2.
%GetWorkflowTasksForUser
ClassMethod %GetWorkflowTasksForUser(Output pList, Output pColumns, pSearchKey As %String = "") As %Status
Return list of workflow tasks for the current user.
ShowForm
Method ShowForm(pItem As %RegisteredObject, pState As %String) As %Status
Show form for this worklist item
actionButtonHandler
ClientMethod actionButtonHandler(action, confirmMsg) [ Language = javascript ]
Called by action buttons on the detail form.
%OnSubmit
ClassMethod %OnSubmit(pSubmit As %ZEN.Submit) As %Status
Submit handler-- this processes submits of the task form.
gotoSMP
ClientMethod gotoSMP() [ Language = javascript ]
Show the System Management portal.
onloadHandler
ClientMethod onloadHandler() [ Language = javascript ]
This client event, if present, is fired when the page is loaded.
downloadLink
Method downloadLink() As %String [ ZenMethod ]