@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, onMailboxContextChange
public Object getMailboxSuggestions(Object input) throws ClientException
ClientException
@Factory(value="userMailboxes", scope=EVENT) public List<Mailbox> getUserMailboxes() throws CaseManagementException
CaseManagementException
public void validateMailboxId(FacesContext context, UIComponent component, Object value)
public void validatePersonalMailboxCreation(FacesContext context, UIComponent component, Object value)
public String updateCurrentMailbox() throws ClientException
ClientException
public String createMailbox() throws CaseManagementException
CaseManagementException
public String getParentMailboxId()
public void setParentMailboxId(String parentMailboxId)
public void resetParentMailboxId()
public Boolean isGenericMailbox() throws ClientException
ClientException
public String addCaseItem(String type) throws ClientException
ClientException
public String createDraftCaseItem(String type) throws ClientException
ClientException
public void updateManagerTabMailbox() throws ClientException
ClientException
public String getCurrentMailboxParent() throws ClientException
ClientException
public String openDraft(String envelopeId) throws ClientException
ClientException
public String readCaseLink(String caseLinkId, String caseDocumentId, Boolean read) throws ClientException
ClientException
public boolean getCurrentMailboxHasProfile(String mailboxProfile) throws ClientException
ClientException
Copyright © 2013 Nuxeo SA. All Rights Reserved.