Uses of Interface
org.wso2.carbon.governance.api.policies.dataobjects.Policy
-
Packages that use Policy Package Description org.wso2.carbon.governance.api.policies org.wso2.carbon.governance.api.policies.dataobjects org.wso2.carbon.governance.api.services.dataobjects -
-
Uses of Policy in org.wso2.carbon.governance.api.policies
Methods in org.wso2.carbon.governance.api.policies that return Policy Modifier and Type Method Description Policy[]PolicyManager. findPolicies(PolicyFilter criteria)Finds all policy artifacts matching the given filter criteria.Policy[]PolicyManager. getAllPolicies()Finds all policy artifacts on the registry.PolicyPolicyManager. getPolicy(String policyId)Fetches the given policy artifact on the registry.PolicyPolicyManager. newPolicy(byte[] content)Create a new Schema based on content either embedded or passed to a service.PolicyPolicyManager. newPolicy(byte[] content, String name)Create a new Schema based on content either embedded or passed to a service.PolicyPolicyManager. newPolicy(String url)Creates a new policy artifact from the given URL.Methods in org.wso2.carbon.governance.api.policies with parameters of type Policy Modifier and Type Method Description voidPolicyManager. addPolicy(Policy policy)Adds the given policy artifact to the registry.booleanPolicyFilter. matches(Policy policy)Whether the given policy artifact matches the expected filter criteria.protected voidPolicyManager. setContent(Policy policy, org.wso2.carbon.registry.core.Resource policyResource)Sets content of the given policy artifact to the given resource on the registry.voidPolicyManager. updatePolicy(Policy policy)Updates the given policy artifact on the registry. -
Uses of Policy in org.wso2.carbon.governance.api.policies.dataobjects
Classes in org.wso2.carbon.governance.api.policies.dataobjects that implement Policy Modifier and Type Class Description classPolicyImplThis represents a policy artifact stored on the Registry. -
Uses of Policy in org.wso2.carbon.governance.api.services.dataobjects
Methods in org.wso2.carbon.governance.api.services.dataobjects that return Policy Modifier and Type Method Description Policy[]Service. getAttachedPolicies()Method to retrieve all policies attached to this service artifact.Policy[]ServiceImpl. getAttachedPolicies()Method to retrieve all policies attached to this service artifact.Methods in org.wso2.carbon.governance.api.services.dataobjects with parameters of type Policy Modifier and Type Method Description voidService. attachPolicy(Policy policy)Attach a policy artifact to a service artifact.voidServiceImpl. attachPolicy(Policy policy)Attach a policy artifact to a service artifact.
-