Class Index | File Index

Classes


Class Alfresco.module.DoclibAspects

Extends Alfresco.module.SimpleDialog
Document Library "Details" module for Document Library.
Field Summary
Field Attributes Field Name and Description
 
Those that are currently applied to the object in the repository.
 
Keeps a list of selected values for evaluating added and removed values.
Fields borrowed from class Alfresco.module.SimpleDialog:
dialog, form, isFormOwner, options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Interceptor just before Ajax request is sent
 
doBeforeDialogShow(p_form, p_this, p_obj)
Interceptor just before dialog is shown
 
Returns an array of values that have been added to the current values
 
Returns an array of values that have been removed from the current values
 
i18n(aspect, scope)
Return i18n string for given aspect
 
renderItem(item, template)
Render item using a passed-in template
 
Set multiple initialization options at once.
Methods borrowed from class Alfresco.module.SimpleDialog:
hide, onBeforeFormRuntimeInit, onCancel, onFailure, onHideEvent, onSuccess, onTemplateLoaded, show
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages
Field Detail
{object} currentValues
Those that are currently applied to the object in the repository.

{object} selectedValues
Keeps a list of selected values for evaluating added and removed values.
Method Detail
{boolean} doBeforeAjaxRequest(p_config)
Interceptor just before Ajax request is sent
Parameters:
{object} p_config
Object literal containing request config
Returns:
{boolean} True to continue sending form, False to prevent it

doBeforeDialogShow(p_form, p_this, p_obj)
Interceptor just before dialog is shown
Parameters:
{object} p_form
The forms runtime instance
{object} p_this
Caller scope
{object} p_obj
Optional - arbitrary object passed through

{array} getAddedValues()
Returns an array of values that have been added to the current values
Returns:
{array}

{array} getRemovedValues()
Returns an array of values that have been removed from the current values
Returns:
{array}

{string} i18n(aspect, scope)
Return i18n string for given aspect
Parameters:
{string} aspect
The aspect qName
{object} scope
Optional - Scope if 'this' is not the component instance
Returns:
{string} The custom message

renderItem(item, template)
Render item using a passed-in template
Parameters:
{object} item
Item object literal
{string} template
String with "{parameter}" style placeholders

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

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