|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Policy | |
---|---|
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 | |
---|---|
Policy[] |
PolicyManager.findPolicies(PolicyFilter criteria)
Finds all policy artifacts matching the given filter criteria. |
Policy[] |
PolicyManager.getAllPolicies()
Finds all policy artifacts on the registry. |
Policy |
PolicyManager.getPolicy(String policyId)
Fetches the given policy artifact on the registry. |
Policy |
PolicyManager.newPolicy(byte[] content)
Create a new Schema based on content either embedded or passed to a service. |
Policy |
PolicyManager.newPolicy(byte[] content,
String name)
Create a new Schema based on content either embedded or passed to a service. |
Policy |
PolicyManager.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 | |
---|---|
void |
PolicyManager.addPolicy(Policy policy)
Adds the given policy artifact to the registry. |
boolean |
PolicyFilter.matches(Policy policy)
Whether the given policy artifact matches the expected filter criteria. |
protected void |
PolicyManager.setContent(Policy policy,
org.wso2.carbon.registry.core.Resource policyResource)
Sets content of the given policy artifact to the given resource on the registry. |
void |
PolicyManager.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 | |
---|---|
class |
PolicyImpl
This 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 | |
---|---|
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 | |
---|---|
void |
Service.attachPolicy(Policy policy)
Attach a policy artifact to a service artifact. |
void |
ServiceImpl.attachPolicy(Policy policy)
Attach a policy artifact to a service artifact. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |