Class Alfresco.dashlet.Activities
Extends Alfresco.component.Base
Dashboard Activities common component.
Defined in: activities.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Alfresco.dashlet.Activities(htmlId)
Dashboard Activities constructor.
|
| Field Attributes | Field Name and Description |
|---|---|
|
Activity list DOM container.
|
|
|
URL to the RSS feed
|
|
|
Object container for initialization options
|
- Fields borrowed from class Alfresco.component.Base:
- modules, services, widgets
| Method Attributes | Method Name and Description |
|---|---|
|
buildPreferences(suffix)
Build the Activities dashlet preferences name string with optional suffix.
|
|
|
onActivitiesFilterChanged(p_sType, p_aArgs)
Activities drop-down changed event handler
|
|
|
onDateFilterChanged(p_sType, p_aArgs)
Date drop-down changed event handler
|
|
|
onExclusionFilterChanged(p_sType, p_aArgs)
Exclusion drop-down changed event handler
|
|
|
onListLoaded(p_response, p_obj)
List loaded successfully
|
|
|
List load failed
|
|
|
onReady()
Fired by YUI when parent element is available for scripting
|
|
|
populateActivityList(dateFilter, userFilter, activityFilter)
Populate the activity list via Ajax request
|
|
|
updateFeedLink(dateFilter, userFilter, activityFilter)
Sets the the feed link
|
- Methods borrowed from class Alfresco.component.Base:
- attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.dashlet.Activities(htmlId)
Dashboard Activities constructor.
- Parameters:
- {String} htmlId
- The HTML id of the parent element
- Returns:
- {Alfresco.dashlet.Activities} The new component instance
Field Detail
{object}
activityList
Activity list DOM container.
{String}
link
URL to the RSS feed
{object}
options
Object container for initialization options
Method Detail
buildPreferences(suffix)
Build the Activities dashlet preferences name string with optional suffix.
The component region ID and the current siteId (if any) is used as part of the
preferences name - to uniquely identify the preference within the site or user
dashboard context.
The component region ID and the current siteId (if any) is used as part of the
preferences name - to uniquely identify the preference within the site or user
dashboard context.
- Parameters:
- {string} suffix
- optional suffix to append to the preferences name
onActivitiesFilterChanged(p_sType, p_aArgs)
Activities drop-down changed event handler
- Parameters:
- {string} p_sType
- The event
- {array} p_aArgs
- Event arguments
onDateFilterChanged(p_sType, p_aArgs)
Date drop-down changed event handler
- Parameters:
- {string} p_sType
- The event
- {array} p_aArgs
- Event arguments
onExclusionFilterChanged(p_sType, p_aArgs)
Exclusion drop-down changed event handler
- Parameters:
- {string} p_sType
- The event
- {array} p_aArgs
- Event arguments
onListLoaded(p_response, p_obj)
List loaded successfully
- Parameters:
- {object} p_response
- Response object from request
- p_obj
onListLoadFailed()
List load failed
onReady()
Fired by YUI when parent element is available for scripting
openFeedLink()
populateActivityList(dateFilter, userFilter, activityFilter)
Populate the activity list via Ajax request
- Parameters:
- dateFilter
- userFilter
- activityFilter
updateFeedLink(dateFilter, userFilter, activityFilter)
Sets the the feed link
- Parameters:
- dateFilter
- userFilter
- activityFilter