Class UmaResourcesResource
- java.lang.Object
-
- io.jans.configapi.core.rest.BaseResource
-
- io.jans.configapi.rest.resource.auth.ConfigBaseResource
-
- io.jans.configapi.rest.resource.auth.UmaResourcesResource
-
@Path("/uma/resources") @Consumes("application/json") @Produces("application/json") public class UmaResourcesResource extends ConfigBaseResource- Author:
- Mougang T.Gasmyr
-
-
Field Summary
-
Fields inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
DEFAULT_LIST_SIZE, DEFAULT_LIST_START_INDEX, DEFAULT_MAX_COUNT, READ_ACCESS, WRITE_ACCESS
-
-
Constructor Summary
Constructors Constructor Description UmaResourcesResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsecreateUmaResource(@Valid io.jans.as.model.uma.persistence.UmaResource umaResource)jakarta.ws.rs.core.ResponsedeleteUmaResource(@NotNull String id)jakarta.ws.rs.core.ResponsefetchUmaResources(int limit, String pattern)jakarta.ws.rs.core.ResponsegetUmaResourceByImun(@NotNull String id)jakarta.ws.rs.core.ResponsepatchResource(@NotNull String id, @NotNull String pathString)jakarta.ws.rs.core.ResponseupdateUmaResource(@Valid io.jans.as.model.uma.persistence.UmaResource resource)-
Methods inherited from class io.jans.configapi.rest.resource.auth.ConfigBaseResource
getMaxCount
-
Methods inherited from class io.jans.configapi.core.rest.BaseResource
checkNotEmpty, checkNotEmpty, checkNotNull, checkResourceNotNull, createSearchRequest, getBadRequestException, getInternalServerException, getMissingAttributeError, getNotAcceptableException, getNotFoundError, thorwBadRequestException, thorwInternalServerException, throwMissingAttributeError
-
-
-
-
Method Detail
-
fetchUmaResources
@GET public jakarta.ws.rs.core.Response fetchUmaResources(@DefaultValue("50") @QueryParam("limit") int limit, @DefaultValue("") @QueryParam("pattern") String pattern)
-
getUmaResourceByImun
@GET @Path("{id}") public jakarta.ws.rs.core.Response getUmaResourceByImun(@PathParam("id") @NotNull @NotNull String id)
-
createUmaResource
@POST public jakarta.ws.rs.core.Response createUmaResource(@Valid @Valid io.jans.as.model.uma.persistence.UmaResource umaResource)
-
updateUmaResource
@PUT public jakarta.ws.rs.core.Response updateUmaResource(@Valid @Valid io.jans.as.model.uma.persistence.UmaResource resource)
-
patchResource
@PATCH @Consumes("application/json-patch+json") @Path("{id}") public jakarta.ws.rs.core.Response patchResource(@PathParam("id") @NotNull @NotNull String id, @NotNull @NotNull String pathString) throws com.github.fge.jsonpatch.JsonPatchException, IOException- Throws:
com.github.fge.jsonpatch.JsonPatchExceptionIOException
-
deleteUmaResource
@DELETE @Path("{id}") public jakarta.ws.rs.core.Response deleteUmaResource(@PathParam("id") @NotNull @NotNull String id)
-
-