@Name(value="cmCaseActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class CaseManagementCaseActionsBean extends CaseManagementContextBoundInstance
| Constructor and Description |
|---|
CaseManagementCaseActionsBean() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
canCaseSelectionFollowTransition(String transition) |
String |
followTranstionCaseSelection(String transition) |
Boolean |
getCanEditCurrentCase() |
boolean |
getCanPurge() |
DocumentRoutingService |
getDocumentRoutingService() |
boolean |
isEmptyCase()
Returns true if we have an empty case
|
boolean |
isEmptyDraft() |
boolean |
isInitialCase() |
String |
markAsSent() |
String |
purgeCaseSelection() |
void |
RemoveCaseItem()
Removes a mail from the current envelope.
|
void |
removeCaseItem(DocumentModel doc)
Removes a mail from the current envelope.
|
getCachedCase, getCachedCaseItem, getCachedMailbox, getCurrentCase, getCurrentCaseItem, getCurrentClassificationRoot, getCurrentMailbox, getCurrentRouteRoot, onMailboxContextChangepublic boolean isInitialCase()
throws ClientException
ClientExceptionpublic void removeCaseItem(DocumentModel doc) throws ClientException
doc - the mail to removeClientExceptionpublic DocumentRoutingService getDocumentRoutingService()
public boolean isEmptyCase()
throws ClientException
ClientExceptionpublic String markAsSent() throws ClientException
ClientExceptionpublic String purgeCaseSelection() throws ClientException
ClientExceptionpublic boolean isEmptyDraft()
public boolean getCanPurge()
public Boolean getCanEditCurrentCase() throws ClientException
ClientExceptionpublic String followTranstionCaseSelection(String transition) throws ClientException
ClientExceptionCopyright © 2013 Nuxeo SA. All Rights Reserved.