Package io.phasetwo.service.resource
Class RolesResource
java.lang.Object
io.phasetwo.service.resource.AbstractAdminResource<OrganizationAdminAuth>
io.phasetwo.service.resource.OrganizationAdminResource
io.phasetwo.service.resource.RolesResource
-
Field Summary
Fields inherited from class io.phasetwo.service.resource.OrganizationAdminResource
em, orgs
Fields inherited from class io.phasetwo.service.resource.AbstractAdminResource
adminEvent, adminRealm, auth, connection, headers, permissions, realm, session, user
-
Constructor Summary
ConstructorDescriptionRolesResource
(OrganizationAdminResource parent, OrganizationModel organization) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
createRole
(OrganizationRole representation) jakarta.ws.rs.core.Response
createRoles
(List<OrganizationRole> representation) void
deleteOrganizationRole
(String roleName) jakarta.ws.rs.core.Response
deleteRoles
(List<OrganizationRole> representation) getRoles()
Methods inherited from class io.phasetwo.service.resource.OrganizationAdminResource
getServerUrl, init
Methods inherited from class io.phasetwo.service.resource.AbstractAdminResource
setup
-
Constructor Details
-
RolesResource
-
-
Method Details
-
roles
-
getRoles
-
createRole
@POST @Consumes("application/json") public jakarta.ws.rs.core.Response createRole(OrganizationRole representation) -
createRoles
@PUT @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response createRoles(List<OrganizationRole> representation) -
deleteRoles
@PATCH @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response deleteRoles(List<OrganizationRole> representation) -
deleteOrganizationRole
-