|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.admin.DomainAdministeredHelper
public class DomainAdministeredHelper
The DomainAdministeredHelper class provides methods for
manipulating the administrative domain reference information held by
objects that implement the DomainAdministered interface.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static void |
copyDomain(wt.admin.DomainAdministered from_obj,
wt.admin.DomainAdministered to_obj)
Copy the domain of one object to another. |
static AdministrativeDomain |
getAdminDomain(wt.admin.DomainAdministered obj)
Returns the administrative domain of the object. |
static AdminDomainRef |
getAdminDomainRef(wt.admin.DomainAdministered obj)
Returns a reference to the administrative domain of the object. |
static SearchCondition |
getSearchCondition(AdministrativeDomain domain)
Constructs and returns a search condition that can be used to retrieve all objects belonging to the domain passed as argument. |
static boolean |
sameAdministrativeDomain(wt.admin.DomainAdministered obj1,
wt.admin.DomainAdministered obj2)
Returns true if both objects are in the same AdministrativeDomain. |
static wt.admin.DomainAdministered |
setAdminDomain(wt.admin.DomainAdministered obj,
AdminDomainRef domain_ref)
Sets the administrative domain of the object to the one whose reference is passed as argument. |
static wt.admin.DomainAdministered |
setAdminDomain(wt.admin.DomainAdministered obj,
AdministrativeDomain domain)
Sets the administrative domain of the object to the one passed as argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static wt.admin.DomainAdministered setAdminDomain(wt.admin.DomainAdministered obj,
AdministrativeDomain domain)
throws WTException
obj - domain -
WTRuntimeException - If the object is Persistable and is
already Persistent.
WTExceptionAdministrativeDomainManager.changeAdministrativeDomain(DomainAdministered
obj, AdminDomainRef domain_ref),
AdministrativeDomainManager.changeAdministrativeDomain(DomainAdministered
obj, AdminDomainRef domain_ref, boolean inheritedDomain),
AdministrativeDomainManagerSvr.replaceAdministrativeDomain(DomainAdministered
from, DomainAdministered to, boolean commit_change)
public static wt.admin.DomainAdministered setAdminDomain(wt.admin.DomainAdministered obj,
AdminDomainRef domain_ref)
throws WTException
obj - domain_ref -
WTRuntimeException - If the object is Persistable and is
already Persistent.
WTExceptionAdministrativeDomainManager.changeAdministrativeDomain(DomainAdministered
obj, AdminDomainRef domain_ref),
AdministrativeDomainManager.changeAdministrativeDomain(DomainAdministered
obj, AdminDomainRef domain_ref, boolean inheritedDomain),
AdministrativeDomainManagerSvr.replaceAdministrativeDomain(DomainAdministered
from, DomainAdministered to, boolean commit_change)
public static AdministrativeDomain getAdminDomain(wt.admin.DomainAdministered obj)
throws WTException
obj -
WTException
public static AdminDomainRef getAdminDomainRef(wt.admin.DomainAdministered obj)
throws WTException
obj -
WTException
public static SearchCondition getSearchCondition(AdministrativeDomain domain)
throws WTException
domain -
WTException
public static void copyDomain(wt.admin.DomainAdministered from_obj,
wt.admin.DomainAdministered to_obj)
throws WTException
from_obj - to_obj -
WTException
public static boolean sameAdministrativeDomain(wt.admin.DomainAdministered obj1,
wt.admin.DomainAdministered obj2)
throws WTException
AdministrativeDomain.
obj1 - obj2 -
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||