|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.policyapi.SmObjectImpl
com.netegrity.sdk.policyapi.SmDomainObjectImpl
com.netegrity.sdk.policyapi.SmPolicyLink
public final class SmPolicyLink
Represents a SiteMinder Policy Link object.
This object links the rule and response for a given policy.
| Field Summary | |
|---|---|
static java.lang.String |
PropPolicy
Constant to indicate the property Policy (searchable). |
static java.lang.String |
PropResponse
Constant to indicate the property Response. |
static java.lang.String |
PropRule
Constant to indicate the property Rule. |
| Fields inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
PropObjectClassName |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmDomainObject |
|---|
PropDomain |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
ConfigurationClassName, PropDesc, PropName, PropOid |
| Constructor Summary | |
|---|---|
SmPolicyLink()
Constructs a Policy Link object. |
|
SmPolicyLink(java.lang.Object rule,
java.lang.Object response,
java.lang.Object policy,
java.lang.Object domain)
Constructs a Policy Link object for a specified rule, policy, domain, and optionally, response. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns null for Policy Link objects. |
java.lang.String |
getName()
Returns null for Policy Link objects. |
SmObjId |
getPolicy()
Gets the object identifier of the policy. |
SmObjId |
getResponse()
Gets the Object identifier of the response. |
SmObjId |
getRule()
Gets the Object identifier of the rule. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setDescription(java.lang.String description)
Sets the description of the object to null. |
void |
setName(java.lang.String name)
Sets the name of the object to null. |
void |
setPolicy(java.lang.Object policy)
Set the policy. |
void |
setResponse(java.lang.Object response)
Set the response. |
void |
setRule(java.lang.Object rule)
Sets the rule. |
java.lang.String |
toString()
Returns the name of the rule. |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
| Methods inherited from class com.netegrity.sdk.policyapi.SmDomainObjectImpl |
|---|
getDomain, getDomainName, isDomainObject, isWriteable, setDomain, setDomainName |
| Methods inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
getObjectClassname, getOid, newObject, setObjectClassname, setOid, setOid, writeSearchProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
getObjectClassname, getOid, setObjectClassname, setOid, setOid, writeSearchProperties |
| Field Detail |
|---|
public static final java.lang.String PropRule
public static final java.lang.String PropPolicy
public static final java.lang.String PropResponse
| Constructor Detail |
|---|
public SmPolicyLink()
public SmPolicyLink(java.lang.Object rule,
java.lang.Object response,
java.lang.Object policy,
java.lang.Object domain)
rule - The Object identifier of the rule.response - The Object identifier of the response. Response is
optional in a Policy Link.policy - The Object identifier of the policy where the rule and
response will be linked.domain - The Object identifier of the domain where the policy
can be found.| Method Detail |
|---|
public java.lang.String getName()
null for Policy Link objects. These objects don't have
a name property.
getName in interface SmObjectgetName in class SmObjectImplnull.public void setName(java.lang.String name)
null.
Policy Link objects don't have a name property.
setName in interface SmObjectsetName in class SmObjectImplname - The name of the object.public void setDescription(java.lang.String description)
null.
Policy Link objects don't have a description property.
setDescription in interface SmObjectsetDescription in class SmObjectImplname - The description of the object.public java.lang.String getDescription()
null for Policy Link objects. These objects don't have
a name property.
getDescription in interface SmObjectgetDescription in class SmObjectImplnull.public java.lang.String toString()
toString in interface SmObjecttoString in class SmObjectImplpublic SmObjId getRule()
public void setRule(java.lang.Object rule)
rule - The Object identifier of the rule.public SmObjId getResponse()
public void setResponse(java.lang.Object response)
response - The Object identifier of the response.public SmObjId getPolicy()
public void setPolicy(java.lang.Object policy)
policy - The Object identifier of the policy.public void writeProperties(java.util.Hashtable properties)
SmObject
writeProperties in interface SmObjectwriteProperties in class SmDomainObjectImplproperties - The hashtable where the object properties will be
copied.public void readProperties(java.util.Hashtable properties)
SmObject
readProperties in interface SmObjectreadProperties in class SmDomainObjectImplproperties - The new properties of the object.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||