| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaffa.components.codehelper.tx.CodeHelperTx
This is the default implementation of the ICodeHelper interface. It will retrieve codes for each domainClassName passed in the input. It will use reflection to determine the fields to return. Additional criteria can also be passed in the input, to restrict the output. For complex queries, create custom implementations of the interface, rather than making this generic implementation complex !!!
| Constructor Summary | |
| CodeHelperTx() | |
| Method Summary | |
|  void | destroy()This should be invoked, when done with the helper. | 
| static Object | formatDescription(CodeHelperInElementDto inputElement,
                                   Object code,
                                   Object description)This method is used to format the description field. | 
|  CodeHelperOutDto | getCodes(CodeHelperInDto input)Retrieves the Codes for the specified domainClassName passed in the input. | 
| static void | main(String[] args)Test stub | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public CodeHelperTx()
| Method Detail | 
public void destroy()
destroy in interface ICodeHelper
public CodeHelperOutDto getCodes(CodeHelperInDto input)
                          throws ApplicationExceptions,
                                 FrameworkException
getCodes in interface ICodeHelperinput - The input dto, containing a list of domainClass to retrieve.
ApplicationExceptions - This will be thrown if any invalid data is passed.
FrameworkException - Indicates some system error.
public static Object formatDescription(CodeHelperInElementDto inputElement,
                                       Object code,
                                       Object description)
inputElement - The input to the ICodeHelper.code - The code value.description - The description for the code.
public static void main(String[] args)
args - arguments| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||