Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policymanager.impl
Class PolicyAccessService

java.lang.Object
  extended by oracle.wsm.policymanager.impl.PolicyAccessService

All Implemented Interfaces:
IStringPolicyAccessService, IPolicyAccessService
Direct Known Subclasses:
PolicyAccessService

public class PolicyAccessService
extends Object
implements IPolicyAccessService, IStringPolicyAccessService

Constructor Summary
PolicyAccessService()
          Default constructor
PolicyAccessService(MDSConfig config)
          Use this constructor for programmatic initialization of MDS

 

Method Summary
 void deleteAttachmentEntries(List<IPolicySubject> policySubject)
          Disassociate a policy subject, represented by a resource pattern, with all policies that it may be associated with.
protected  String getCreator()
           
 MDSAccessor getMdsAccessor()
           
 IPolicySet getPolicies(Map<IPolicySubject,List<IPolicyReference>> polSubjectPolRefMap, boolean synchronizeAttachmentEntries, boolean includeConfigs)
           
 String getPoliciesAsStrings(Map<String,List<String>> polSubjectPolRefMap, boolean synchronizeAttachmentEntries, boolean includeConfigs)
           
 String getPoliciesAsStringsByPolicyReferencesMap(List<String> polRefStrs, boolean includeConfigs)
          Given a list of PolicyReferences returns a Map of <IPolicyReference, IPolicy> if a PolicyReference is invalid then null is returned
 IPolicySet getPoliciesByPolicyReferencesMap(List<IPolicyReference> polRefs, boolean includeConfigs)
          Given a list of PolicyReferences returns a Map of <IPolicyReference, IPolicy> if a PolicyReference is invalid then null is returned
 Date getStoreTimestamp()
          Returns the timestamp of the Policy store
 Date getStoreTimestampAsDate()
          Returns the timestamp of the Policy store
protected  void init()
          Initialize the MDS Accessor objects used by this class

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PolicyAccessService

public PolicyAccessService()
Default constructor

PolicyAccessService

public PolicyAccessService(MDSConfig config)
Use this constructor for programmatic initialization of MDS
Parameters:
config - MDS configuration information

Method Detail

getCreator

protected String getCreator()

init

protected void init()
Initialize the MDS Accessor objects used by this class

getPolicies

public IPolicySet getPolicies(Map<IPolicySubject,List<IPolicyReference>> polSubjectPolRefMap,
                              boolean synchronizeAttachmentEntries,
                              boolean includeConfigs)
                       throws PolicyManagerException
Specified by:
getPolicies in interface IPolicyAccessService
Parameters:
polSubjectPolRefMap -
synchronizeAttachmentEntries -
Returns:
Policy set
Throws:
PolicyManagerException

getPoliciesByPolicyReferencesMap

public IPolicySet getPoliciesByPolicyReferencesMap(List<IPolicyReference> polRefs,
                                                   boolean includeConfigs)
                                            throws PolicyManagerException
Given a list of PolicyReferences returns a Map of <IPolicyReference, IPolicy> if a PolicyReference is invalid then null is returned
Specified by:
getPoliciesByPolicyReferencesMap in interface IPolicyAccessService
Parameters:
polRefs - - List of IPolicyReference
includeConfigs -
Returns:
Policy set
Throws:
PolicyManagerException

getStoreTimestamp

public Date getStoreTimestamp()
Description copied from interface: IPolicyAccessService
Returns the timestamp of the Policy store
Specified by:
getStoreTimestamp in interface IPolicyAccessService
Returns:
Timestamp of the Policy store

getStoreTimestampAsDate

public Date getStoreTimestampAsDate()
Description copied from interface: IStringPolicyAccessService
Returns the timestamp of the Policy store
Specified by:
getStoreTimestampAsDate in interface IStringPolicyAccessService
Returns:
Timestamp of the Policy store

getPoliciesAsStrings

public String getPoliciesAsStrings(Map<String,List<String>> polSubjectPolRefMap,
                                   boolean synchronizeAttachmentEntries,
                                   boolean includeConfigs)
                            throws PolicyManagerException
Specified by:
getPoliciesAsStrings in interface IStringPolicyAccessService
Returns:
Throws:
PolicyManagerException

getPoliciesAsStringsByPolicyReferencesMap

public String getPoliciesAsStringsByPolicyReferencesMap(List<String> polRefStrs,
                                                        boolean includeConfigs)
                                                 throws PolicyManagerException
Description copied from interface: IStringPolicyAccessService
Given a list of PolicyReferences returns a Map of <IPolicyReference, IPolicy> if a PolicyReference is invalid then null is returned
Specified by:
getPoliciesAsStringsByPolicyReferencesMap in interface IStringPolicyAccessService
Parameters:
polRefStrs - - List of IPolicyReference
Returns:
Map
Throws:
PolicyManagerException

deleteAttachmentEntries

public void deleteAttachmentEntries(List<IPolicySubject> policySubject)
                             throws PolicyManagerException
Description copied from interface: IPolicyAccessService
Disassociate a policy subject, represented by a resource pattern, with all policies that it may be associated with.
Specified by:
deleteAttachmentEntries in interface IStringPolicyAccessService
Specified by:
deleteAttachmentEntries in interface IPolicyAccessService
Parameters:
policySubject - list of Policy subjects to be removed.
Throws:
PolicyManagerException

getMdsAccessor

public MDSAccessor getMdsAccessor()

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.