public interface Mailbox extends Serializable, Comparable<Mailbox>
Modifier and Type | Method and Description |
---|---|
void |
addMailingList(MailingList mailinglist) |
void |
addParticipantList(ParticipantsList mailinglist)
Deprecated.
|
String |
getAffiliatedMailboxId() |
List<String> |
getAllUsers()
Gets the list of member users of this mailbox.
|
List<String> |
getAllUsersAndGroups() |
List<String> |
getChildrenIds(CoreSession session)
Returns the children ids of this mailbox
|
Integer |
getConfidentiality() |
String |
getDescription()
Returns description of the mailbox.
|
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(CoreSession session)
Returns the parentId of this mailbox
|
List<String> |
getParticipantListIds()
Deprecated.
since 1.7: use
getMailingListIds() instead. |
List<ParticipantsList> |
getParticipantLists()
Deprecated.
since 1.7: use
getMailingLists() instead. |
ParticipantsList |
getParticipantListTemplate()
Deprecated.
since 1.7, use
getMailingListTemplate() instead. |
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)
Deprecated.
since 1.7: use
removeMailingList(String) instead. |
void |
save(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) |
compareTo
DocumentModel getDocument()
String getId()
void setId(String id)
String getTitle()
void setTitle(String title)
String getDescription()
void setDescription(String description)
String getType()
void setType(String type)
String getOwner()
void setOwner(String owner)
List<String> getAllUsers()
Contains delegates and owner.
List<String> getNotifiedUsers()
void setNotifiedUsers(List<String> users)
List<String> getFavorites() throws CaseManagementException
CaseManagementException
void setFavorites(List<String> favorites) throws CaseManagementException
CaseManagementException
@Deprecated List<String> getParticipantListIds()
getMailingListIds()
instead.@Deprecated List<ParticipantsList> getParticipantLists()
getMailingLists()
instead.ParticipantsList
objects of this mailbox.List<MailingList> getMailingLists()
MailingList
objects of this mailbox.@Deprecated ParticipantsList getParticipantListTemplate()
getMailingListTemplate()
instead.MailingList getMailingListTemplate()
@Deprecated void addParticipantList(ParticipantsList mailinglist)
mailinglist
- the mailing list to addvoid addMailingList(MailingList mailinglist)
@Deprecated void removeParticipantList(String mailinglistId)
removeMailingList(String)
instead.void removeMailingList(String mailingListId)
void setProfiles(List<String> profiles)
profiles
- boolean hasProfile(String profile)
void setConfidentiality(Integer confidentiality)
Integer getConfidentiality()
void save(CoreSession session)
session
- String getParentId(CoreSession session)
List<String> getChildrenIds(CoreSession session)
String getAffiliatedMailboxId()
void setAffiliatedMailboxId(String mbid)
String getSynchronizeState()
void setSynchronizeState(String state)
Boolean isSynchronized()
String getSynchronizerId()
void setSynchronizerId(String synchronizerId)
synchronizerId
- Calendar getLastSyncUpdate()
void setLastSyncUpdate(Calendar now)
now
- String getOrigin()
void setOrigin(String origin)
origin
- Mailbox updateMailingList(MailingList currentMailingList)
currentMailingList
- Copyright © 2011 Nuxeo SA. All Rights Reserved.