@Path(value="/directory/{domain}")
public interface IDirectory
Modifier and Type | Method and Description |
---|---|
ContainerChangelog |
changelog(java.lang.Long since)
Get the domain's
ContainerChangelog |
ContainerChangeset<java.lang.String> |
changeset(java.lang.Long since)
Get the domain's
ContainerChangeset |
TaskRef |
delete(java.lang.String path)
Delete
DirEntry by path |
TaskRef |
deleteByEntryUid(java.lang.String entryUid)
Delete a
DirEntry by uid |
DirEntry |
findByEntryUid(java.lang.String entryUid)
Get
DirEntry by uid |
DirEntry |
getByEmail(java.lang.String email)
Fetch a
DirEntry by its email address |
java.util.List<ItemValue<DirEntry>> |
getByRoles(java.util.List<java.lang.String> roles) |
java.util.List<DirEntry> |
getEntries(java.lang.String path)
Fetch
DirEntry s by their path |
DirEntry |
getEntry(java.lang.String path)
Fetch
DirEntry by its path |
byte[] |
getEntryIcon(java.lang.String entryUid)
Get a
DirEntry 's icon |
byte[] |
getEntryPhoto(java.lang.String entryUid)
Get a
DirEntry 's photo |
byte[] |
getIcon(java.lang.String path)
Get a
DirEntry 's icon |
java.util.List<ItemValue<DirEntry>> |
getMultiple(java.util.List<java.lang.String> id)
Fetch a list of
net.bluemind.core.container.model (DirEntry )
by their internal numerical ids |
java.util.Set<java.lang.String> |
getRolesForDirEntry(java.lang.String entryUid)
Get all the roles associated to an
DirEntry |
java.util.Set<java.lang.String> |
getRolesForOrgUnit(java.lang.String orgUnitUid)
Get all the roles associated to an
OrgUnit |
DirEntry |
getRoot()
Fetch the root
DirEntry |
ItemValue<VCard> |
getVCard(java.lang.String uid)
|
ListResult<ItemValue<DirEntry>> |
search(DirEntryQuery query)
Search
DirEntry s by DirEntryQuery |
TaskRef |
xfer(java.lang.String entryUid,
java.lang.String serverUid)
|
@GET DirEntry getRoot() throws ServerFault
DirEntry
DirEntry
ServerFault
- common error object@POST @Path(value="_entry") DirEntry getEntry(java.lang.String path) throws ServerFault
DirEntry
by its pathpath
- path of the directory entry DirEntry
or null if not foundServerFault
- common error object@POST @Path(value="_childs") java.util.List<DirEntry> getEntries(java.lang.String path) throws ServerFault
DirEntry
s by their pathpath
- path of the directory entries DirEntry
sServerFault
- common error object@DELETE @Path(value="{path}") TaskRef delete(@PathParam(value="path") java.lang.String path) throws ServerFault
DirEntry
by pathpath
- path of the directory entry (domainUid/kind/entryUid)ServerFault
- common error object@GET @Path(value="{uid}/_vcard") ItemValue<VCard> getVCard(@PathParam(value="uid") java.lang.String uid) throws ServerFault
uid
- the entry uidServerFault
- common error object@DELETE @Path(value="_byentryuid/{entryUid}") TaskRef deleteByEntryUid(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
DirEntry
by uiduid
- the entry uidServerFault
- common error object@GET @Path(value="_changelog") ContainerChangelog changelog(@QueryParam(value="since") java.lang.Long since) throws ServerFault
ContainerChangelog
since
- timestamp of the first change we want to retrieveContainerChangelog
ServerFault
- common error object@GET @Path(value="_changeset") ContainerChangeset<java.lang.String> changeset(@QueryParam(value="since") java.lang.Long since) throws ServerFault
ContainerChangeset
since
- timestamp of the first change we want to retrieveContainerChangeset
ServerFault
- common error object@POST @Path(value="_search") ListResult<ItemValue<DirEntry>> search(DirEntryQuery query) throws ServerFault
DirEntry
s by DirEntryQuery
query
- the DirEntryQuery
search parametersDirEntry
sServerFault
- common error object@GET @Path(value="entry-uid/{entryUid}") DirEntry findByEntryUid(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
DirEntry
by uidentryUid
- the unique DirEntry
uidDirEntry
or null if not foundServerFault
- common error object@GET @Path(value="entry-uid/{entryUid}/icon") @Produces(value="image/png") byte[] getEntryIcon(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
DirEntry
's iconentryUid
- the unique DirEntry
uidDirEntry
ServerFault
- common error object@GET @Path(value="entry-uid/{entryUid}/photo") @Produces(value="image/png") byte[] getEntryPhoto(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
DirEntry
's photoentryUid
- the unique DirEntry
uidDirEntry
ServerFault
- common error object@GET @Path(value="_icon/{path}") @Produces(value="image/png") byte[] getIcon(@PathParam(value="path") java.lang.String path) throws ServerFault
DirEntry
's iconpath
- path of the directory entry (domainUid/kind/entryUid)DirEntry
ServerFault
- common error object@GET @Path(value="entry-uid/{entryUid}/rolesfor_") java.util.Set<java.lang.String> getRolesForDirEntry(@PathParam(value="entryUid") java.lang.String entryUid) throws ServerFault
DirEntry
entryUid
- the unique DirEntry
uidDirEntry
ServerFault
- common error object@GET @Path(value="ou-uid/{ouUid}/rolesfor_") java.util.Set<java.lang.String> getRolesForOrgUnit(@PathParam(value="ouUid") java.lang.String orgUnitUid) throws ServerFault
OrgUnit
orgUnitUid
- the unique OrgUnit
's idOrgUnit
ServerFault
- common error object@POST @Path(value="_byroles") java.util.List<ItemValue<DirEntry>> getByRoles(java.util.List<java.lang.String> roles) throws ServerFault
roles
- ServerFault
@GET @Path(value="_byEmail/{email}") DirEntry getByEmail(@PathParam(value="email") java.lang.String email)
DirEntry
by its email address@POST @Path(value="_mget") java.util.List<ItemValue<DirEntry>> getMultiple(java.util.List<java.lang.String> id)
net.bluemind.core.container.model
(DirEntry
)
by their internal numerical idsid
- list of internal numerical idsDirEntry
's@POST @Path(value="_xfer/{entryUid}/{serverUid}") TaskRef xfer(@PathParam(value="entryUid") java.lang.String entryUid, @PathParam(value="serverUid") java.lang.String serverUid) throws ServerFault
DirEntry
to a different
Server
This transfers all database related
data as well as all emails to the new server. This action can potentially
take a very long timeentryUid
- the unique DirEntry
uidserverUid
- the unique Server
uidTaskRef
referencing this
operationServerFault
- common error objectCopyright © 2021. All Rights Reserved.