Class Alfresco.SentInvites
Extends Alfresco.component.Base
SentInvites component.
Defined in: sent-invites.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.SentInvites(htmlId)
SentInvites constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Object container for storing YUI button instances, indexed by username.
|
|
|
Keeps track if this component is searching or not
|
|
|
Object container for initialization options
|
|
|
Current search term, obtained from form input field.
|
- Fields borrowed from class Alfresco.component.Base:
- modules, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
cancelInvite(record)
Cancel an invitation.
|
|
|
Public function to clear the results DataTable
|
|
|
onActionClick(e, p_obj)
Action button click handler
|
|
|
onReady()
Fired by YUI when parent element is available for scripting.
|
|
|
onSearchClick(e, p_obj)
Search button click event handler
|
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.SentInvites(htmlId)
SentInvites constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.SentInvites} The new SentInvites instance
Field Detail
{object}
actionButtons
Object container for storing YUI button instances, indexed by username.
{Boolean}
isSearching
Keeps track if this component is searching or not
{object}
options
Object container for initialization options
{string}
searchTerm
Current search term, obtained from form input field.
Method Detail
cancelInvite(record)
Cancel an invitation.
- Parameters:
- record
clearResults()
Public function to clear the results DataTable
onActionClick(e, p_obj)
Action button click handler
- Parameters:
- {object} e
- DomEvent
- {object} p_obj
- Object passed back from addListener method
onReady()
Fired by YUI when parent element is available for scripting.
Component initialisation, including instantiation of YUI widgets and event listener binding.
Component initialisation, including instantiation of YUI widgets and event listener binding.
onSearchClick(e, p_obj)
Search button click event handler
- Parameters:
- {object} e
- DomEvent
- {object} p_obj
- Object passed back from addListener method