public class OrgUnitContainerStoreService extends DirValueStoreService<OrgUnit>
Modifier and Type | Class and Description |
---|---|
static class |
OrgUnitContainerStoreService.OUDirEntryAdapter |
DirValueStoreService.DirEntryAdapter<T>, DirValueStoreService.MailboxAdapter<T>, DirValueStoreService.VCardAdapter<T>
adapter, domain, roleStore, vcardAdapter, vcardStore
changelogStore, container, hasChangeLog, itemStore, itemValueStore, logger, securityContext
Constructor and Description |
---|
OrgUnitContainerStoreService(BmContext context,
Container container,
ItemValue<Domain> domain) |
Modifier and Type | Method and Description |
---|---|
protected void |
decorate(Item item,
ItemValue<DirEntryAndValue<OrgUnit>> value) |
java.util.Set<java.lang.String> |
getAdministratorRoles(java.lang.String uid,
java.lang.String dirUid) |
java.util.Set<java.lang.String> |
getAdministratorRoles(java.lang.String uid,
java.lang.String dirUid,
java.util.List<java.lang.String> groups) |
java.util.Set<java.lang.String> |
getAdministrators(java.lang.String uid) |
java.util.List<ItemValue<OrgUnit>> |
getChildren(java.lang.String ouUid) |
protected byte[] |
getDefaultImage() |
OrgUnitPath |
getPath(java.lang.String uid) |
boolean |
hasAdministrator(java.lang.String ouUid) |
boolean |
hasChildren(java.lang.String ouUid) |
boolean |
hasMembers(java.lang.String ouUid) |
java.util.List<OrgUnitPath> |
listByAdministrator(java.lang.String administrator,
java.util.List<java.lang.String> groups) |
boolean |
pathExists(java.lang.String name,
java.lang.String parent) |
void |
removeAdministrator(java.lang.String administrator) |
java.util.List<OrgUnitPath> |
search(OrgUnitQuery query,
java.util.List<java.lang.String> limitToOu) |
void |
setAdministratorRoles(java.lang.String uid,
java.lang.String dirUid,
java.util.Set<java.lang.String> roles) |
create, create, create, createWithExtId, createWithExtId, decorate, delete, deleteAll, deletePhoto, deleteValue, deleteValues, findByEmail, findByEmailFull, findByExtId, get, getIcon, getMultipleValues, getPhoto, getRoles, hasPhoto, setPhoto, setRoles, update, update, updateVCard
all, allUids, allUidsOrderedByDisplayname, attach, changelog, changelog, changeset, changesetById, create, create, createValue, createWithId, detach, get, get, getByExtId, getItemStore, getItemsValue, getItemValue, getItemValueStore, getMultiple, getMultipleById, getValue, getVersion, inTransaction, prepareContainerDelete, setExtId, touch, update, updateValue
protected byte[] getDefaultImage()
getDefaultImage
in class DirValueStoreService<OrgUnit>
public OrgUnitPath getPath(java.lang.String uid)
protected void decorate(Item item, ItemValue<DirEntryAndValue<OrgUnit>> value) throws ServerFault
decorate
in class DirValueStoreService<OrgUnit>
ServerFault
public java.util.List<OrgUnitPath> search(OrgUnitQuery query, java.util.List<java.lang.String> limitToOu)
public boolean pathExists(java.lang.String name, java.lang.String parent)
public void setAdministratorRoles(java.lang.String uid, java.lang.String dirUid, java.util.Set<java.lang.String> roles)
public java.util.Set<java.lang.String> getAdministratorRoles(java.lang.String uid, java.lang.String dirUid)
public java.util.Set<java.lang.String> getAdministratorRoles(java.lang.String uid, java.lang.String dirUid, java.util.List<java.lang.String> groups)
public java.util.Set<java.lang.String> getAdministrators(java.lang.String uid)
public java.util.List<OrgUnitPath> listByAdministrator(java.lang.String administrator, java.util.List<java.lang.String> groups)
public boolean hasChildren(java.lang.String ouUid)
public boolean hasAdministrator(java.lang.String ouUid)
public boolean hasMembers(java.lang.String ouUid)
public void removeAdministrator(java.lang.String administrator)
Copyright © 2021. All Rights Reserved.