|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.cm.mailbox.MailboxImpl
public class MailboxImpl
Mailbox implementation using a document model as backend.
| Constructor Summary | |
|---|---|
MailboxImpl(org.nuxeo.ecm.core.api.DocumentModel doc)
|
|
| Method Summary | |
|---|---|
void |
addMailingList(MailingList ml)
|
void |
addParticipantList(ParticipantsList mailinglist)
Add the given mailing list to this mailbox |
int |
compareTo(Mailbox other)
|
String |
getAffiliatedMailboxId()
|
List<String> |
getAllUsers()
Gets the list of member users of this mailbox. |
List<String> |
getAllUsersAndGroups()
|
List<String> |
getChildrenIds(org.nuxeo.ecm.core.api.CoreSession session)
Returns the children ids of this mailbox |
Integer |
getConfidentiality()
|
String |
getDescription()
Returns description of the mailbox. |
org.nuxeo.ecm.core.api.DocumentModel |
getDocument()
Returns the document model representing this mailbox. |
List<String> |
getFavorites()
Gets the list of mailbox ids used as favorites |
List<String> |
getGroups()
Gets the list of member groups of this mailbox. |
String |
getId()
Returns the mailbox identifier. |
Calendar |
getLastSyncUpdate()
|
List<String> |
getMailingListIds()
|
List<MailingList> |
getMailingLists()
Gets the list of MailingList objects of this mailbox. |
MailingList |
getMailingListTemplate()
Returns a new bare mailing list |
List<String> |
getNotifiedUsers()
Gets a users sublist of delegates that should be notified when new casemanagement has arrived in this mailbox. |
String |
getOrigin()
|
String |
getOwner()
Returns owner of the mailbox. |
String |
getParentId(org.nuxeo.ecm.core.api.CoreSession session)
Returns the parentId of this mailbox |
List<String> |
getParticipantListIds()
Gets the id list of mailing lists of this mailbox. |
List<ParticipantsList> |
getParticipantLists()
Gets the list of ParticipantsList objects of this mailbox. |
ParticipantsList |
getParticipantListTemplate()
Returns a new bare mailing list. |
List<String> |
getProfiles()
Gets profiles for this mailbox |
String |
getSynchronizerId()
|
String |
getSynchronizeState()
|
String |
getTitle()
Returns title of the mailbox. |
String |
getType()
Returns type of the mailbox. |
List<String> |
getUsers()
Gets the list of users (delegates) of this mailbox. |
boolean |
hasProfile(String profile)
Returns true if mailbox has given profile. |
Boolean |
isSynchronized()
|
void |
removeMailingList(String mailingListId)
Removes mailing list with given id from this mailbox. |
void |
removeParticipantList(String mailinglistId)
Removes mailing list with given id from this mailbox. |
void |
save(org.nuxeo.ecm.core.api.CoreSession session)
Persist the Mailbox |
void |
setAffiliatedMailboxId(String mbid)
Sets the affiliated mailbox id. |
void |
setConfidentiality(Integer confidentiality)
Sets the default confidentiality for icoming mails for this mailbox. |
void |
setDescription(String description)
Sets description of the mailbox. |
void |
setFavorites(List<String> favorites)
Sets the list of mailbox ids used as favorites |
void |
setGroups(List<String> groups)
Sets the list of member groups for this mailbox. |
void |
setId(String id)
Sets id of the mailbox. |
void |
setLastSyncUpdate(Calendar now)
Sets the last time this mailbox has been updated by the synchronziation service. |
void |
setNotifiedUsers(List<String> users)
Sets a users sublist of delegates that should be notified when new casemanagement has arrived in this mailbox. |
void |
setOrigin(String origin)
Sets the origin of the Mailbox. |
void |
setOwner(String owner)
Sets owner of the mailbox. |
void |
setProfiles(List<String> profiles)
Sets profiles for this mailbox |
void |
setSynchronizerId(String synchronizerId)
Set the given string parameter as mailbox's synchronizer ID. |
void |
setSynchronizeState(String state)
Sets synchronize state of the mailbox |
void |
setTitle(String title)
Sets title of the mailbox. |
void |
setType(String type)
Sets type of the mailbox. |
void |
setUsers(List<String> users)
Sets the list of users for this mailbox. |
Mailbox |
updateMailingList(MailingList currentMailingList)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MailboxImpl(org.nuxeo.ecm.core.api.DocumentModel doc)
| Method Detail |
|---|
public org.nuxeo.ecm.core.api.DocumentModel getDocument()
Mailbox
getDocument in interface Mailboxpublic MailingList getMailingListTemplate()
Mailbox
getMailingListTemplate in interface Mailboxpublic void addMailingList(MailingList ml)
addMailingList in interface Mailboxpublic List<String> getUsers()
Mailbox
getUsers in interface Mailboxpublic String getDescription()
Mailbox
getDescription in interface Mailbox
public List<String> getFavorites()
throws CaseManagementException
Mailbox
getFavorites in interface MailboxCaseManagementExceptionpublic List<String> getGroups()
Mailbox
getGroups in interface Mailboxpublic String getId()
Mailbox
getId in interface Mailboxpublic void setId(String id)
Mailbox
setId in interface Mailboxpublic List<String> getMailingListIds()
getMailingListIds in interface Mailboxpublic List<MailingList> getMailingLists()
MailboxMailingList objects of this mailbox.
getMailingLists in interface Mailboxpublic Mailbox updateMailingList(MailingList currentMailingList)
updateMailingList in interface Mailboxpublic List<String> getNotifiedUsers()
Mailbox
getNotifiedUsers in interface Mailboxpublic String getOwner()
Mailbox
getOwner in interface Mailboxpublic List<String> getProfiles()
Mailbox
getProfiles in interface Mailboxpublic String getTitle()
Mailbox
getTitle in interface Mailboxpublic String getType()
Mailbox
getType in interface Mailboxpublic List<String> getAllUsers()
MailboxContains delegates and owner.
getAllUsers in interface Mailboxpublic boolean hasProfile(String profile)
Mailbox
hasProfile in interface Mailboxpublic void removeMailingList(String mailingListId)
Mailbox
removeMailingList in interface Mailboxpublic void setUsers(List<String> users)
Mailbox
setUsers in interface Mailboxpublic void setDescription(String description)
Mailbox
setDescription in interface Mailbox
public void setFavorites(List<String> favorites)
throws CaseManagementException
Mailbox
setFavorites in interface MailboxCaseManagementExceptionpublic void setGroups(List<String> groups)
Mailbox
setGroups in interface Mailboxpublic void setNotifiedUsers(List<String> users)
Mailbox
setNotifiedUsers in interface Mailboxpublic void setOwner(String owner)
Mailbox
setOwner in interface Mailboxpublic void setProfiles(List<String> profiles)
Mailbox
setProfiles in interface Mailboxpublic void setTitle(String title)
Mailbox
setTitle in interface Mailboxpublic void setType(String type)
Mailbox
setType in interface Mailboxpublic void setConfidentiality(Integer confidentiality)
Mailbox
setConfidentiality in interface Mailboxpublic Integer getConfidentiality()
getConfidentiality in interface Mailboxpublic int compareTo(Mailbox other)
compareTo in interface Comparable<Mailbox>public void save(org.nuxeo.ecm.core.api.CoreSession session)
Mailbox
save in interface Mailboxpublic String getParentId(org.nuxeo.ecm.core.api.CoreSession session)
Mailbox
getParentId in interface Mailboxpublic List<String> getChildrenIds(org.nuxeo.ecm.core.api.CoreSession session)
Mailbox
getChildrenIds in interface Mailboxpublic List<String> getAllUsersAndGroups()
getAllUsersAndGroups in interface Mailboxpublic String getAffiliatedMailboxId()
getAffiliatedMailboxId in interface Mailboxpublic void setAffiliatedMailboxId(String mbid)
Mailbox
setAffiliatedMailboxId in interface Mailboxpublic String getSynchronizeState()
getSynchronizeState in interface Mailboxpublic void setSynchronizeState(String state)
Mailbox
setSynchronizeState in interface Mailboxpublic Boolean isSynchronized()
isSynchronized in interface Mailboxpublic String getSynchronizerId()
getSynchronizerId in interface Mailboxpublic void setSynchronizerId(String synchronizerId)
Mailbox
setSynchronizerId in interface Mailboxpublic Calendar getLastSyncUpdate()
getLastSyncUpdate in interface Mailboxpublic void setLastSyncUpdate(Calendar now)
Mailbox
setLastSyncUpdate in interface Mailboxpublic String getOrigin()
getOrigin in interface Mailboxpublic void setOrigin(String origin)
Mailbox
setOrigin in interface Mailboxpublic List<String> getParticipantListIds()
Mailbox
getParticipantListIds in interface Mailboxpublic List<ParticipantsList> getParticipantLists()
MailboxParticipantsList objects of this mailbox.
getParticipantLists in interface Mailboxpublic ParticipantsList getParticipantListTemplate()
Mailbox
getParticipantListTemplate in interface Mailboxpublic void addParticipantList(ParticipantsList mailinglist)
Mailbox
addParticipantList in interface Mailboxmailinglist - the mailing list to addpublic void removeParticipantList(String mailinglistId)
Mailbox
removeParticipantList in interface Mailbox
|
Nuxeo Enterprise Platform 5.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||