com.webmethods.caf.faces.data.task
Class TaskJcrAttachmentsProvider
java.lang.Object
com.webmethods.caf.faces.bean.PageFlowScopeAdapter
com.webmethods.caf.jcr.faces.data.JcrAttachmentsProvider
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaskJcrAttachmentsProvider
public TaskJcrAttachmentsProvider()
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