|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUpdateService
Method Summary | |
---|---|
IPolicySubjectAttachmentResult |
addAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) Given a policy subject - represented by a resource pattern and a list of policy references for the policy subject - add attachments - if the referenced Policy does not exist - then that entry will be ignored (will not thrown an exception) and processing will continue Duplicate policy references are handled automatically as well as duplicate calls for the same resource pattern. |
boolean |
areTransactionsSupported() This methods lets you know if transactionality is supported by the backed datastore used by the policymanager. |
IAssertionTemplate |
createAssertionTemplate(IAssertionTemplate assertionTemplate) Adds a new Assertion template to the backend datastore |
IPolicy |
createPolicy(IPolicy policy) Adds a new policy to the backend datastore |
List<IPolicy> |
createPolicy(List<IPolicy> polList) Bulk creation of policies |
void |
deleteAllAssertionTemplates() PERMENENTLY deletes ALL assertion templates from the datastore Assertion templates once deleted cannot be retrived |
void |
deleteAllAttachments() Deletes all policy attachments from data store |
void |
deleteAllPolicies() PERMENENTLY deletes ALL policies from the datastore Policies once deleted cannot be retrived |
void |
deleteAssertionTemplate(IAssertionTemplate assertionTemplate) Delete an Assertion template from backend datastore |
void |
deleteAssertionTemplate(String templateName) Delete an Assertion template from backend datastore |
void |
deleteAssertionTemplates(List<String> assertionTemplateNames) Delete all the policies corresponding to the policy names passed |
void |
deleteAssertionTemplateVersions(String assertionTemplateName, List<Long> versionNumbers) Delete all the specified versions of an assertion template |
IPolicySubjectAttachmentResult |
deleteAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) Disassociate a policy subject, represented by a resource pattern, with all policies pointed to by the passed policy reference list Given a policy subject - represented by a resource pattern and a list of policy references for the policy subject - deletes all the attachment entries for the corresponding combination of <resource pattern, IPolicyReference>. |
void |
deleteAttachmentEntries(List<String> policySubject) Disassociate a policy subject, represented by a resource pattern, with all policies that it may be associated with. |
void |
deleteAttachmentEntries(String resourcePattern) Disassociate a policy subject, represented by a resource pattern, with all policies that it may be associated with. |
void |
deletePolicies(List<String> polNameList) Delete all the policies corresponding to the policy names passed |
void |
deletePolicy(IPolicy policy) Deletes a policy to the backend datastore |
void |
deletePolicy(String policyName) Deletes a policy to the backend datastore |
void |
deletePolicyVersions(String policyName, List<Long> versionNumbers) Delete all the specified versions of a policy |
IAssertionTemplate |
promoteAssertionTemplateToTip(String assertionTemplateName, long version) Promote a previous policy version to the latest. |
IPolicy |
promotePolicyToTip(String policyName, long version) Promote a previous policy version to the latest. |
IAssertionTemplate |
updateAssertionTemplate(IAssertionTemplate assertionTemplate) Update an existing Assertion Template |
IPolicySubjectAttachmentResult |
updateAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) This API is equivalent to calling deleteAttachmentEntries(String resourcePattern) and calling addAttachmentEntries(String resourcePattern, List<IPolicyReference> polRefs) |
IPolicySubjectAttachmentResult |
updateAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs, boolean runPolSubjVal) This method is similar to @see IUpdateService#updateAttachmentEntries(IPolicySubject, List) The variation of this method is it performs Policy subject validation |
List<IPolicy> |
updatePolicies(List<IPolicy> policies) Updates policies to the backend datastore |
IPolicy |
updatePolicy(IPolicy policy) Updates a policy to the backend datastore |
Method Detail |
---|
IPolicy createPolicy(IPolicy policy) throws PolicyManagerException
policy
- object to addPolicyManagerException
List<IPolicy> createPolicy(List<IPolicy> polList) throws PolicyManagerException
polList
- A list of IPolicy objects representing the polices to be createdList
- of newly created policy ObjectsPolicyManagerException
IPolicy updatePolicy(IPolicy policy) throws PolicyManagerException
Modified
- policy objectPolicyManagerException
List<IPolicy> updatePolicies(List<IPolicy> policies) throws PolicyManagerException
List
- of policy objects to be modifiedPolicyManagerException
void deletePolicy(IPolicy policy) throws PolicyManagerException
policy
- objectPolicyManagerException
void deletePolicy(String policyName) throws PolicyManagerException
String
- policy namePolicyManagerException
IAssertionTemplate createAssertionTemplate(IAssertionTemplate assertionTemplate) throws PolicyManagerException
assertionTemplate
- The AssertionTemplate object to addPolicyManagerException
void deleteAssertionTemplate(IAssertionTemplate assertionTemplate) throws PolicyManagerException
assertionTemplate
- The assertion Template object to be deletedPolicyManagerException
void deleteAssertionTemplate(String templateName) throws PolicyManagerException
templateName
- Name of the assertion template to be deletedPolicyManagerException
IAssertionTemplate updateAssertionTemplate(IAssertionTemplate assertionTemplate) throws PolicyManagerException
assertionTemplate
- The Assertion template object to be modifiedPolicyManagerException
IPolicy promotePolicyToTip(String policyName, long version) throws PolicyManagerException
policyName
- Name the of policy to be updatedversion
- The version to be promoted to the tipPolicyManagerException
void deletePolicyVersions(String policyName, List<Long> versionNumbers) throws PolicyManagerException
policyName
- Name of the policy whose versions are to be deletedversions
- List of (long) versions numbers to be deletedPolicyManagerException
IAssertionTemplate promoteAssertionTemplateToTip(String assertionTemplateName, long version) throws PolicyManagerException
policyName
- Name the of policy to be updatedversion
- The version to be promoted to the tipPolicyManagerException
void deleteAssertionTemplateVersions(String assertionTemplateName, List<Long> versionNumbers) throws PolicyManagerException
assertionTemplateName
- Name of the assertion template whose versions are to be deletedversionNumbers
- List of (long) versions numbers to be deletedPolicyManagerException
void deleteAllPolicies() throws PolicyManagerException
PolicyManagerException
void deletePolicies(List<String> polNameList) throws PolicyManagerException
polNameList
- List of policy names to be be deletedPolicyManagerException
void deleteAllAssertionTemplates() throws PolicyManagerException
PolicyManagerException
void deleteAssertionTemplates(List<String> assertionTemplateNames) throws PolicyManagerException
assertionTemplateNames
- List of assertion template names to be be deletedPolicyManagerException
IPolicySubjectAttachmentResult addAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) throws PolicyManagerException
polSubject
- policy subject to be addedpolRefs
- Policy reference the policy subject needs to be associated withPolicyManagerException
IPolicySubjectAttachmentResult deleteAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) throws PolicyManagerException
polSubject
- Policy subject to be removedpolRefs
- Policies from which the subject is to be detachedPolicyManagerException
void deleteAttachmentEntries(String resourcePattern) throws PolicyManagerException
resourcePattern
- Policy subject to be removedpolRefs
- Policies from which the subject is to be detachedPolicyManagerException
void deleteAttachmentEntries(List<String> policySubject) throws PolicyManagerException
policySubject
- list of Policy subject to be removedPolicyManagerException
IPolicySubjectAttachmentResult updateAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) throws PolicyManagerException
PolicyManagerException
IPolicySubjectAttachmentResult updateAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs, boolean runPolSubjVal) throws PolicyManagerException
polSubject
-polRefs
-runPolSubjVal
-PolicyManagerException
void deleteAllAttachments() throws PolicyManagerException
PolicyManagerException
boolean areTransactionsSupported() throws PolicyManagerException
PolicyManagerException
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |