Class GroupAdminResource
java.lang.Object
com.atlassian.crowd.plugin.rest.service.resource.admin.GroupAdminResource
@Path("group")
@Consumes("application/json")
@Produces("application/json")
public class GroupAdminResource
extends Object
-
Constructor Summary
ConstructorDescriptionGroupAdminResource
(GroupAdminController controller, NestedGroupsMembershipController nestedMembershipController) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
addGroupsToGroup
(DirectoryEntityId groupId, GroupIdentifiersEntityList groups) javax.ws.rs.core.Response
getNestedGroups
(DirectoryEntityId groupId, RestPageRequest pageRequest) searchDirectoryGroups
(long dirId, String term, Boolean active, RestPageRequest pageRequest)
-
Constructor Details
-
GroupAdminResource
@Inject public GroupAdminResource(GroupAdminController controller, NestedGroupsMembershipController nestedMembershipController)
-
-
Method Details
-
searchDirectoryGroups
@GET @Path("search/{directoryId}") public RestPage<GroupSearchResultEntity> searchDirectoryGroups(@PathParam("directoryId") long dirId, @QueryParam("term") @Nullable String term, @QueryParam("active") @Nullable Boolean active, @BeanParam RestPageRequest pageRequest) throws DirectoryNotFoundException, OperationFailedException -
getNestedGroups
@GET @Path("/{groupId}/groups") public javax.ws.rs.core.Response getNestedGroups(@PathParam("groupId") DirectoryEntityId groupId, @BeanParam RestPageRequest pageRequest) throws DirectoryNotFoundException, OperationFailedException, GroupNotFoundException, FeatureInaccessibleException -
addGroupsToGroup
@POST @Path("/{groupId}/groups") public javax.ws.rs.core.Response addGroupsToGroup(@PathParam("groupId") DirectoryEntityId groupId, GroupIdentifiersEntityList groups) throws FeatureInaccessibleException - Throws:
FeatureInaccessibleException
-