Class Index | File Index

Classes


Class Alfresco.ConsoleUsers

Extends Alfresco.ConsoleTool
ConsoleUsers tool component.
Defined in: users.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
ConsoleUsers constructor.
Field Summary
Field Attributes Field Name and Description
 
The result of the last CSV upload.
 
Current user id for an action.
 
Object container for initialization options
 
Current search term, obtained from form input field.
Fields borrowed from class Alfresco.ConsoleTool:
currentPanelId, panels, popups
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Fired when the Create User and Create Another button is clicked.
 
Fired when the Create User Cancel button is clicked.
 
Fired when the Create User OK button is clicked.
 
Fired on successful deletion of a user.
 
Fired when the admin cancels the operation to delete a User.
 
Delete User button click event handler
 
Fired when the admin confirms that they want to delete a User.
 
onEditUserClick(e, args)
Edit User button click event handler
 
onGoBackClick(e, args)
Go back button click event handler
 
onNewUserClick(e, args)
New User button click event handler
 
Fired by YUI when parent element is available for scripting.
 
onSearchClick(e, args)
Search button click event handler
 
onStateChanged(e, args)
History manager state change event handler (override base class)
 
Fired when the Update User Cancel button is clicked.
 
Fired when the Use Default button is clicked to clear user photo.
 
Fired when the Update User OK button is clicked.
 
Upload Users button click event handler
 
Users Upload complete event handler
 
onViewUserClick(e, args)
View User event handler
Methods borrowed from class Alfresco.ConsoleTool:
onHistoryManagerReady
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.ConsoleUsers(htmlId)
ConsoleUsers constructor.
Parameters:
{String} htmlId
The HTML id ´┐Żof the parent element
Returns:
{Alfresco.ConsoleUsers} The new ConsoleUsers instance
Field Detail
{object} csvResults
The result of the last CSV upload.

{string} currentUserId
Current user id for an action.

{object} options
Object container for initialization options

{string} searchTerm
Current search term, obtained from form input field.
Method Detail
onCreateUserAnotherClick(e, args)
Fired when the Create User and Create Another button is clicked.
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onCreateUserCancelClick(e, args)
Fired when the Create User Cancel button is clicked.
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onCreateUserOKClick(e, args)
Fired when the Create User OK button is clicked.
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onDeletedUser(e)
Fired on successful deletion of a user.
Parameters:
{object} e
DomEvent

onDeleteUserCancel(e)
Fired when the admin cancels the operation to delete a User.
Parameters:
{object} e
DomEvent

onDeleteUserClick(e, args)
Delete User button click event handler
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onDeleteUserOK(e)
Fired when the admin confirms that they want to delete a User.
Parameters:
{object} e
DomEvent

onEditUserClick(e, args)
Edit User button click event handler
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onGoBackClick(e, args)
Go back button click event handler
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onNewUserClick(e, args)
New User button click event handler
Parameters:
{object} e
DomEvent
{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.

onSearchClick(e, args)
Search button click event handler
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onStateChanged(e, args)
History manager state change event handler (override base class)
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onUpdateUserCancelClick(e, args)
Fired when the Update User Cancel button is clicked.
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onUpdateUserClearPhotoClick(e, args)
Fired when the Use Default button is clicked to clear user photo.
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onUpdateUserOKClick(e, args)
Fired when the Update User OK button is clicked.
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onUploadUsersClick(e, args)
Upload Users button click event handler
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

onUsersUploadComplete(complete)
Users Upload complete event handler
Parameters:
{object} complete
Object literal containing details of successful upload

onViewUserClick(e, args)
View User event handler
Parameters:
{object} e
DomEvent
{array} args
Event parameters (depends on event type)

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