public interface AttachmentPermission extends WorkItemAttachment
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SELECTED_ATTACHMENT |
static java.lang.String |
SELECTED_WORK_ITEM |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCreate(java.util.Map session, java.util.Map props)
Determine if repository server supports creating attachments for specified work item.
|
boolean |
canDelete(java.util.Map session, java.util.Map props)
Determine if repository server supports deleting the attachment for specified work item.
|
boolean |
canRename(java.util.Map session, java.util.Map props)
Determine if repository server supports renaming the attachment for specified work item.
|
boolean |
canUpdate(java.util.Map session, java.util.Map props)
Determine if repository server supports updating the attachment for specified work item.
|
deleteAttachment, downloadAttachment, getAttachments, updateAttachmentAttrs, uploadAttachmentstatic final java.lang.String SELECTED_WORK_ITEM
static final java.lang.String SELECTED_ATTACHMENT
boolean canCreate(java.util.Map session,
java.util.Map props)
throws ALMException
session - user session contextprops - contains selected work itemALMException - if failed to determine if repository server supports creating attachment.
boolean canUpdate(java.util.Map session,
java.util.Map props)
throws ALMException
session - user session contextprops - contains selected work item and attachment informationALMException - if failed to determine if repository server supports updating attachment.
boolean canRename(java.util.Map session,
java.util.Map props)
throws ALMException
session - user session contextprops - contains selected work item and attachment informationALMException - if failed to determine if repository server supports renaming attachment.
boolean canDelete(java.util.Map session,
java.util.Map props)
throws ALMException
session - user session contextprops - contains selected work item and attachment informationALMException - if failed to determine if repository server supports creating attachment.