public class TaskAttachmentsProvider extends PortalContainerAttachmentsProvider
Modifier and Type | Field and Description |
---|---|
protected com.webmethods.portal.bizPolicy.ITraits |
cachedTraits |
fAttachmentsList, fContainerID, fContainerThingID, useWebDav
fExpireWithPageFlow
Constructor and Description |
---|
TaskAttachmentsProvider()
Default constructor
|
TaskAttachmentsProvider(String userID)
Constructor with UserID
|
Modifier and Type | Method and Description |
---|---|
protected IContext |
acquireContext() |
protected IThingID |
getContainerThingID()
Returns thingID of the container to store attachments for given task.
|
protected IThingID |
getContainerThingIDNoCreate()
Returns thingID of the container to store attachments for given task.
|
List<IAttachmentItem> |
listAttachments()
Returns a list of the current attachments
|
protected void |
releaseContext(IContext context) |
_listAttachments, encodeWebDavUrl, getContainerID, setContainerID, setWebDavURL
addAttachment, getHasAttachments, isAddAttachmentsAvailable, isUseWebDav, refresh, removeAttachment, setUseWebDav, updateAttachment
getExpireWithPageFlow, setExpireWithPageFlow
public TaskAttachmentsProvider()
public TaskAttachmentsProvider(String userID) throws PortalException
PortalException
protected IThingID getContainerThingID() throws PortalException
getContainerThingID
in class BasePortalContainerAttachmentsProvider
PortalException
protected IThingID getContainerThingIDNoCreate() throws PortalException
PortalException
public List<IAttachmentItem> listAttachments()
IAttachmentsProvider
listAttachments
in interface IAttachmentsProvider
listAttachments
in class BasePortalContainerAttachmentsProvider
protected IContext acquireContext() throws PortalException
acquireContext
in class BasePortalContainerAttachmentsProvider
PortalException
protected void releaseContext(IContext context)
releaseContext
in class BasePortalContainerAttachmentsProvider