@Name(value="cmMailboxActions") @Scope(value=CONVERSATION) public class CaseManagementMailboxActionsBean extends CaseManagementContextBoundInstance
| Constructor and Description |
|---|
CaseManagementMailboxActionsBean() |
| Modifier and Type | Method and Description |
|---|---|
String |
addCaseItem(String type)
Creates a mail draft mail.
|
String |
createDraftCaseItem(String type)
Creates a mail draft mail.
|
String |
createMailbox()
Creates a new document mailBox document with the parent given by
parentMailboxId
|
boolean |
getCurrentMailboxHasProfile(String mailboxProfile) |
String |
getCurrentMailboxParent() |
Object |
getMailboxSuggestions(Object input) |
String |
getParentMailboxId() |
List<Mailbox> |
getUserMailboxes()
Returns all mailboxes for logged user.
|
Boolean |
isGenericMailbox() |
String |
openDraft(String envelopeId) |
String |
readCaseLink(String caseLinkId,
String caseDocumentId,
Boolean read) |
void |
resetParentMailboxId() |
void |
setParentMailboxId(String parentMailboxId) |
String |
updateCurrentMailbox()
Update the mailbox and reset ViewMailboxAction tabs.
|
void |
updateManagerTabMailbox()
Updates the current mailbox
|
void |
validateMailboxId(FacesContext context,
UIComponent component,
Object value)
Performs a validation error when trying to set a mailbox id that already
exists in the system.
|
void |
validatePersonalMailboxCreation(FacesContext context,
UIComponent component,
Object value)
Performs a validation error when trying to create a personal mailbox for
a user that already has one.
|
getCachedCase, getCachedCaseItem, getCachedMailbox, getCurrentCase, getCurrentCaseItem, getCurrentClassificationRoot, getCurrentMailbox, getCurrentRouteRoot, onMailboxContextChangepublic Object getMailboxSuggestions(Object input) throws ClientException
ClientException@Factory(value="userMailboxes", scope=EVENT) public List<Mailbox> getUserMailboxes() throws CaseManagementException
CaseManagementExceptionpublic void validateMailboxId(FacesContext context, UIComponent component, Object value)
public void validatePersonalMailboxCreation(FacesContext context, UIComponent component, Object value)
public String updateCurrentMailbox() throws ClientException
ClientExceptionpublic String createMailbox() throws CaseManagementException
CaseManagementExceptionpublic String getParentMailboxId()
public void setParentMailboxId(String parentMailboxId)
public void resetParentMailboxId()
public Boolean isGenericMailbox() throws ClientException
ClientExceptionpublic String addCaseItem(String type) throws ClientException
ClientExceptionpublic String createDraftCaseItem(String type) throws ClientException
ClientExceptionpublic void updateManagerTabMailbox()
throws ClientException
ClientExceptionpublic String getCurrentMailboxParent() throws ClientException
ClientExceptionpublic String openDraft(String envelopeId) throws ClientException
ClientExceptionpublic String readCaseLink(String caseLinkId, String caseDocumentId, Boolean read) throws ClientException
ClientExceptionpublic boolean getCurrentMailboxHasProfile(String mailboxProfile) throws ClientException
ClientExceptionCopyright © 2012 Nuxeo SA. All Rights Reserved.