Class ecm.widget.process.WorkItemAttachmentsPane


Extends dijit._Widget.
Provides a widget that is used to view or edit work item attachments.
Defined in: <ecm\widget\process\WorkItemAttachmentsPane.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
 
getAttachmentField(attachmentName, value)
Returns an object holding the attachment property information.
 
Returns an array of attachment field objects that have been modified.
 
An event function called after the widget is finished rendering.
 
 
Function to resize the widget.
 
selectAttachmentItem(attachmentItem)
Sets the attachment tree selected item to the passed in attachment item.
 
setItem(item)
Called to set the work item object into the attachments pane.

Constructor Detail

ecm.widget.process.WorkItemAttachmentsPane()

Method Detail

destroy()


{Object} getAttachmentField(attachmentName, value)

Returns an object holding the attachment property information.
Parameters:
attachmentName
A string holding the attachment field name.
value
The attachment field value.
Returns:
{Object} holding attachment property information.

{Object} getModifiedAttachments()

Returns an array of attachment field objects that have been modified.
Returns:
{Object} array holding modified attachment properties

onCompleteRendering()

An event function called after the widget is finished rendering.

postCreate()


resize()

Function to resize the widget.

selectAttachmentItem(attachmentItem)

Sets the attachment tree selected item to the passed in attachment item. Nothing will be selected if the attachment item is not found in the work item.
Parameters:
attachmentItem
A ecm.model.AttachmentItem object.
Since:
2.0.2

setItem(item)

Called to set the work item object into the attachments pane.
Parameters:
item
A ecm.model.WorkItem object.