Class Index | File Index

Classes


Class Alfresco.SiteGroups

Site Members component.
Defined in: site-groups.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
SiteGroups constructor.
Field Summary
Field Attributes Field Name and Description
 
List of uninvite buttons
 
Flag to determine whether the current user is a site administrator
 
Keeps track if this component is searching or not
 
Object container for storing YUI widget instances.
 
Object container for storing module instances.
 
Object container for initialization options
 
Object container for storing YUI widget instances.
Method Summary
Method Attributes Method Name and Description
 
doRemove(event, group)
Remove group event handler
 
Search event handler
 
Fired by YUILoaderHelper when required component script files have
 
Deactivate All Controls event handler
 
Fired by YUI when parent element is available for scripting.
 
onRoleSelect(type, event, args)
Called when the user selects a role in the role dropdown
 
Set messages for this component.
 
Set multiple initialization options at once.
Constructor Detail
Alfresco.SiteGroups(htmlId)
SiteGroups constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.SiteGroups} The new SiteGroups instance
Field Detail
{array} buttons
List of uninvite buttons

{boolean} isCurrentUserSiteAdmin
Flag to determine whether the current user is a site administrator

{Boolean} isSearching
Keeps track if this component is searching or not

{object} listWidgets
Object container for storing YUI widget instances.

{object} modules
Object container for storing module instances.

{object} options
Object container for initialization options

{object} widgets
Object container for storing YUI widget instances.
Method Detail
doRemove(event, group)
Remove group event handler
Parameters:
{object} event
The event object
{object} group
Object literal containing group details

doSearch()
Search event handler

onComponentsLoaded()
Fired by YUILoaderHelper when required component script files have
been loaded into the browser.

onDeactivateAllControls(layer, args)
Deactivate All Controls event handler
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

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

onRoleSelect(type, event, args)
Called when the user selects a role in the role dropdown
Parameters:
type
event
args

{Alfresco.Search} setMessages(obj)
Set messages for this component.
Parameters:
{object} obj
Object literal specifying a set of messages
Returns:
{Alfresco.Search} returns 'this' for method chaining

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

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