com.webmethods.caf.faces.data.task
Class TaskJcrAttachmentsProvider

java.lang.Object
  extended by com.webmethods.caf.faces.bean.PageFlowScopeAdapter
      extended by com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider
          extended by com.webmethods.caf.faces.data.task.TaskJcrAttachmentsProvider
All Implemented Interfaces:
IPageFlowScopeAdapter, IAttachmentsProvider, IWebDavAwareAttachmentsProvider, Serializable

public class TaskJcrAttachmentsProvider
extends JcrAttachmentsProvider

Specialized attachments provider to work with task instances. It implements various type of attachments storage for tasks via JCR. Implements the same functionality as TaskAttachmentsProvider

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider
JcrAttachmentsProvider.ErrorReportingMode, JcrAttachmentsProvider.JcrAttachmentItem, JcrAttachmentsProvider.JcrFileItem
 
Field Summary
 
Fields inherited from class com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider
autoSave, iconBaseUrl, jcrFileServletPath, jcrSession, parentId, parentNode, parentPath, useWebDav
 
Fields inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
fExpireWithPageFlow
 
Constructor Summary
TaskJcrAttachmentsProvider()
           
 
Method Summary
 Node getParentNode()
          Returns a reference to the JCR Node that is the parent of the attachments.
 List listAttachments()
          Returns a list of the current attachments
 
Methods inherited from class com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider
addAttachment, getHasAttachments, getIconBaseUrl, getJcrFileServletPath, getJcrSession, getParentId, getParentPath, getSafeFileName, isAddAttachmentsAvailable, isAutoSave, isUseWebDav, refresh, removeAttachment, reportError, safeNodeSave, sanityCheck, setAutoSave, setIconBaseUrl, setJcrFileServletPath, setJcrSession, setParentId, setParentPath, setUseWebDav, updateAttachment
 
Methods inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
getExpireWithPageFlow, setExpireWithPageFlow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskJcrAttachmentsProvider

public TaskJcrAttachmentsProvider()
Method Detail

getParentNode

public Node getParentNode()
Description copied from class: JcrAttachmentsProvider
Returns a reference to the JCR Node that is the parent of the attachments.

Overrides:
getParentNode in class JcrAttachmentsProvider
Returns:
the parentNode

listAttachments

public List listAttachments()
Description copied from interface: IAttachmentsProvider
Returns a list of the current attachments

Specified by:
listAttachments in interface IAttachmentsProvider
Overrides:
listAttachments in class JcrAttachmentsProvider
Returns:
collection of AttachmentItems