Interface PolicyResource
-
public interface PolicyResource
- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PolicyRepresentation>
associatedPolicies()
List<PolicyRepresentation>
dependentPolicies()
void
remove()
List<ResourceRepresentation>
resources()
List<ScopeRepresentation>
scopes()
PolicyRepresentation
toRepresentation()
PolicyRepresentation
toRepresentation(String fields)
void
update(PolicyRepresentation representation)
-
-
-
Method Detail
-
toRepresentation
@GET @Produces("application/json") PolicyRepresentation toRepresentation()
-
toRepresentation
@GET @Produces("application/json") PolicyRepresentation toRepresentation(@QueryParam("fields") String fields)
-
update
@PUT @Consumes("application/json") void update(PolicyRepresentation representation)
-
remove
@DELETE void remove()
-
associatedPolicies
@Path("/associatedPolicies") @GET @Produces("application/json") List<PolicyRepresentation> associatedPolicies()
-
dependentPolicies
@Path("/dependentPolicies") @GET @Produces("application/json") List<PolicyRepresentation> dependentPolicies()
-
scopes
@Path("/scopes") @GET @Produces("application/json") List<ScopeRepresentation> scopes()
-
resources
@Path("/resources") @GET @Produces("application/json") List<ResourceRepresentation> resources()
-
-