public interface JSPolicyResource
Modifier and Type | Method and Description |
---|---|
List<PolicyRepresentation> |
associatedPolicies() |
List<PolicyRepresentation> |
dependentPolicies() |
void |
remove() |
List<ResourceRepresentation> |
resources() |
JSPolicyRepresentation |
toRepresentation() |
void |
update(JSPolicyRepresentation representation) |
@GET @Produces(value="application/json") JSPolicyRepresentation toRepresentation()
@PUT @Consumes(value="application/json") void update(JSPolicyRepresentation representation)
@DELETE void remove()
@Path(value="/associatedPolicies") @GET @Produces(value="application/json") List<PolicyRepresentation> associatedPolicies()
@Path(value="/dependentPolicies") @GET @Produces(value="application/json") List<PolicyRepresentation> dependentPolicies()
@Path(value="/resources") @GET @Produces(value="application/json") List<ResourceRepresentation> resources()
Copyright © 2021 JBoss by Red Hat. All rights reserved.