public class ContainerGroupStoreService extends DirValueStoreService<Group>
Modifier and Type | Class and Description |
---|---|
static class |
ContainerGroupStoreService.GroupDirEntryAdapter |
DirValueStoreService.DirEntryAdapter<T>, DirValueStoreService.MailboxAdapter<T>, DirValueStoreService.VCardAdapter<T>
ContainerStoreService.IItemFlagsProvider<W>, ContainerStoreService.IWeightSeedProvider<W>
adapter, domain, roleStore, vcardAdapter, vcardStore
changelogStore, container, hasChangeLog, itemStore, itemValueStore, logger, securityContext
Constructor and Description |
---|
ContainerGroupStoreService(BmContext context,
Container container,
ItemValue<Domain> domain) |
ContainerGroupStoreService(BmContext context,
javax.sql.DataSource dataSource,
SecurityContext securityContext,
Container container,
ItemValue<Domain> domain) |
Modifier and Type | Method and Description |
---|---|
void |
addMembers(java.lang.String uid,
java.util.List<Member> members) |
java.util.List<java.lang.String> |
allUids() |
boolean |
allValid(java.lang.String[] uids) |
ItemValue<DirEntryAndValue<Group>> |
byName(java.lang.String name) |
void |
create(java.lang.String uid,
java.lang.String displayName,
Group group)
Deprecated.
|
protected void |
decorate(Item item,
ItemValue<DirEntryAndValue<Group>> value) |
protected byte[] |
getDefaultImage() |
java.util.List<Member> |
getFlatUsersMembers(java.lang.String uid) |
java.util.Set<java.lang.String> |
getGroupsWithRoles(java.util.List<java.lang.String> roles) |
java.util.List<java.lang.String> |
getMemberOfGroup(java.lang.String uid) |
java.util.List<Member> |
getMembers(java.lang.String uid) |
java.util.List<java.lang.String> |
getParents(java.lang.String uid) |
boolean |
nameAlreadyUsed(java.lang.String uid,
Group group) |
void |
removeMembers(java.lang.String uid,
java.util.List<Member> members) |
java.util.List<ItemValue<DirEntryAndValue<Group>>> |
search(GroupSearchQuery query) |
void |
update(java.lang.String uid,
java.lang.String displayName,
Group group)
Deprecated.
|
create, create, create, createWithExtId, createWithExtId, decorate, delete, deleteAll, deletePhoto, deleteValue, deleteValues, findByEmail, findByEmailFull, findByExtId, get, getIcon, getMultipleValues, getPhoto, getRoles, hasPhoto, setPhoto, setRoles, update, updateVCard
create, create
all, allIds, attach, changelog, changelog, changeset, changesetById, changesetById, count, createValue, createWithId, delete, detach, doOrFail, fullChangesetById, get, get, getByExtId, getItemStore, getItemsValue, getItemValue, getItemValueStore, getMultiple, getMultipleById, getValue, getVersion, prepareContainerDelete, setExtId, touch, update, update, updateValue, xfer
public ContainerGroupStoreService(BmContext context, Container container, ItemValue<Domain> domain)
public ContainerGroupStoreService(BmContext context, javax.sql.DataSource dataSource, SecurityContext securityContext, Container container, ItemValue<Domain> domain)
public java.util.Set<java.lang.String> getGroupsWithRoles(java.util.List<java.lang.String> roles) throws ServerFault
ServerFault
public ItemValue<DirEntryAndValue<Group>> byName(java.lang.String name) throws ServerFault
ServerFault
public java.util.List<java.lang.String> allUids() throws ServerFault
allUids
in interface IContainerStoreService<DirEntryAndValue<Group>>
allUids
in class ContainerStoreService<DirEntryAndValue<Group>>
ServerFault
public void addMembers(java.lang.String uid, java.util.List<Member> members) throws ServerFault
ServerFault
public void removeMembers(java.lang.String uid, java.util.List<Member> members) throws ServerFault
ServerFault
public java.util.List<Member> getMembers(java.lang.String uid) throws ServerFault
ServerFault
public java.util.List<Member> getFlatUsersMembers(java.lang.String uid) throws ServerFault
ServerFault
public java.util.List<java.lang.String> getParents(java.lang.String uid) throws ServerFault
ServerFault
public boolean nameAlreadyUsed(java.lang.String uid, Group group) throws ServerFault
ServerFault
public boolean allValid(java.lang.String[] uids) throws ServerFault
ServerFault
@Deprecated public void create(java.lang.String uid, java.lang.String displayName, Group group) throws ServerFault
ServerFault
@Deprecated public void update(java.lang.String uid, java.lang.String displayName, Group group) throws ServerFault
ServerFault
protected byte[] getDefaultImage()
getDefaultImage
in class DirValueStoreService<Group>
protected void decorate(Item item, ItemValue<DirEntryAndValue<Group>> value) throws ServerFault
decorate
in class DirValueStoreService<Group>
ServerFault
public java.util.List<ItemValue<DirEntryAndValue<Group>>> search(GroupSearchQuery query) throws ServerFault
ServerFault
public java.util.List<java.lang.String> getMemberOfGroup(java.lang.String uid) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.