|
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 |
java.lang.Object
oracle.wsm.policymanager.client.UpdateServiceDelegate
public class UpdateServiceDelegate
Constructor Summary | |
---|---|
UpdateServiceDelegate(IStringUpdateService strUpdateService) |
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. |
List<IPolicyAttachmentResult> |
addAttachmentEntries(String resourcePattern, List<IPolicyReference> polRefs) |
void |
addAttachmentEntry(IPolicy policy, List<String> resourcePatterns) |
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. |
List<IPolicyAttachmentResult> |
deleteAttachmentEntries(String resourcePattern, List<IPolicyReference> polRefs) |
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 |
Subject |
getSubject() |
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. |
void |
removeAttachmentEntry(IPolicy policy, List<String> resourcePatterns) |
void |
setSubject(Subject subject) |
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 runSubjVal) This method is similar to @see IUpdateService#updateAttachmentEntries(IPolicySubject, List) The variation of this method is it performs Policy subject validation |
List<IPolicyAttachmentResult> |
updateAttachmentEntries(String resourcePattern, List<IPolicyReference> polRefs) |
List<IPolicy> |
updatePolicies(List<IPolicy> policies) Updates policies to the backend datastore |
IPolicy |
updatePolicy(IPolicy policy) Updates a policy to the backend datastore |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateServiceDelegate(IStringUpdateService strUpdateService)
Method Detail |
---|
public IPolicy createPolicy(IPolicy policy) throws PolicyManagerException
createPolicy
in interface IUpdateService
policy
- object to addPolicyManagerException
public List<IPolicy> createPolicy(List<IPolicy> polList) throws PolicyManagerException
createPolicy
in interface IUpdateService
polList
- A list of IPolicy objects representing the polices to be createdPolicyManagerException
public IPolicy updatePolicy(IPolicy policy) throws PolicyManagerException
updatePolicy
in interface IUpdateService
PolicyManagerException
public List<IPolicy> updatePolicies(List<IPolicy> policies) throws PolicyManagerException
updatePolicies
in interface IUpdateService
PolicyManagerException
public void deletePolicy(IPolicy policy) throws PolicyManagerException
deletePolicy
in interface IUpdateService
policy
- objectPolicyManagerException
public void deletePolicy(String policyName) throws PolicyManagerException
deletePolicy
in interface IUpdateService
PolicyManagerException
public IAssertionTemplate createAssertionTemplate(IAssertionTemplate assertionTemplate) throws PolicyManagerException
createAssertionTemplate
in interface IUpdateService
assertionTemplate
- The AssertionTemplate object to addPolicyManagerException
public void deleteAssertionTemplate(IAssertionTemplate assertionTemplate) throws PolicyManagerException
deleteAssertionTemplate
in interface IUpdateService
assertionTemplate
- The assertion Template object to be deletedPolicyManagerException
public void deleteAssertionTemplate(String templateName) throws PolicyManagerException
deleteAssertionTemplate
in interface IUpdateService
templateName
- Name of the assertion template to be deletedPolicyManagerException
public IAssertionTemplate updateAssertionTemplate(IAssertionTemplate assertionTemplate) throws PolicyManagerException
updateAssertionTemplate
in interface IUpdateService
assertionTemplate
- The Assertion template object to be modifiedPolicyManagerException
public IPolicy promotePolicyToTip(String policyName, long version) throws PolicyManagerException
promotePolicyToTip
in interface IUpdateService
policyName
- Name the of policy to be updatedversion
- The version to be promoted to the tipPolicyManagerException
public void deletePolicyVersions(String policyName, List<Long> versionNumbers) throws PolicyManagerException
deletePolicyVersions
in interface IUpdateService
policyName
- Name of the policy whose versions are to be deletedPolicyManagerException
public IAssertionTemplate promoteAssertionTemplateToTip(String assertionTemplateName, long version) throws PolicyManagerException
promoteAssertionTemplateToTip
in interface IUpdateService
version
- The version to be promoted to the tipPolicyManagerException
public void deleteAssertionTemplateVersions(String assertionTemplateName, List<Long> versionNumbers) throws PolicyManagerException
deleteAssertionTemplateVersions
in interface IUpdateService
assertionTemplateName
- Name of the assertion template whose versions are to be deletedversionNumbers
- List of (long) versions numbers to be deletedPolicyManagerException
public void deleteAllPolicies() throws PolicyManagerException
deleteAllPolicies
in interface IUpdateService
PolicyManagerException
public void deletePolicies(List<String> polNameList) throws PolicyManagerException
deletePolicies
in interface IUpdateService
polNameList
- List of policy names to be be deletedPolicyManagerException
public void deleteAllAssertionTemplates() throws PolicyManagerException
deleteAllAssertionTemplates
in interface IUpdateService
PolicyManagerException
public void deleteAssertionTemplates(List<String> assertionTemplateNames) throws PolicyManagerException
deleteAssertionTemplates
in interface IUpdateService
assertionTemplateNames
- List of assertion template names to be be deletedPolicyManagerException
public void addAttachmentEntry(IPolicy policy, List<String> resourcePatterns) throws PolicyManagerException
PolicyManagerException
public void removeAttachmentEntry(IPolicy policy, List<String> resourcePatterns) throws PolicyManagerException
PolicyManagerException
public List<IPolicyAttachmentResult> addAttachmentEntries(String resourcePattern, List<IPolicyReference> polRefs) throws PolicyManagerException
PolicyManagerException
public IPolicySubjectAttachmentResult addAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) throws PolicyManagerException
addAttachmentEntries
in interface IUpdateService
polSubject
- policy subject to be addedpolRefs
- Policy reference the policy subject needs to be associated withPolicyManagerException
public List<IPolicyAttachmentResult> deleteAttachmentEntries(String resourcePattern, List<IPolicyReference> polRefs) throws PolicyManagerException
PolicyManagerException
public IPolicySubjectAttachmentResult deleteAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) throws PolicyManagerException
deleteAttachmentEntries
in interface IUpdateService
polSubject
- Policy subject to be removedpolRefs
- Policies from which the subject is to be detachedPolicyManagerException
public void deleteAttachmentEntries(String resourcePattern) throws PolicyManagerException
deleteAttachmentEntries
in interface IUpdateService
resourcePattern
- Policy subject to be removedPolicyManagerException
public List<IPolicyAttachmentResult> updateAttachmentEntries(String resourcePattern, List<IPolicyReference> polRefs) throws PolicyManagerException
PolicyManagerException
public IPolicySubjectAttachmentResult updateAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs) throws PolicyManagerException
updateAttachmentEntries
in interface IUpdateService
PolicyManagerException
public IPolicySubjectAttachmentResult updateAttachmentEntries(IPolicySubject polSubject, List<IPolicyReference> polRefs, boolean runSubjVal) throws PolicyManagerException
updateAttachmentEntries
in interface IUpdateService
PolicyManagerException
public void deleteAllAttachments() throws PolicyManagerException
deleteAllAttachments
in interface IUpdateService
PolicyManagerException
public boolean areTransactionsSupported() throws PolicyManagerException
areTransactionsSupported
in interface IUpdateService
PolicyManagerException
public void deleteAttachmentEntries(List<String> policySubject) throws PolicyManagerException
IUpdateService
deleteAttachmentEntries
in interface IUpdateService
policySubject
- list of Policy subject to be removedPolicyManagerException
public Subject getSubject()
public void setSubject(Subject subject)
|
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 |