org.jaffa.components.codehelper
Interface ICodeHelper

All Known Implementing Classes:
CodeHelperTx

public interface ICodeHelper

Defines the Interface for the CodeHelper. Implementations of this interface, will be used to return code-description pairs.


Method Summary
 void destroy()
          This should be invoked, when done with the helper.
 CodeHelperOutDto getCodes(CodeHelperInDto input)
          Retrieves the Codes for the specified domainClassName passed in the input.
 

Method Detail

destroy

public void destroy()
This should be invoked, when done with the helper. This will ensure that all the acquired resources are released.


getCodes

public CodeHelperOutDto getCodes(CodeHelperInDto input)
                          throws ApplicationExceptions,
                                 FrameworkException
Retrieves the Codes for the specified domainClassName passed in the input.

Parameters:
input - The input dto, containing a list of domainClass to retrieve.
Returns:
The Codes for each domainClassName passed in the input.
Throws:
ApplicationExceptions - This will be thrown if any invalid data is passed.
FrameworkException - Indicates some system error.


Copyright © 2002-2004 JAFFA Project.