|
SiteMinder Java SDK r12.0 SP2 |
|||||||||
| PREV CLASS NEXT CLASS | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The root interface for domain-based SiteMinder objects.
| Field Summary | |
static java.lang.String |
PropDomain
The object's Domain object identifier property (searchable). |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmObject |
ConfigurationClassName, PropDesc, PropName, PropOid |
| 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() |
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()) |
| Methods inherited from interface com.netegrity.sdk.policyapi.SmObject |
getDescription, getName, getObjectClassname, getOid, isDomainObject, isWriteable, readProperties, setDescription, setName, setObjectClassname, setOid, setOid, toString, writeProperties, writeSearchProperties |
| Field Detail |
public static final java.lang.String PropDomain
| Method Detail |
public void setDomain(java.lang.Object domain)
domain - The Domain of the object or Object identifier of the Domain object.public SmObjId getDomain()
public void setDomainName(java.lang.String domainName)
Example:
// 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());
domainName - The Domain name of the object.public java.lang.String getDomainName()
Example:
String strDomainId = xx.getDomain().toString();
|
Java SDK r12.0 SP2 Fri 11/06/2009 |
|||||||||
| PREV CLASS NEXT CLASS | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||