public class UserMailIdentities extends java.lang.Object implements IUserMailIdentities
Constructor and Description |
---|
UserMailIdentities(BmContext context,
ItemValue<Domain> domain,
Container usersContainer,
java.lang.String userUid,
java.util.List<IUserMailIdentityHook> hooks) |
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, java.util.List<IUserMailIdentityHook> hooks)
public void create(java.lang.String id, UserMailIdentity identity)
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
public void update(java.lang.String id, UserMailIdentity identity)
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
public void delete(java.lang.String id)
IUserMailIdentities
UserMailIdentity
.delete
in interface IUserMailIdentities
public UserMailIdentity get(java.lang.String id)
IUserMailIdentities
UserMailIdentity
get
in interface IUserMailIdentities
public java.util.List<IdentityDescription> getIdentities()
IUserMailIdentities
UserMailIdentity
sgetIdentities
in interface IUserMailIdentities
public java.util.List<IdentityDescription> getAvailableIdentities()
IUserMailIdentities
Identity
sgetAvailableIdentities
in interface IUserMailIdentities
public void setDefault(java.lang.String id)
setDefault
in interface IUserMailIdentities
Copyright © 2021. All Rights Reserved.