Package de.aservo.confapi.crowd.rest.api
Interface GroupsResource
- All Known Implementing Classes:
GroupsResourceImpl
public interface GroupsResource
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsecreateGroup(@javax.validation.constraints.NotNull long directoryId, @NotNull de.aservo.confapi.commons.model.GroupBean groupBean) javax.ws.rs.core.Responsejavax.ws.rs.core.ResponsesetGroups(@javax.validation.constraints.NotNull long directoryId, @NotNull GroupsBean groupBeans) javax.ws.rs.core.ResponseupdateGroup(@javax.validation.constraints.NotNull long directoryId, @NotNull String groupName, @NotNull de.aservo.confapi.commons.model.GroupBean groupBean)
-
Method Details
-
getGroup
@GET @Produces("application/json") javax.ws.rs.core.Response getGroup(@NotNull @QueryParam("directoryId") @javax.validation.constraints.NotNull long directoryId, @NotNull @QueryParam("name") @NotNull String groupName) -
createGroup
@POST @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response createGroup(@NotNull @QueryParam("directoryId") @javax.validation.constraints.NotNull long directoryId, @NotNull @NotNull de.aservo.confapi.commons.model.GroupBean groupBean) -
updateGroup
@PUT @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response updateGroup(@NotNull @QueryParam("directoryId") @javax.validation.constraints.NotNull long directoryId, @NotNull @QueryParam("name") @NotNull String groupName, @NotNull @NotNull de.aservo.confapi.commons.model.GroupBean groupBean) -
setGroups
@PATCH @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response setGroups(@NotNull @QueryParam("directoryId") @javax.validation.constraints.NotNull long directoryId, @NotNull @NotNull GroupsBean groupBeans)
-