Class Alfresco.RuleDetails
Extends Alfresco.component.Base
RuleDetails component.
Defined in: rule-details.js
Constructor Attributes | Constructor Name and Description |
---|---|
Alfresco.RuleDetails(htmlId)
RuleDetails constructor.
|
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 Attributes | Method Name and Description |
---|---|
onDeleteButtonClick(event)
Fired when the user clicks the Delete button.
|
|
onEditButtonClick(event)
Fired when the user clicks the Edit button.
|
|
onReady()
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.
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.
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.
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