public class UserMailIdentities extends java.lang.Object implements IUserMailIdentities
Constructor and Description |
---|
UserMailIdentities(BmContext context,
ItemValue<Domain> domain,
Container usersContainer,
java.lang.String userUid) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String id,
UserMailIdentity identity)
Create an
Identity . |
void |
delete(java.lang.String id)
Delete an existing
UserMailIdentity . |
UserMailIdentity |
get(java.lang.String id)
Retrieve an existing
UserMailIdentity |
java.util.List<IdentityDescription> |
getAvailableIdentities()
Retrieve mailbox
Identity s |
java.util.List<IdentityDescription> |
getIdentities()
Retrieve user
UserMailIdentity s |
void |
setDefault(java.lang.String id) |
void |
update(java.lang.String id,
UserMailIdentity identity)
Update an existing
UserMailIdentity . |
public UserMailIdentities(BmContext context, ItemValue<Domain> domain, Container usersContainer, java.lang.String userUid) throws ServerFault
ServerFault
public void create(java.lang.String id, UserMailIdentity identity) throws ServerFault
IUserMailIdentities
Identity
. An UserMailIdentity
can be used by a
user to set the from header in a mail and add a signature.create
in interface IUserMailIdentities
ServerFault
public void update(java.lang.String id, UserMailIdentity identity) throws ServerFault
IUserMailIdentities
UserMailIdentity
. An UserMailIdentity
can be used by a user to set the from header in a mail and add a
signature.update
in interface IUserMailIdentities
ServerFault
public void delete(java.lang.String id) throws ServerFault
IUserMailIdentities
UserMailIdentity
.delete
in interface IUserMailIdentities
ServerFault
public UserMailIdentity get(java.lang.String id) throws ServerFault
IUserMailIdentities
UserMailIdentity
get
in interface IUserMailIdentities
ServerFault
public java.util.List<IdentityDescription> getIdentities() throws ServerFault
IUserMailIdentities
UserMailIdentity
sgetIdentities
in interface IUserMailIdentities
ServerFault
public java.util.List<IdentityDescription> getAvailableIdentities() throws ServerFault
IUserMailIdentities
Identity
sgetAvailableIdentities
in interface IUserMailIdentities
ServerFault
public void setDefault(java.lang.String id) throws ServerFault
setDefault
in interface IUserMailIdentities
ServerFault
Copyright © 2021. All Rights Reserved.