Class Index | File Index

Classes


Class Alfresco.module.RulesPicker

Extends Alfresco.module.DoclibGlobalFolder
Rules Picker.
Defined in: rules-picker.js
Fields borrowed from class Alfresco.module.DoclibGlobalFolder:
containerDiv, containers, options, pathsToExpand, selectedNode
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
msg(messageId)
Gets a custom message depending on current view mode
 
onExtendedTemplateLoaded(response, superClassResponse)
Event callback when this class' template has been loaded
 
Fired by YUI TreeView when a node label is clicked
 
onOK(e, p_obj)
Dialog OK button event handler
 
onSiteChanged(layer, args)
Site Changed event handler
 
onTemplateLoaded(response)
Event callback when superclass' dialog template has been loaded.
 
onViewModeChange(e, p_obj)
Mode change buttongroup event handler
 
resetRules(layer, args)
Called when Container or Site has Changed
 
Set multiple initialization options at once.
Methods borrowed from class Alfresco.module.DoclibGlobalFolder:
fnLoadNodeData, onCancel, onContainerChanged, onExpandComplete, onPathChanged, setViewMode, showDialog
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages
Method Detail
{string} msg(messageId)
Gets a custom message depending on current view mode
and use superclasses
Parameters:
{string} messageId
The messageId to retrieve
Returns:
{string} The custom message

onExtendedTemplateLoaded(response, superClassResponse)
Event callback when this class' template has been loaded
Parameters:
{object} response
Server response from load template XHR request
superClassResponse

onNodeClicked()
Fired by YUI TreeView when a node label is clicked
Parameters:
args.event
{HTML Event} the event object
args.node
{YAHOO.widget.Node} the node clicked
Returns:
allowExpand {boolean} allow or disallow node expansion

onOK(e, p_obj)
Dialog OK button event handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

onSiteChanged(layer, args)
Site Changed event handler
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

onTemplateLoaded(response)
Event callback when superclass' dialog template has been loaded.
Parameters:
{object} response
Server response from load template XHR request

onViewModeChange(e, p_obj)
Mode change buttongroup event handler
Parameters:
{object} e
DomEvent
{object} p_obj
Object passed back from addListener method

resetRules(layer, args)
Called when Container or Site has Changed
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

{Alfresco.module.RulesPicker} setOptions(obj)
Set multiple initialization options at once.
Parameters:
{object} obj
Object literal specifying a set of options
Returns:
{Alfresco.module.RulesPicker} returns 'this' for method chaining

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:26 GMT-0000 (GMT)