%CSP.UI.Component.ApplicationRoles
class %CSP.UI.Component.ApplicationRoles extends %CSP.UI.Component.abstractRoleTab
%CSP.UI.Component.ApplicationRolesMethod Inventory
Methods
method %DrawHTML()
The %DrawHTML method draws the initial HTML for this component.
method AssignRole(PID As %String, NewMatchElement As %String, MatchRole As %String) as %String [ ZenMethod ]
Save both kind of Roles:
1) Roles that will always be added to application
NewMatchElement passed is in delimited by ":"
MatchRole = ""
2) Matching roles with their associated target roles
NewMatchElement passed in is delimited by ":"
MatchRole = the MatchRole user selected
classmethod GetRoles(Roles As %String, Output NullRoles As %String, Output MatchRoles As %String) as %Status
Return roles that should be loaded
Remove All Roles that will always be added to application if Type = "ApplicationRole"
Remove All MatchRoles if Type = "MatchRole"
Remove a Role from a application
ElementID is ",TargetRole" or "MatchRole,TargetRole"
clientmethod doAssignRole(type, grantOption) [ Language = javascript ]
Inherited Members
Inherited Properties
- %condition
- %import
- %includeFiles
- %page
- %resource
- PID
- align
- aux
- avaList
- composite
- containerStyle
- dragEnabled
- dropEnabled
- enclosingClass
- enclosingStyle
- error
- height
- hidden
- hint
- hintClass
- hintStyle
- id
- index
- label
- labelClass
- labelDisabledClass
- labelStyle
- name
- onafterdrag
- onbeforedrag
- ondrag
- ondrop
- onhide
- onrefresh
- onshow
- onupdate
- parent
- readOnly
- selList
- showLabel
- slice
- title
- tuple
- type
- valign
- visible
- width
- window
Inherited Methods
- %AddToSaveSet()
- %Attr()
- %BindExport()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %DrawComponentHTML()
- %DrawJSStrings()
- %EnclosingDivId()
- %Eval()
- %EvalC()
- %Extends()
- %ForceClientRender()
- %GetEventHandlers()
- %GetParameter()
- %GetXMLName()
- %IsA()
- %IsModified()
- %MakeId()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToPageAfter()
- %OnAddToPageBefore()
- %OnDrawEnclosingDiv()
- %OnDrawObjectProperties()
- %OnObjectSynch()
- %OnZENDeserialize()
- %OriginalNamespace()
- %PackageName()
- %QuoteValue()
- %QuoteValueL10N()
- %RemoveFromSaveSet()
- %Self()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- DrawArrows()
- DrawArrowsOld()
- DrawAvailableList()
- DrawSelectBoxes()
- DrawSelectList()
- DrawUpArrowsOld()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
- clearList()
- doRemoveAllRoles()
- doRemoveRole()
- doSelectBoxMove()
- doSelectBoxMoveAll()
- doSelectBoxMoveItem()
- doSelectBoxMoveList()
- dragFinishHandler()
- dragHandler()
- dragNotifyHandler()
- dragStartHandler()
- dropHandler()
- dropStartHandler()
- exposeComponent()
- findElement()
- fireOnUpdateEvent()
- getEnclosingDiv()
- getHidden()
- getHintElement()
- getLabelElement()
- getProperty()
- getSelList()
- getSettings()
- getType()
- invokeSuper()
- isOfType()
- makeId()
- onCreate()
- onDelete()
- onDisplayHandler()
- onEndModalHandler()
- onPopupAction()
- onRefreshContents()
- onSerialize()
- onStartModalHandler()
- onloadHandler()
- onunloadHandler()
- onupdateHandler()
- refreshContents()
- render()
- renderContents()
- renderSVG()
- setHidden()
- setOverlayMode()
- setProperty()
- startProgressBar()
- stopProgressBar()