Nuxeo Enterprise Platform 5.4

org.nuxeo.correspondence.web.mailbox
Class CorrespondenceMailboxActionsBean

java.lang.Object
  extended by org.nuxeo.cm.web.invalidations.CaseManagementContextBoundInstance
      extended by 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

Constructor Summary
CorrespondenceMailboxActionsBean()
           
 
Method Summary
 boolean hasCurrentCaseFacet(String facet)
           
 boolean isIncomingEnvelope()
          Check if the current envelope display an incoming mail
 boolean isIncomingInitialEnvelope()
           
 String openDraft(String envelopeId)
           
 
Methods inherited from class org.nuxeo.cm.web.invalidations.CaseManagementContextBoundInstance
getCachedCase, getCachedCaseItem, getCachedMailbox, getCurrentCase, getCurrentCaseItem, getCurrentMailbox, onMailboxContextChange
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrespondenceMailboxActionsBean

public CorrespondenceMailboxActionsBean()
Method Detail

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

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.