com.webmethods.caf.faces.data.task
Class TaskAttachmentsProvider
java.lang.Object
com.webmethods.caf.faces.bean.PageFlowScopeAdapter
com.webmethods.caf.faces.data.attachments.BasePortalContainerAttachmentsProvider
com.webmethods.caf.faces.data.attachments.PortalContainerAttachmentsProvider
com.webmethods.caf.faces.data.task.TaskAttachmentsProvider
- All Implemented Interfaces:
- IPageFlowScopeAdapter, IAttachmentsProvider, IWebDavAwareAttachmentsProvider, Serializable
public class TaskAttachmentsProvider
- extends PortalContainerAttachmentsProvider
Specialized attachments provider to work with task instances. It implements various type of attachments storage
for tasks
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cachedTraits
protected ITraits cachedTraits
TaskAttachmentsProvider
public TaskAttachmentsProvider()
- Default constructor
TaskAttachmentsProvider
public TaskAttachmentsProvider(String userID)
throws PortalException
- Constructor with UserID
- Throws:
PortalException
getContainerThingID
protected IThingID getContainerThingID()
throws PortalException
- Returns thingID of the container to store attachments for given task.
If container does not exist it will be created
- Overrides:
getContainerThingID
in class BasePortalContainerAttachmentsProvider
- Throws:
PortalException
getContainerThingIDNoCreate
protected IThingID getContainerThingIDNoCreate()
throws PortalException
- Returns thingID of the container to store attachments for given task.
If container does not exist null will be returned
- Throws:
PortalException
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 BasePortalContainerAttachmentsProvider
- Returns:
- collection of AttachmentItems
acquireContext
protected IContext acquireContext()
throws PortalException
- Overrides:
acquireContext
in class BasePortalContainerAttachmentsProvider
- Throws:
PortalException
releaseContext
protected void releaseContext(IContext context)
- Overrides:
releaseContext
in class BasePortalContainerAttachmentsProvider