|
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 IPolicy
Represents a wsp:Policy XML element.
A wsp:Policy has the same semantics as wsp:All in terms of the normalization, merge intersection semantics.
Nested Class Summary | |
---|---|
static class |
IPolicy.STATUS Currently only enabled, disabled are used. |
Nested classes/interfaces inherited from interface oracle.wsm.policy.model.IAssertion |
---|
IAssertion.AssertionTypes |
Field Summary | |
---|---|
static String |
DISABLED |
static QName |
displayNameAttrQName |
static String |
ENABLED |
static QName |
idAttrQName |
static QName |
localOptimizationAttrQName |
static QName |
nameAttrQName |
static QName |
oracleSmartDigestAttrQName |
static QName |
pipelineAttrQName |
static QName |
revPipelineAttrQName |
static QName |
smartDigestAttrQName |
static QName |
validationClassNameAttrQName |
Method Summary | |
---|---|
IPolicyReference |
createLocalPolicyReference(boolean includeOracleExtensions) WS-Policy Attachment defines two types of Policy Referneces. |
IPolicyReference |
createRemotePolicyReference(boolean includeOracleExtensions) WS-Policy Attachment defines two types of Policy Referneces. |
String |
getAttachTo() |
String |
getCategory() Convenience method to retrive the orawsp:category attribute on a <wsp:Policy> element. |
String |
getDescription() Convenience method to retrive the orawsp:description attribute on a <wsp:Policy> element. |
String |
getDescription(Locale locale) Convenience method to retrive localized orawsp:description attribute on a <wsp:Policy> element. |
String |
getDisplayName() Convenience method to retrive the orawsp:displayName attribute on a <wsp:Policy> element. |
String |
getDisplayName(Locale locale) Convenience method to retrive localized orawsp:displayName attribute on a <wsp:Policy> element. |
String |
getLocalOptimization() Returns the local-optimzation attribute value of the policy |
String |
getOracleSmartDigest() Return the oracle fast path digest for the policy |
String |
getPolicyId() Convenience method to retrive the wsu:Id attribute on a <wsp:Policy> element. |
String |
getPolicyName() Convenience method to retrive the wsp:Name attribute on a <wsp:Policy> element. |
String |
getSmartDigest() Return the smart digest for the policy |
IPolicy.STATUS |
getStatus() |
int |
getSubjectCount() Get a count of subject to which this policy is attached to |
String |
getValidatorClass() Returns the name of validator class set for this Policy object |
List<String> |
getValidAttachToValues() |
IVersionInfo |
getVersionInfo() |
boolean |
hasPolicyAlternatives() Returns true if the Policy has alternatives i.e. |
boolean |
isEnabled() Convenience method returns true if getStatus() returns STATUS.enabled |
boolean |
isPipeline() Convenience method to retrive the orawsp:Pipeline attribute on a <wsp:Policy> element. |
boolean |
isReferenceablePolicy() |
boolean |
isReversePipeline() Convenience method to set the orawsp:ReversePipeline attribute on a <wsp:Policy> element. |
void |
setAttachTo(String attachTo) |
void |
setCategory(String category) Set category |
void |
setDescription(String description) Set description |
void |
setDisplayName(String displayName) Convenience method to set the orawsp:displayName attribute on a <wsp:Policy> element. |
void |
setLocalOptimzation(String localOptimization) Sets the local-optimzation parameter value |
void |
setOracleSmartDigest(String digest) Set the value for the attribute "oraSmartDigest" - it represents the "hash" of the value returned by the getDigest call for Policies containing oracle scenario assertions. |
void |
setPipeline(boolean isPipeline) Set the orawsp:Pipeline attribute |
void |
setPolicyId(String id) |
void |
setPolicyName(String name) |
void |
setReversePipeline(boolean revPipeline) Convenience method to set the orawsp:ReversePipeline attribute on a <wsp:Policy> element. |
void |
setSmartDigest(String digest) Set the value for the attribute "smartDigest" - it represents the "hash" of the value returned by the getDigest call. |
void |
setStatus(IPolicy.STATUS status) |
void |
setSubjectCount(int subjectCount) Set the number of end-points that reference this policy |
void |
setValidatorClass(String className) Sets the class name of the java class to validate this policy |
void |
setVersionInfo(IVersionInfo versionInfo) |
Methods inherited from interface oracle.wsm.policy.model.ICompositeAssertion |
---|
addAssertion, addAssertion, addAssertions, clearAssertions, getAssertion, getAssertions, getAssertionsArray, getAssertionsByQName, isEmpty, removeAssertion, removeAssertions, setAssertions, size |
Methods inherited from interface oracle.wsm.policy.model.IAssertion |
---|
addAttribute, createInstance, getAssertionType, getAttribute, getAttributes, getDigest, getDigest, getParent, getQName, getStringForMatching, hasParent, intersect, intersect, isIdentical, isNormalized, isOptional, merge, merge, normalize, normalize, removeAttribute, setAttributes, setNormalized, setOptional, setParent, validate |
Methods inherited from interface oracle.wsm.policy.advertisement.IAssertionAdvertiser |
---|
advertiseOracleWSPolicy, advertiseWSPolicy |
Field Detail |
---|
static final String ENABLED
static final String DISABLED
static final QName idAttrQName
static final QName nameAttrQName
static final QName revPipelineAttrQName
static final QName pipelineAttrQName
static final QName validationClassNameAttrQName
static final QName localOptimizationAttrQName
static final QName displayNameAttrQName
static final QName smartDigestAttrQName
static final QName oracleSmartDigestAttrQName
Method Detail |
---|
boolean isReferenceablePolicy()
String getPolicyId()
void setReversePipeline(boolean revPipeline)
boolean isReversePipeline()
String getPolicyName()
void setPolicyId(String id)
void setPolicyName(String name)
boolean hasPolicyAlternatives()
String getCategory()
void setCategory(String category)
category
-void setDescription(String description)
description
-String getDescription()
String getDescription(Locale locale)
locale
-IPolicyReference createLocalPolicyReference(boolean includeOracleExtensions)
IPolicyReference createRemotePolicyReference(boolean includeOracleExtensions)
boolean isPipeline()
void setPipeline(boolean isPipeline)
isPipeline
- - true if it is a pipelineboolean isEnabled()
void setStatus(IPolicy.STATUS status)
IPolicy.STATUS getStatus()
String getAttachTo()
void setAttachTo(String attachTo)
void setVersionInfo(IVersionInfo versionInfo)
IVersionInfo getVersionInfo()
void setValidatorClass(String className)
className
- fully qualified class name of the validator classString getValidatorClass()
List<String> getValidAttachToValues()
int getSubjectCount()
void setSubjectCount(int subjectCount)
subjectCount
-String getLocalOptimization()
void setLocalOptimzation(String localOptimization)
localOptimization
-String getDisplayName()
String getDisplayName(Locale locale)
locale
-void setDisplayName(String displayName)
void setSmartDigest(String digest)
getDigest
call.digest
- - This is the string representation of the "hash" of the value returned by the methodString getSmartDigest()
void setOracleSmartDigest(String digest)
getDigest
call for Policies containing oracle scenario assertions.digest
- - This is the string representation of the "hash" of the value returned by the methodString getOracleSmartDigest()
|
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 |