org.nuxeo.cm.web.cases
Class CaseManagementCaseActionsBean
java.lang.Object
org.nuxeo.cm.web.invalidations.CaseManagementContextBoundInstance
org.nuxeo.cm.web.cases.CaseManagementCaseActionsBean
- All Implemented Interfaces:
- Serializable, CaseManagementContextHolder
@Name(value="cmCaseActions")
@Scope(value=CONVERSATION)
@Install(precedence=10)
public class CaseManagementCaseActionsBean
- extends CaseManagementContextBoundInstance
- Author:
- Nicolas Ulrich
- See Also:
- Serialized Form
CaseManagementCaseActionsBean
public CaseManagementCaseActionsBean()
isInitialCase
public boolean isInitialCase()
throws org.nuxeo.ecm.core.api.ClientException
- Returns:
- true if this envelope is still in draft
- Throws:
org.nuxeo.ecm.core.api.ClientException
removeCaseItem
public void removeCaseItem(org.nuxeo.ecm.core.api.DocumentModel doc)
throws org.nuxeo.ecm.core.api.ClientException
- Removes a mail from the current envelope.
- Parameters:
doc
- the mail to remove
- Throws:
org.nuxeo.ecm.core.api.ClientException
getDocumentRoutingService
public org.nuxeo.ecm.platform.routing.api.DocumentRoutingService getDocumentRoutingService()
isEmptyCase
public boolean isEmptyCase()
throws org.nuxeo.ecm.core.api.ClientException
- Returns true if we have an empty case
- Throws:
org.nuxeo.ecm.core.api.ClientException
markAsSent
public String markAsSent()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
purgeCaseSelection
public String purgeCaseSelection()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isEmptyDraft
public boolean isEmptyDraft()
getCanPurge
public boolean getCanPurge()
getCanEditCurrentCase
public Boolean getCanEditCurrentCase()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
canCaseSelectionFollowTransition
public Boolean canCaseSelectionFollowTransition(String transition)
followTranstionCaseSelection
public String followTranstionCaseSelection(String transition)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.