com.rshtech.func
Interface Function

All Known Subinterfaces:
BusinessFunction, UndoableFunction
All Known Implementing Classes:
AbstractFunc

public interface Function

TODO Class summary sentence. Class documentation.

Version:
$Revision: 3127 $
Author:
$Author: kostya $

Method Summary
 void execute()
          Executes a unit of work, throwing any application or system exceptions that occur during execution.
 java.lang.Object getResult()
          Returns the result of the unit of work, if any.
 

Method Detail

execute

void execute()
             throws ApplicationException,
                    SystemException
Executes a unit of work, throwing any application or system exceptions that occur during execution.

Throws:
ApplicationException - if any application exception occurs.
SystemException - if any system exception occurs.

getResult

java.lang.Object getResult()
Returns the result of the unit of work, if any.

Returns:
the result of the unit of work, null if there were no results.