Class Index | File Index

Classes


Class Alfresco.RuleDetails

Extends Alfresco.component.Base
RuleDetails component.
Defined in: rule-details.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
RuleDetails constructor.
Field Summary
Field Attributes Field Name and Description
 
Object describing the folder of the rule that is being viewed
 
Object container for initialization options
 
Object describing all information about a rule
 
Flag set after rule config compoents are ready.
 
Object describing basic information needed to load the rule
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Fired when the user clicks the Delete button.
 
Fired when the user clicks the Edit button.
 
Fired by YUI when parent element is available for scripting.
 
Called then the rule config components have been loaded and inserted to the Dom and are looking visually ok.
 
Called then the rule config components have been loaded, inserted and are ready to dispaly rule configs
 
onRuleSelected(layer, args)
Event handler called when the "ruleSelected" event is received
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.RuleDetails(htmlId)
RuleDetails constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.RuleDetails} The new RuleDetails instance
Field Detail
folderDetails
Object describing the folder of the rule that is being viewed

{object} options
Object container for initialization options

rule
Object describing all information about a rule

ruleConfigsAreReady
Flag set after rule config compoents are ready.
Default Value:
false

ruleDetails
Object describing basic information needed to load the rule
Method Detail
onDeleteButtonClick(event)
Fired when the user clicks the Delete button.
Parameters:
{object} event
a "click" event

onEditButtonClick(event)
Fired when the user clicks the Edit button.
Takes the user back to the edit rule page.
Parameters:
{object} event
a "click" event

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

onRuleConfigsLoaded()
Called then the rule config components have been loaded and inserted to the Dom and are looking visually ok.
However they are not ready to use yet since they will need to load their own dependencies.

onRuleConfigsReady()
Called then the rule config components have been loaded, inserted and are ready to dispaly rule configs

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

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