Class Index | File Index

Classes


Class Alfresco.DocumentPublishing

Extends Alfresco.component.Base
Document Details Publishing History component.
Constructor Summary
Constructor Attributes Constructor Name and Description
 
DocumentPublishing constructor.
Field Summary
Field Attributes Field Name and Description
 
Object container for initialization options
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Refresh component in response to metadataRefresh event
 
Builds and returns the markup for a version.
 
Fired by YUI when parent element is available for scripting
 
onUnpublishClick(nodeRef, actionEl)
Triggered by the unpublish channel action button
 
Called when the Ajax call to the Delete API succeeds.
 
renderCellPublishingEvent(elCell, oRecord, oColumn, oData)
Publishing Event renderer
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.DocumentPublishing(htmlId)
DocumentPublishing constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.DocumentPublishing} The new component instance
Field Detail
{object literal} options
Object container for initialization options
Method Detail
doRefresh()
Refresh component in response to metadataRefresh event

getDocumentPublishingEventMarkup(doc)
Builds and returns the markup for a version.
Parameters:
{Object} doc
The details for the document

onReady()
Fired by YUI when parent element is available for scripting

onUnpublishClick(nodeRef, actionEl)
Triggered by the unpublish channel action button
makes a remote API call the publishing service and adds an unpublish event for this node to the publishing queue.
Parameters:
nodeRef
actionEl

onUnpublishSuccess(response)
Called when the Ajax call to the Delete API succeeds.
Parameters:
{Object} response

renderCellPublishingEvent(elCell, oRecord, oColumn, oData)
Publishing Event renderer
Parameters:
elCell
oRecord
oColumn
oData

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