@Path(value="/directory/{domain}")
public interface IDirectory
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 orgUnitUid) |
DirEntry |
getRoot()
Fetch root
DirEntry |
ItemValue<VCard> |
getVCard(java.lang.String uid)
get entry vcard
|
ListResult<ItemValue<DirEntry>> |
search(DirEntryQuery query) |
@GET DirEntry getRoot() throws ServerFault
DirEntry
DirEntry
ServerFault
@POST @Path(value="_entry") DirEntry getEntry(java.lang.String path) throws ServerFault
DirEntry
from a pathpath
- path of entryDirEntry
entryServerFault
@POST @Path(value="_childs") java.util.List<DirEntry> getEntries(java.lang.String path) throws ServerFault
DirEntry
s from a pathpath
- path of entriesDirEntry
child of pathServerFault
@DELETE @Path(value="{path}") TaskRef delete(@PathParam(value="path") java.lang.String path) throws ServerFault
path
- ServerFault
@GET @Path(value="{uid}/_vcard") ItemValue<VCard> getVCard(@PathParam(value="uid") java.lang.String uid) throws ServerFault
path
- ServerFault
@DELETE @Path(value="_byentryuid/{entryUid}") TaskRef deleteByEntryUid(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
path
- ServerFault
@GET @Path(value="_changelog") ContainerChangelog changelog(@QueryParam(value="since") java.lang.Long since) throws ServerFault
since
- timestamp of first changes we want to retrieveContainerChangelog
ServerFault
@GET @Path(value="_changeset") ContainerChangeset<java.lang.String> changeset(@QueryParam(value="since") java.lang.Long since) throws ServerFault
since
- timestamp of first changes we want to retrieveServerFault
@POST @Path(value="_search") ListResult<ItemValue<DirEntry>> search(DirEntryQuery query) throws ServerFault
ServerFault
@GET @Path(value="entry-uid/{entryUid}") DirEntry findByEntryUid(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
ServerFault
@GET @Path(value="entry-uid/{entryUid}/icon") @Produces(value="image/png") byte[] getEntryIcon(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
ServerFault
@GET @Path(value="entry-uid/{entryUid}/photo") @Produces(value="image/png") byte[] getEntryPhoto(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
ServerFault
@GET @Path(value="_icon/{path}") @Produces(value="image/png") byte[] getIcon(@PathParam(value="path") java.lang.String path) throws ServerFault
ServerFault
@GET @Path(value="entry-uid/{entryUid}/rolesfor_") java.util.Set<java.lang.String> getRolesForDirEntry(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
ServerFault
@GET @Path(value="ou-uid/{ouUid}/rolesfor_") java.util.Set<java.lang.String> getRolesForOrgUnit(@PathParam(value="ouUid") java.lang.String orgUnitUid) throws ServerFault
ServerFault
@GET @Path(value="_byEmail/{email}") DirEntry getByEmail(@PathParam(value="email") java.lang.String email)
Copyright © 2021. All Rights Reserved.