|
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.policy.model.impl.PolicySet
public class PolicySet
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.wsm.policy.model.IPolicySet |
---|
IPolicySet.LOCAL_OPTIMIZATION, IPolicySet.POLICYSET_STATUS |
Constructor Summary | |
---|---|
PolicySet() |
Method Summary | |
---|---|
void |
addCause(IValidationError error) |
void |
addPolicy(IPolicy policy) Adds the policy in the PolicySet. |
void |
addPolicy(IPolicy policy, String name) Adds the policy in the PolicySet. |
void |
addPolicyAttachment(IPolicyAttachment attachment) Adds PolicyAttachment to the PolicySet. |
IPolicySet.LOCAL_OPTIMIZATION |
checkLocalOptimization() This method will return the local optimzation value of this policyset |
void |
clearPolicies() Clears the policy in the PolicySet. |
void |
clearPolicyAttachments() |
IPolicy |
dereference(IPolicyReference polRef) Gets the policy from its policy reference. |
boolean |
equals(Object obj) Compare two policy sets for equality. |
List<IValidationError> |
getCause() Each IValidatoinError object contains the appropriate error code and corresponding message about what went wrong in retrieving the policies. |
List<IPolicy> |
getPolicies() |
List<IPolicy> |
getPolicies(String category) Returns list of policies that matches the given category |
List<IPolicy> |
getPolicies(String category, String resourcePattern) Returns the Policy Object |
List<IPolicyAttachment> |
getPolicyAttachments() Gets the policy attachements from the PolicySet. |
QName |
getQName() |
IPolicySet.POLICYSET_STATUS |
getStatus() Provides POLICYSET_STATUS enumeration object indicating the status of policyset. |
Date |
getTimestamp() Get timestamp of policy store from when this set was constructed. |
int |
hashCode() |
void |
removePolicy(IPolicy policy) Removes the policy from the PolicySet. |
void |
removePolicyAttachment(IPolicyAttachment policyAttachment) |
void |
setCause(List<IValidationError> cause) sets the error objects |
void |
setPolicies(List<IPolicy> policies) set Policies in the PolicySet |
void |
setStatus(IPolicySet.POLICYSET_STATUS psStatus) Set the status of the policyset |
void |
setTimestamp(Date setTimestamp) Set timestamp of store form which the policies were obtained. |
String |
toString() |
void |
validate(IValidationContext context) Performs PolicySet validation. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PolicySet()
Method Detail |
---|
public QName getQName()
getQName
in interface IPolicySet
public void setPolicies(List<IPolicy> policies)
IPolicySet
setPolicies
in interface IPolicySet
public void addPolicy(IPolicy policy)
policy
-public void addPolicy(IPolicy policy, String name)
policy
- Policy to addname
- Name to use for policypublic void clearPolicies()
public void removePolicy(IPolicy policy)
policy
-public List<IPolicyAttachment> getPolicyAttachments()
getPolicyAttachments
in interface IPolicySet
public void addPolicyAttachment(IPolicyAttachment attachment)
addPolicyAttachment
in interface IPolicySet
attachment
- PolicyAttachmentpublic void clearPolicyAttachments()
public void removePolicyAttachment(IPolicyAttachment policyAttachment)
public IPolicy dereference(IPolicyReference polRef)
dereference
in interface IPolicySet
polRef
-public boolean equals(Object obj)
equals
in class Object
obj
- The PolicySet object to comparepublic List<IPolicy> getPolicies(String category, String resourcePattern) throws PolicyModelException
getPolicies
in interface IPolicySet
category
- the category TyperesourcePattern
- the resource PatternPolicyModelException
- if no polices found for given resource pattern and categorypublic List<IPolicy> getPolicies(String category) throws PolicyModelException
getPolicies
in interface IPolicySet
category
- category namePolicyModelException
public List<IPolicy> getPolicies()
getPolicies
in interface IPolicySet
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public List<IValidationError> getCause()
IPolicySet
getCause
in interface IPolicySet
public void setCause(List<IValidationError> cause)
IPolicySet
setCause
in interface IPolicySet
cause
- all the errro messagespublic void addCause(IValidationError error)
addCause
in interface IPolicySet
public IPolicySet.POLICYSET_STATUS getStatus()
IPolicySet
getStatus
in interface IPolicySet
public void setStatus(IPolicySet.POLICYSET_STATUS psStatus)
IPolicySet
setStatus
in interface IPolicySet
public void validate(IValidationContext context)
IPolicySet
validate
in interface IPolicySet
public IPolicySet.LOCAL_OPTIMIZATION checkLocalOptimization()
IPolicySet
checkLocalOptimization
in interface IPolicySet
public Date getTimestamp()
IPolicySet
getTimestamp
in interface IPolicySet
public void setTimestamp(Date setTimestamp)
setTimestamp
- timestamp of store
|
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 |