wt.clients.lifecycle.administrator
Class Util

java.lang.Object
  extended bywt.clients.lifecycle.administrator.Util

public final class Util
extends Object


Field Summary
(package private) static String HELP_RESOURCE
           
(package private) static HelpSystem helpSystem
           
(package private) static String ORG_ATTRIBUTE
           
private static String[] primitives
           
(package private) static String RESOURCE
           
private static Hashtable userDomainMap
           
 
Constructor Summary
Util()
           
 
Method Summary
static void displayException(Component component, Exception exception)
           
static void displayException(Component component, Throwable exception)
           
static void displayException(Exception exception)
          Deprecated. Replaced by displayException that takes Component
static void displayException(Exception exception, String message)
          Deprecated. Replaced by displayException that takes Component
static void displayException(Throwable exception)
           
static void displayException(Throwable exception, String message)
           
static void displayMessage(Component component, String title, String message)
           
static void displayMessage(String title, String message)
           
static Externalizable duplicate(Externalizable object, boolean make_non_persistent)
           
static WTContainerRef getContext()
           
static WTUser getCurrentUser()
           
private static WTOrganization getOrganization(WTUser user, WTContainerRef context)
           
static Frame getParentFrame(Component component)
           
static Window getParentWindow(Component component)
           
static Point getStagger(Component component)
           
private static AdminDomainRef getSystemDomainRef()
           
private static AdminDomainRef getSystemDomainRef(WTContainerRef context)
           
static Folder getSystemFolder()
           
static Folder getSystemFolder(WTContainerRef context)
           
static Folder getUserSystemFolder()
           
static Folder getUserSystemFolder(WTContainerRef context)
           
(package private) static boolean isPrimitive(String classname)
           
static void setSystemDomain(DomainAdministered object)
           
static void setSystemDomain(DomainAdministered object, WTContainerRef context)
           
static void showHelp(String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

static final String RESOURCE
See Also:
Constant Field Values

HELP_RESOURCE

static final String HELP_RESOURCE
See Also:
Constant Field Values

ORG_ATTRIBUTE

static final String ORG_ATTRIBUTE

primitives

private static final String[] primitives

userDomainMap

private static Hashtable userDomainMap

helpSystem

static HelpSystem helpSystem
Constructor Detail

Util

public Util()
Method Detail

displayException

public static void displayException(Exception exception)
Deprecated. Replaced by displayException that takes Component


displayException

public static void displayException(Exception exception,
                                    String message)
Deprecated. Replaced by displayException that takes Component


displayException

public static void displayException(Component component,
                                    Exception exception)

displayException

public static void displayException(Throwable exception)

displayException

public static void displayException(Throwable exception,
                                    String message)

displayException

public static void displayException(Component component,
                                    Throwable exception)

displayMessage

public static void displayMessage(String title,
                                  String message)

displayMessage

public static void displayMessage(Component component,
                                  String title,
                                  String message)

getParentFrame

public static Frame getParentFrame(Component component)

getParentWindow

public static Window getParentWindow(Component component)

getStagger

public static Point getStagger(Component component)

isPrimitive

static boolean isPrimitive(String classname)

getCurrentUser

public static WTUser getCurrentUser()
                             throws WTException
Throws:
WTException

duplicate

public static Externalizable duplicate(Externalizable object,
                                       boolean make_non_persistent)
                                throws WTException
Throws:
WTException

showHelp

public static void showHelp(String tag)

setSystemDomain

public static void setSystemDomain(DomainAdministered object)
                            throws WTException
Throws:
WTException

setSystemDomain

public static void setSystemDomain(DomainAdministered object,
                                   WTContainerRef context)
                            throws WTException
Throws:
WTException

getOrganization

private static WTOrganization getOrganization(WTUser user,
                                              WTContainerRef context)
                                       throws WTException
Throws:
WTException

getSystemDomainRef

private static AdminDomainRef getSystemDomainRef()
                                          throws WTException
Throws:
WTException

getSystemDomainRef

private static AdminDomainRef getSystemDomainRef(WTContainerRef context)
                                          throws WTException
Throws:
WTException

getSystemFolder

public static Folder getSystemFolder()
                              throws WTException
Throws:
WTException

getSystemFolder

public static Folder getSystemFolder(WTContainerRef context)
                              throws WTException
Throws:
WTException

getUserSystemFolder

public static Folder getUserSystemFolder()
                                  throws WTException
Throws:
WTException

getUserSystemFolder

public static Folder getUserSystemFolder(WTContainerRef context)
                                  throws WTException
Throws:
WTException

getContext

public static WTContainerRef getContext()