org.nuxeo.correspondence.web.mailbox
Class CorrespondenceMailboxActionsBean
java.lang.Object
org.nuxeo.cm.web.invalidations.CaseManagementContextBoundInstance
org.nuxeo.correspondence.web.mailbox.CorrespondenceMailboxActionsBean
- All Implemented Interfaces:
- Serializable, CaseManagementContextHolder
@Name(value="correspMailboxActions")
@Scope(value=CONVERSATION)
public class CorrespondenceMailboxActionsBean
- extends CaseManagementContextBoundInstance
- implements Serializable
- Author:
- Nicolas Ulrich
- See Also:
- Serialized Form
CorrespondenceMailboxActionsBean
public CorrespondenceMailboxActionsBean()
isIncomingInitialEnvelope
public boolean isIncomingInitialEnvelope()
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
isIncomingEnvelope
public boolean isIncomingEnvelope()
throws org.nuxeo.ecm.core.api.ClientException
- Check if the current envelope display an incoming mail
- Returns:
- true if it's an incoming mail
- Throws:
org.nuxeo.ecm.core.api.ClientException
hasCurrentCaseFacet
public boolean hasCurrentCaseFacet(String facet)
throws org.nuxeo.ecm.core.api.ClientException
- Parameters:
facet
-
- Returns:
- true if the first caseItem of the current envelope has the given
facet.
- Throws:
org.nuxeo.ecm.core.api.ClientException
openDraft
public String openDraft(String envelopeId)
throws org.nuxeo.ecm.core.api.ClientException
- Throws:
org.nuxeo.ecm.core.api.ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.