public class DirEntryStoreService extends ContainerStoreService<DirEntry>
changelogStore, container, hasChangeLog, itemStore, itemValueStore, securityContext
Constructor and Description |
---|
DirEntryStoreService(BmContext context,
Container container,
java.lang.String domainUid) |
Modifier and Type | Method and Description |
---|---|
protected void |
decorate(Item item,
ItemValue<DirEntry> value) |
boolean |
delete(java.lang.String uid) |
void |
deleteAll()
delete all values ( changelog is available for deleted values )
|
ItemValue<DirEntry> |
getByEmail(java.lang.String email,
boolean isDomainEmail) |
java.util.List<ItemValue<DirEntry>> |
getEntries(java.lang.String path) |
byte[] |
getIcon(java.lang.String uid) |
byte[] |
getPhoto(java.lang.String uid) |
ItemValue<VCard> |
getVCard(java.lang.String uid) |
boolean |
hasPhoto(java.lang.String uid) |
ListResult<ItemValue<DirEntry>> |
search(DirEntryQuery query) |
ListResult<ItemValue<DirEntry>> |
searchManageable(DirEntryQuery query,
java.util.List<ManageableOrgUnit> manageable) |
void |
setPhoto(java.lang.String uid,
byte[] photo,
byte[] icon) |
long |
update(java.lang.String uid,
java.lang.String displayName,
DirEntry value) |
void |
updateAccountType(java.lang.String uid,
BaseDirEntry.AccountType accountType) |
all, allUids, allUidsOrderedByDisplayname, attach, changelog, changelog, changeset, changesetById, create, create, createValue, createWithId, decorate, deleteValue, deleteValues, detach, get, get, getByExtId, getItemStore, getItemsValue, getItemValue, getItemValueStore, getMultiple, getMultipleById, getValue, getVersion, inTransaction, prepareContainerDelete, setExtId, touch, updateValue
public ListResult<ItemValue<DirEntry>> searchManageable(DirEntryQuery query, java.util.List<ManageableOrgUnit> manageable)
public ListResult<ItemValue<DirEntry>> search(DirEntryQuery query) throws ServerFault
ServerFault
public java.util.List<ItemValue<DirEntry>> getEntries(java.lang.String path) throws ServerFault
ServerFault
public ItemValue<VCard> getVCard(java.lang.String uid) throws ServerFault
ServerFault
public void setPhoto(java.lang.String uid, byte[] photo, byte[] icon) throws ServerFault
ServerFault
public byte[] getPhoto(java.lang.String uid) throws ServerFault
ServerFault
public boolean hasPhoto(java.lang.String uid) throws ServerFault
ServerFault
public byte[] getIcon(java.lang.String uid) throws ServerFault
ServerFault
protected void decorate(Item item, ItemValue<DirEntry> value) throws ServerFault
decorate
in class ContainerStoreService<DirEntry>
ServerFault
public long update(java.lang.String uid, java.lang.String displayName, DirEntry value) throws ServerFault
update
in interface IContainerStoreService<DirEntry>
update
in class ContainerStoreService<DirEntry>
ServerFault
public boolean delete(java.lang.String uid) throws ServerFault
delete
in interface IContainerStoreService<DirEntry>
delete
in class ContainerStoreService<DirEntry>
ServerFault
public void deleteAll() throws ServerFault
IContainerStoreService
deleteAll
in interface IContainerStoreService<DirEntry>
deleteAll
in class ContainerStoreService<DirEntry>
ServerFault
public void updateAccountType(java.lang.String uid, BaseDirEntry.AccountType accountType) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.