## Uses of Class
org.keycloak.representations.idm.authorization.PolicyRepresentation

- Packages that use PolicyRepresentation
  Package | Description
  --- | ---
  org.keycloak.authorization.admin |
  org.keycloak.authorization.admin.representation |
  org.keycloak.authorization.admin.util |
  org.keycloak.authorization.policy.provider.drools |
  org.keycloak.representations.idm.authorization |

- - ### Uses of PolicyRepresentation in org.keycloak.authorization.admin

    Methods in org.keycloak.authorization.admin with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | PolicyService.`create(PolicyRepresentation representation)`
    `javax.ws.rs.core.Response` | PolicyService.`update(String id, PolicyRepresentation representation)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.admin.representation

    Methods in org.keycloak.authorization.admin.representation that return PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `PolicyRepresentation` | PolicyEvaluationResponse.PolicyResultRepresentation.`getPolicy()`

    Methods in org.keycloak.authorization.admin.representation with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | PolicyEvaluationResponse.PolicyResultRepresentation.`setPolicy(PolicyRepresentation policy)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.admin.util

    Methods in org.keycloak.authorization.admin.util that return PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `static PolicyRepresentation` | Models.`toRepresentation(Policy model, AuthorizationProvider authorization)`

    Methods in org.keycloak.authorization.admin.util with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `static Policy` | Models.`toModel(PolicyRepresentation policy, ResourceServer resourceServer, AuthorizationProvider authorizationManager)`

  - ### Uses of PolicyRepresentation in org.keycloak.authorization.policy.provider.drools

    Methods in org.keycloak.authorization.policy.provider.drools with parameters of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `javax.ws.rs.core.Response` | DroolsPolicyAdminResource.`resolveModules(PolicyRepresentation policy)`
    `javax.ws.rs.core.Response` | DroolsPolicyAdminResource.`resolveSessions(PolicyRepresentation policy)`

  - ### Uses of PolicyRepresentation in org.keycloak.representations.idm.authorization

    Methods in org.keycloak.representations.idm.authorization that return types with arguments of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `List<PolicyRepresentation>` | PolicyRepresentation.`getAssociatedPolicies()`
    `List<PolicyRepresentation>` | PolicyRepresentation.`getDependentPolicies()`
    `List<PolicyRepresentation>` | ScopeRepresentation.`getPolicies()`
    `List<PolicyRepresentation>` | ResourceServerRepresentation.`getPolicies()`
    `List<PolicyRepresentation>` | ResourceRepresentation.`getPolicies()`

    Method parameters in org.keycloak.representations.idm.authorization with type arguments of type PolicyRepresentation
    Modifier and Type | Method and Description
    --- | ---
    `void` | PolicyRepresentation.`setAssociatedPolicies(List<PolicyRepresentation> associatedPolicies)`
    `void` | PolicyRepresentation.`setDependentPolicies(List<PolicyRepresentation> dependentPolicies)`
    `void` | ScopeRepresentation.`setPolicies(List<PolicyRepresentation> policies)`
    `void` | ResourceServerRepresentation.`setPolicies(List<PolicyRepresentation> policies)`
    `void` | ResourceRepresentation.`setPolicies(List<PolicyRepresentation> policies)`

Copyright © 2016 JBoss by Red Hat. All rights reserved.