public class Directory extends java.lang.Object implements IDirectory
Constructor and Description |
---|
Directory(BmContext context,
Container dirContainer,
ItemValue<Domain> domain) |
Modifier and Type | Method and Description |
---|---|
ContainerChangelog |
changelog(java.lang.Long since)
ChangeLog of the container since
|
ContainerChangeset<java.lang.String> |
changeset(java.lang.Long since)
ChangeSet of the container since
|
TaskRef |
delete(java.lang.String path)
Delete entry
|
TaskRef |
deleteByEntryUid(java.lang.String entryUid)
Delete entry
|
DirEntry |
findByEntryUid(java.lang.String entryUid) |
DirEntry |
getByEmail(java.lang.String email) |
java.util.List<DirEntry> |
getEntries(java.lang.String path)
Fetch
DirEntry s from a path |
DirEntry |
getEntry(java.lang.String path)
Fetch
DirEntry from a path |
byte[] |
getEntryIcon(java.lang.String entryUid) |
byte[] |
getEntryPhoto(java.lang.String entryUid) |
byte[] |
getIcon(java.lang.String path) |
java.util.Set<java.lang.String> |
getRolesForDirEntry(java.lang.String entryUid) |
java.util.Set<java.lang.String> |
getRolesForOrgUnit(java.lang.String ouUid) |
DirEntry |
getRoot()
Fetch root
DirEntry |
ItemValue<VCard> |
getVCard(java.lang.String uid)
get entry vcard
|
ListResult<ItemValue<DirEntry>> |
search(DirEntryQuery query) |
public DirEntry getRoot() throws ServerFault
IDirectory
DirEntry
getRoot
in interface IDirectory
DirEntry
ServerFault
public DirEntry findByEntryUid(java.lang.String entryUid) throws ServerFault
findByEntryUid
in interface IDirectory
ServerFault
public DirEntry getEntry(java.lang.String path) throws ServerFault
IDirectory
DirEntry
from a pathgetEntry
in interface IDirectory
path
- path of entryDirEntry
entryServerFault
public java.util.List<DirEntry> getEntries(java.lang.String path) throws ServerFault
IDirectory
DirEntry
s from a pathgetEntries
in interface IDirectory
path
- path of entriesDirEntry
child of pathServerFault
public TaskRef delete(java.lang.String path) throws ServerFault
IDirectory
delete
in interface IDirectory
ServerFault
public TaskRef deleteByEntryUid(java.lang.String entryUid) throws ServerFault
IDirectory
deleteByEntryUid
in interface IDirectory
ServerFault
public ContainerChangelog changelog(java.lang.Long since) throws ServerFault
IDirectory
changelog
in interface IDirectory
since
- timestamp of first changes we want to retrieveContainerChangelog
ServerFault
public ContainerChangeset<java.lang.String> changeset(java.lang.Long since) throws ServerFault
IDirectory
changeset
in interface IDirectory
since
- timestamp of first changes we want to retrieveServerFault
public ListResult<ItemValue<DirEntry>> search(DirEntryQuery query) throws ServerFault
search
in interface IDirectory
ServerFault
public byte[] getEntryIcon(java.lang.String entryUid) throws ServerFault
getEntryIcon
in interface IDirectory
ServerFault
public byte[] getIcon(java.lang.String path) throws ServerFault
getIcon
in interface IDirectory
ServerFault
public java.util.Set<java.lang.String> getRolesForDirEntry(java.lang.String entryUid) throws ServerFault
getRolesForDirEntry
in interface IDirectory
ServerFault
public java.util.Set<java.lang.String> getRolesForOrgUnit(java.lang.String ouUid) throws ServerFault
getRolesForOrgUnit
in interface IDirectory
ServerFault
public ItemValue<VCard> getVCard(java.lang.String uid) throws ServerFault
IDirectory
getVCard
in interface IDirectory
ServerFault
public byte[] getEntryPhoto(java.lang.String entryUid) throws ServerFault
getEntryPhoto
in interface IDirectory
ServerFault
public DirEntry getByEmail(java.lang.String email) throws ServerFault
getByEmail
in interface IDirectory
ServerFault
Copyright © 2021. All Rights Reserved.