|
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
public abstract class SmDomainObjectImpl
Represents SiteMinder Domain-based objects.
| Field Summary |
|---|
| 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 | |
|---|---|
SmDomainObjectImpl()
Constructs a domain-based object. |
|
SmDomainObjectImpl(java.lang.String className,
java.lang.String name,
java.lang.Object domain)
Constructs a domain-based object with the specified class and object name for the specified domain. |
|
SmDomainObjectImpl(java.lang.String className,
java.lang.String name,
java.lang.String description,
java.lang.Object domainOid)
Constructs a domain-based object with the specified class and object name for the specified domain, and includes a description of the object. |
|
| Method Summary | |
|---|---|
SmObjId |
getDomain()
Gets the Object identifier of the Domain object. |
java.lang.String |
getDomainName()
Gets the Domain name of the object Deprecated. The preferred way to get the Domain identifier from Object xx (Realm / Rule/ Response / ResponseAttr / Policy / PolicyLink / UserPolicy) is xx.getDomain() |
boolean |
isDomainObject()
Specifies whether the current object is a domain object. |
boolean |
isWriteable()
Specifies whether the current object is writable. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setDomain(java.lang.Object domain)
Sets the Object identifier of the Domain object. |
void |
setDomainName(java.lang.String domainName)
Sets the Domain name of the object Deprecated. The preferred way to set the Domain identifier for Object xx (Realm / Rule/ Response / ResponseAttr / Policy / PolicyLink / UserPolicy) is xx.setDomain (domain) or xx.setDomain (domain.getOid()) |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
| Methods inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
getDescription, getName, getObjectClassname, getOid, newObject, setDescription, setName, setObjectClassname, setOid, setOid, toString, 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 |
|---|
getDescription, getName, getObjectClassname, getOid, setDescription, setName, setObjectClassname, setOid, setOid, toString, writeSearchProperties |
| Constructor Detail |
|---|
public SmDomainObjectImpl()
public SmDomainObjectImpl(java.lang.String className,
java.lang.String name,
java.lang.Object domain)
className - Class name of the object.name - Name of the object.domain - Object identifier of the Domain.
public SmDomainObjectImpl(java.lang.String className,
java.lang.String name,
java.lang.String description,
java.lang.Object domainOid)
className - Class name of the object.name - Name of the object.description - Description of the object.domain - Object identifier of the Domain.| Method Detail |
|---|
public java.lang.String getDomainName()
SmDomainObjectExample:
String strDomainId = xx.getDomain().toString();
getDomainName in interface SmDomainObjectpublic void setDomainName(java.lang.String domainName)
SmDomainObjectExample:
// First create an empty domain
Object.
SmDomain domain = new SmDomain ();
// Get the required domain object.
policyapi.getDomain("RequiredDomainName", domain);
// Now call setDomain of xx = realm /
rule/ response / responseAttr / policy / policyLink / userPolicy
xx.setDomain (domain);
or
xx.setDomain (domain.getOid());
setDomainName in interface SmDomainObjectdomainName - The Domain name of the object.public SmObjId getDomain()
SmDomainObject
getDomain in interface SmDomainObjectpublic void setDomain(java.lang.Object domain)
SmDomainObject
setDomain in interface SmDomainObjectdomain - The Domain of the object or Object identifier of the Domain object.public boolean isWriteable()
SmObject
isWriteable in interface SmObjectisWriteable in class SmObjectImpltrue if the object is writable.public boolean isDomainObject()
SmObject
isDomainObject in interface SmObjectisDomainObject in class SmObjectImpltrue if the object is a domain object.public void writeProperties(java.util.Hashtable properties)
SmObject
writeProperties in interface SmObjectwriteProperties in class SmObjectImplproperties - The hashtable where the object properties will be
copied.public void readProperties(java.util.Hashtable properties)
SmObject
readProperties in interface SmObjectreadProperties in class SmObjectImplproperties - 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 | ||||||||