Class Index | File Index

Classes


Class Alfresco.RulesList

Extends Alfresco.component.Base
RulesList component.
Defined in: rules-list.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
RulesList constructor.
Field Summary
Field Attributes Field Name and Description
 
Folder from page load.
 
Flag set after component is instantiated.
 
Object container for initialization options
 
Rules on page load.
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
onDragAndDropAction(action, draggable, container)
Called when the rules order has been changed
 
Event handler called when the "folderDetailsAvailable" event is received
 
Event handler called when the "folderFulesDetailsAvailable" event is received
 
Fired by YUI when parent element is available for scripting.
 
onResetButtonClick(type, args)
Called when user clicks the reset button to restore the reoredering.
 
onRuleClick(e, obj)
Called when user clicks on a rule
 
onRuleSelected(layer, args)
Event handler called when the "ruleSelected" event is received
 
onSaveButtonClick(type, args)
Called when user clicks the save button to persist the reoredering.
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.RulesList(htmlId)
RulesList constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.RulesList} The new RulesList instance
Field Detail
folderDetails
Folder from page load.

{boolean} isReady
Flag set after component is instantiated.

{object} options
Object container for initialization options

rules
Rules on page load.
Method Detail
onDragAndDropAction(action, draggable, container)
Called when the rules order has been changed
Parameters:
action
draggable
container

onFolderDetailsAvailable(layer, args)
Event handler called when the "folderDetailsAvailable" event is received
Parameters:
layer
args

onFolderRulesetDetailsAvailable(layer, args)
Event handler called when the "folderFulesDetailsAvailable" event is received
Parameters:
layer
args

onReady()
Fired by YUI when parent element is available for scripting.
Template initialisation, including instantiation of YUI widgets and event listener binding.

onResetButtonClick(type, args)
Called when user clicks the reset button to restore the reoredering.
Parameters:
type
args

onRuleClick(e, obj)
Called when user clicks on a rule
Parameters:
e
click event object
obj
callback object containg rule info & HTMLElements

onRuleSelected(layer, args)
Event handler called when the "ruleSelected" event is received
Parameters:
layer
args

onSaveButtonClick(type, args)
Called when user clicks the save button to persist the reoredering.
Parameters:
type
args

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