public class PortalContainerAttachmentsProvider extends BasePortalContainerAttachmentsProvider
CHARSET_EQUALS, DEFAULT_MIME_PROPERTIES, fAttachmentsList, fContainerID, fContainerThingID, m_mimeExtensions, MIME_CONFIG_FILE, useWebDav
fExpireWithPageFlow
Constructor and Description |
---|
PortalContainerAttachmentsProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
_listAttachments(IThingID parentID)
Builds the list of attachments
|
protected static String |
encodeWebDavUrl(String value)
Encodes the value as a WebDavUrl
|
String |
getContainerID()
Returns the id of the attachments container
|
void |
setContainerID(String containerID)
Sets the id of the attachments container
|
protected String |
setWebDavURL(IThingID parentId)
Gets the base WebDav URL for the specified parent thing
|
acquireContext, addAttachment, getContainerThingID, getEncoding, getHasAttachments, isAddAttachmentsAvailable, isUseWebDav, listAttachments, refresh, releaseContext, removeAttachment, setUseWebDav, updateAttachment
getExpireWithPageFlow, setExpireWithPageFlow
public String getContainerID()
getContainerID
in class BasePortalContainerAttachmentsProvider
public void setContainerID(String containerID)
setContainerID
in class BasePortalContainerAttachmentsProvider
containerID
- the container idprotected void _listAttachments(IThingID parentID) throws PortalException
_listAttachments
in class BasePortalContainerAttachmentsProvider
parentID
- the thingID of the parent containerPortalException
protected String setWebDavURL(IThingID parentId)
parentId
- the thingID of the parent