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) |
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 |
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) throws ServerFault
ServerFault
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) throws ServerFault
deleteGroup
in interface ICoreServices
ServerFault
public void createGroup(ItemValue<Group> group) throws ServerFault
createGroup
in interface ICoreServices
ServerFault
public void updateGroup(ItemValue<Group> group) throws ServerFault
updateGroup
in interface ICoreServices
ServerFault
public void suspendUser(ItemValue<User> user) throws ServerFault
suspendUser
in interface ICoreServices
ServerFault
public void createUser(ItemValue<User> user) throws ServerFault
createUser
in interface ICoreServices
ServerFault
public void updateUser(ItemValue<User> user) throws ServerFault
updateUser
in interface ICoreServices
ServerFault
public java.util.List<java.lang.String> getImportedGroupsExtId() throws ServerFault
getImportedGroupsExtId
in interface ICoreServices
ServerFault
public java.util.List<java.lang.String> getImportedUsersExtId() throws ServerFault
getImportedUsersExtId
in interface ICoreServices
ServerFault
public MailFilter getMailboxFilter(java.lang.String uuid) throws ServerFault
getMailboxFilter
in interface ICoreServices
ServerFault
public void setMailboxFilter(java.lang.String mailboxUid, MailFilter filter) throws ServerFault
setMailboxFilter
in interface ICoreServices
ServerFault
public ItemValue<Group> getGroupByExtId(java.lang.String extId) throws ServerFault
getGroupByExtId
in interface ICoreServices
ServerFault
public java.util.List<Member> getGroupMembers(java.lang.String uid) throws ServerFault
getGroupMembers
in interface ICoreServices
ServerFault
public void removeMembers(java.lang.String uid, java.util.List<Member> membersToRemove) throws ServerFault
removeMembers
in interface ICoreServices
ServerFault
public void addMembers(java.lang.String uid, java.util.List<Member> membersToAdd) throws ServerFault
addMembers
in interface ICoreServices
ServerFault
public ItemValue<User> getUserByExtId(java.lang.String extId) throws ServerFault
getUserByExtId
in interface ICoreServices
ServerFault
public java.util.List<ItemValue<Group>> memberOf(java.lang.String uid) throws ServerFault
memberOf
in interface ICoreServices
ServerFault
public java.lang.String userExternalId(java.lang.String uid) throws ServerFault
userExternalId
in interface ICoreServices
ServerFault
public java.lang.String groupExternalId(java.lang.String uid) throws ServerFault
groupExternalId
in interface ICoreServices
ServerFault
public void userSetPhoto(java.lang.String uid, byte[] photo) throws ServerFault
userSetPhoto
in interface ICoreServices
ServerFault
public void userDeletePhoto(java.lang.String uid) throws ServerFault
userDeletePhoto
in interface ICoreServices
ServerFault
public void setMailboxQuota(java.lang.String uid, int mailboxQuota)
setMailboxQuota
in interface ICoreServices
Copyright © 2021. All Rights Reserved.