@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, onMailboxContextChange
public boolean isInitialCase() throws ClientException
ClientException
public void removeCaseItem(DocumentModel doc) throws ClientException
doc
- the mail to removeClientException
public DocumentRoutingService getDocumentRoutingService()
public boolean isEmptyCase() throws ClientException
ClientException
public String markAsSent() throws ClientException
ClientException
public String purgeCaseSelection() throws ClientException
ClientException
public boolean isEmptyDraft()
public boolean getCanPurge()
public Boolean getCanEditCurrentCase() throws ClientException
ClientException
public String followTranstionCaseSelection(String transition) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.