public class MailboxIdentityService extends java.lang.Object implements IMailboxIdentity
Constructor and Description |
---|
MailboxIdentityService(BmContext context,
Container mboxesContainer,
Container boxContainer,
Item mboxItem,
Mailbox mboxValue,
Domain domain) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String id,
Identity identity)
Create an
Identity . |
void |
delete(java.lang.String id)
Delete an existing
Identity . |
Identity |
get(java.lang.String id)
Retrieve an existing
Identity |
java.util.List<IdentityDescription> |
getIdentities()
Retrieve mailbox
Identity s |
java.util.List<IdentityDescription> |
getPossibleIdentities()
Retrieve all possible mailbox
Identity s (for each email defined
in mailbox even if no identies are defined ( if identity doesnt exists
for one mail, IdentityDescription.id will be null |
void |
update(java.lang.String id,
Identity identity)
Update an existing
Identity . |
public MailboxIdentityService(BmContext context, Container mboxesContainer, Container boxContainer, Item mboxItem, Mailbox mboxValue, Domain domain) throws ServerFault
ServerFault
public void create(java.lang.String id, Identity identity) throws ServerFault
IMailboxIdentity
Identity
. An Identity
can be used by a user to
set the from header in a mail and add a signature.create
in interface IMailboxIdentity
ServerFault
public void update(java.lang.String id, Identity identity) throws ServerFault
IMailboxIdentity
Identity
. An Identity
can be used by a
user to set the from header in a mail and add a signature.update
in interface IMailboxIdentity
ServerFault
public void delete(java.lang.String id) throws ServerFault
IMailboxIdentity
Identity
.delete
in interface IMailboxIdentity
ServerFault
public Identity get(java.lang.String id) throws ServerFault
IMailboxIdentity
Identity
get
in interface IMailboxIdentity
ServerFault
public java.util.List<IdentityDescription> getIdentities() throws ServerFault
IMailboxIdentity
Identity
sgetIdentities
in interface IMailboxIdentity
ServerFault
public java.util.List<IdentityDescription> getPossibleIdentities() throws ServerFault
IMailboxIdentity
Identity
s (for each email defined
in mailbox even if no identies are defined ( if identity doesnt exists
for one mail, IdentityDescription.id
will be nullgetPossibleIdentities
in interface IMailboxIdentity
ServerFault
Copyright © 2021. All Rights Reserved.