|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.gui.core.ScreenHandler
This is the superclass of all screen handlers. It supplies the ability to register multiple objects of the same type in order
Retek Inc. Copyright (c) 2002
Constructor Summary | |
---|---|
ScreenHandler()
|
Method Summary | |
---|---|
protected UiBusinessException |
getException(BusinessException exception)
Converts a BusinessException to a UiBusinessException, translating all attribute names to widget names. |
protected RetekLogger |
getLogger()
Retrieves the logger object to be used for this screen handler. |
protected SystemException |
getSystemException(BusinessException exception)
Converts a BusinessException to a SystemException. |
void |
processSystemException(SystemException exception,
java.lang.String businessName)
Processes a SystemException to determine if it is really a business exception. |
void |
register(java.lang.Object object,
int index)
Registers an object with an index in the translation map. |
void |
register(java.lang.Object object,
java.lang.String index)
Registers an object with an index in the translation map. |
void |
unregister(java.lang.Object object)
Unregisters an object from the exception translater. |
void |
unregisterAll()
Unregisters all objects from the exception translator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScreenHandler()
Method Detail |
protected RetekLogger getLogger()
public void register(java.lang.Object object, java.lang.String index)
object
- The object to register with the exception translator.index
- The index to return for that particular object.public void register(java.lang.Object object, int index)
object
- The object to register with the exception translator.index
- The integer index to return for that particular object. The index will be
returned as a string.public void unregister(java.lang.Object object)
object
- The object to unregister.public void unregisterAll()
protected UiBusinessException getException(BusinessException exception)
exception
- A BusinessException object containing BusinessProblems.
protected SystemException getSystemException(BusinessException exception)
exception
- A BusinessException object containing BusinessProblems.
public void processSystemException(SystemException exception, java.lang.String businessName) throws SystemException, UiBusinessException
exception
- A SystemException object.
SystemException
UiBusinessException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |