public class CoreServices extends java.lang.Object implements ICoreServices
Modifier and Type | Method and Description |
---|---|
void |
addMembers(java.lang.String uid,
java.util.List<Member> membersToAdd) |
static ICoreServices |
build(java.lang.String domainUid) |
void |
createGroup(ItemValue<Group> group) |
void |
createUser(ItemValue<User> user) |
void |
deleteGroup(java.lang.String groupUid) |
ItemValue<Group> |
getGroupByExtId(java.lang.String extId) |
ItemValue<Group> |
getGroupByName(java.lang.String name) |
java.util.List<Member> |
getGroupMembers(java.lang.String uid) |
java.util.Map<java.lang.String,java.lang.String> |
getGroupStats() |
java.util.List<java.lang.String> |
getImportedGroupsExtId() |
java.util.List<java.lang.String> |
getImportedUsersExtId() |
MailFilter |
getMailboxFilter(java.lang.String uuid) |
ItemValue<User> |
getUserByExtId(java.lang.String extId) |
java.util.Map<java.lang.String,java.lang.String> |
getUserStats() |
java.lang.String |
groupExternalId(java.lang.String uid) |
java.util.List<ItemValue<Group>> |
memberOf(java.lang.String uid) |
void |
removeMembers(java.lang.String uid,
java.util.List<Member> membersToRemove) |
void |
setMailboxFilter(java.lang.String mailboxUid,
MailFilter filter) |
void |
setMailboxQuota(java.lang.String uid,
int mailboxQuota) |
void |
setUserMailRouting(Mailbox.Routing routing,
java.lang.String userUid) |
void |
suspendUser(ItemValue<User> user) |
void |
updateGroup(ItemValue<Group> group) |
void |
updateUser(ItemValue<User> user) |
void |
userDeletePhoto(java.lang.String uid) |
java.lang.String |
userExternalId(java.lang.String uid) |
void |
userSetPhoto(java.lang.String uid,
byte[] photo) |
public static ICoreServices build(java.lang.String domainUid)
public java.util.Map<java.lang.String,java.lang.String> getUserStats()
getUserStats
in interface ICoreServices
public java.util.Map<java.lang.String,java.lang.String> getGroupStats()
getGroupStats
in interface ICoreServices
public void deleteGroup(java.lang.String groupUid)
deleteGroup
in interface ICoreServices
public void createGroup(ItemValue<Group> group)
createGroup
in interface ICoreServices
public void updateGroup(ItemValue<Group> group)
updateGroup
in interface ICoreServices
public void suspendUser(ItemValue<User> user)
suspendUser
in interface ICoreServices
public void createUser(ItemValue<User> user)
createUser
in interface ICoreServices
public void updateUser(ItemValue<User> user)
updateUser
in interface ICoreServices
public java.util.List<java.lang.String> getImportedGroupsExtId()
getImportedGroupsExtId
in interface ICoreServices
public java.util.List<java.lang.String> getImportedUsersExtId()
getImportedUsersExtId
in interface ICoreServices
public MailFilter getMailboxFilter(java.lang.String uuid)
getMailboxFilter
in interface ICoreServices
public void setMailboxFilter(java.lang.String mailboxUid, MailFilter filter)
setMailboxFilter
in interface ICoreServices
public ItemValue<Group> getGroupByExtId(java.lang.String extId)
getGroupByExtId
in interface ICoreServices
public ItemValue<Group> getGroupByName(java.lang.String name)
getGroupByName
in interface ICoreServices
public java.util.List<Member> getGroupMembers(java.lang.String uid)
getGroupMembers
in interface ICoreServices
public void removeMembers(java.lang.String uid, java.util.List<Member> membersToRemove)
removeMembers
in interface ICoreServices
public void addMembers(java.lang.String uid, java.util.List<Member> membersToAdd)
addMembers
in interface ICoreServices
public ItemValue<User> getUserByExtId(java.lang.String extId)
getUserByExtId
in interface ICoreServices
public java.util.List<ItemValue<Group>> memberOf(java.lang.String uid)
memberOf
in interface ICoreServices
public java.lang.String userExternalId(java.lang.String uid)
userExternalId
in interface ICoreServices
public java.lang.String groupExternalId(java.lang.String uid)
groupExternalId
in interface ICoreServices
public void userSetPhoto(java.lang.String uid, byte[] photo)
userSetPhoto
in interface ICoreServices
public void userDeletePhoto(java.lang.String uid)
userDeletePhoto
in interface ICoreServices
public void setMailboxQuota(java.lang.String uid, int mailboxQuota)
setMailboxQuota
in interface ICoreServices
public void setUserMailRouting(Mailbox.Routing routing, java.lang.String userUid)
setUserMailRouting
in interface ICoreServices
Copyright © 2021. All Rights Reserved.