@Path(value="/directory/_ou/{domain}")
public interface IOrgUnits
OrgUnit
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String uid,
OrgUnit value)
Create an
OrgUnit |
void |
delete(java.lang.String uid)
Delete an
OrgUnit |
java.util.Set<java.lang.String> |
getAdministratorRoles(java.lang.String orgUnitUid,
java.lang.String dirEntryUid,
java.util.List<java.lang.String> groups)
Get the roles of a member or the
Group s he is
member of |
java.util.Set<java.lang.String> |
getAdministrators(java.lang.String uid)
Get the UIDs of an
OrgUnit 's administrators |
java.util.List<ItemValue<OrgUnit>> |
getChildren(java.lang.String uid)
Get all child elements of an
OrgUnit |
ItemValue<OrgUnit> |
getComplete(java.lang.String uid)
Get
OrgUnit by UID |
OrgUnitPath |
getPath(java.lang.String uid)
Get
OrgUnitPath by OrgUnit UID |
java.util.List<OrgUnitPath> |
listByAdministrator(java.lang.String administrator,
java.util.List<java.lang.String> groups)
Get a list of
OrgUnitPath s by the UID of an administrator or the
Group s he is member of |
void |
removeAdministrator(java.lang.String administrator)
Remove an administrator from an
OrgUnit |
java.util.List<OrgUnitPath> |
search(OrgUnitQuery query)
Get a list of
OrgUnitPath s by OrgUnitQuery |
void |
setAdministratorRoles(java.lang.String orgUnitUid,
java.lang.String dirEntryUid,
java.util.Set<java.lang.String> roles)
Grant roles to a member of an
OrgUnit |
void |
update(java.lang.String uid,
OrgUnit value)
Update an
OrgUnit |
@GET @Path(value="{uid}/complete") ItemValue<OrgUnit> getComplete(@PathParam(value="uid") java.lang.String uid)
OrgUnit
by UID@GET @Path(value="{uid}/_children") java.util.List<ItemValue<OrgUnit>> getChildren(@PathParam(value="uid") java.lang.String uid)
OrgUnit
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, OrgUnit value)
OrgUnit
@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, OrgUnit value)
OrgUnit
@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid)
OrgUnit
uid
- UID of the OrgUnit
@GET @Path(value="{uid}/path") OrgUnitPath getPath(@PathParam(value="uid") java.lang.String uid)
OrgUnitPath
by OrgUnit
UIDuid
- UIDOrgUnitPath
or null, if not found@POST @Path(value="_search") java.util.List<OrgUnitPath> search(OrgUnitQuery query)
OrgUnitPath
s by OrgUnitQuery
query
- OrgUnitQuery
OrgUnitPath
s@POST @Path(value="{uid}/{dirUid}/_set") void setAdministratorRoles(@PathParam(value="uid") java.lang.String orgUnitUid, @PathParam(value="dirUid") java.lang.String dirEntryUid, java.util.Set<java.lang.String> roles)
OrgUnit
@POST @Path(value="{uid}/{dirUid}") java.util.Set<java.lang.String> getAdministratorRoles(@PathParam(value="uid") java.lang.String orgUnitUid, @PathParam(value="dirUid") java.lang.String dirEntryUid, java.util.List<java.lang.String> groups)
Group
s he is
member of@GET @Path(value="{uid}/_administrators") java.util.Set<java.lang.String> getAdministrators(@PathParam(value="uid") java.lang.String uid)
OrgUnit
's administratorsuid
- OrgUnit
UID@POST @Path(value="_byAdmin") java.util.List<OrgUnitPath> listByAdministrator(@QueryParam(value="administrator") java.lang.String administrator, java.util.List<java.lang.String> groups)
OrgUnitPath
s by the UID of an administrator or the
Group
s he is member ofadministrator
- Administrator UIDgroups
- UIDs of the Group
s
the DirEntry
is member ofOrgUnitPath
s@DELETE @Path(value="_deleteadmin") void removeAdministrator(@QueryParam(value="administrator") java.lang.String administrator)
OrgUnit
administrator
- Administrator UIDCopyright © 2021. All Rights Reserved.