Class Index | File Index

Classes


Class Alfresco.RulesLinked

Extends Alfresco.component.Base
RulesLinked template.
Defined in: rules-linked.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
RulesLinked constructor.
Field Summary
Field Attributes Field Name and Description
 
Flag set after component is instantiated.
 
Current linkedToFolder.
 
Object container for initialization options
 
The inherit and folder rules for the folder
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Called when user clicks on the change link from button.
 
onDoneButtonClick(type, args)
Called when user clicks on the done button.
 
Event handler called when the "folderDetailsAvailable" event is received
 
Event handler called when the "folderRulesetDetailsAvailable" event is received
 
Event handler called when the "linkedToFolderDetailsAvailable" event is received
 
Fired by YUI when parent element is available for scripting.
 
Called when user clicks on the unlink rules button.
 
Called when user clicks on the view rules button.
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.RulesLinked(htmlId)
RulesLinked constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.RulesLinked} The new RulesLinked instance
Field Detail
isReady
Flag set after component is instantiated.

linkedToFolder
Current linkedToFolder.

{object} options
Object container for initialization options

ruleset
The inherit and folder rules for the folder
Method Detail
onChangeLinkButtonClick(type, args)
Called when user clicks on the change link from button.
Displays a rule folder dialog.
Parameters:
type
args

onDoneButtonClick(type, args)
Called when user clicks on the done button.
Takes the user to the folders detail page.
Parameters:
type
args

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

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

onLinkedToFolderDetailsAvailable(layer, args)
Event handler called when the "linkedToFolderDetailsAvailable" 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.

onUnlinkRulesButtonClick(type, args)
Called when user clicks on the unlink rules button.
Will nulink the folder from the linked folder.
Parameters:
type
args

onViewLinkedToFolderButtonClick(type, args)
Called when user clicks on the view rules button.
Takes the user to the linked folders rule page.
Parameters:
type
args

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