com.ibm.bpe.jsf.handler
Interface ErrorHandler

All Superinterfaces:
ItemProvider
All Known Implementing Classes:
BPCListHandler

public interface ErrorHandler
extends ItemProvider

A container that is able to display exceptions for indivial items that have been provided before. The exploiter has to set a map that associates the exceptions with the ids of the provided items.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 java.util.Map getErrors()
          Retrieve the errors which were reported for the items.
 void setErrors(java.util.Map errors)
          Command implementations may use this method to report an error for individual items.
 
Methods inherited from interface com.ibm.bpe.jsf.handler.ItemProvider
getSelectedItems
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

setErrors

public void setErrors(java.util.Map errors)
Command implementations may use this method to report an error for individual items.

Parameters:
errors - a map of exceptions for object ids.

getErrors

public java.util.Map getErrors()
Retrieve the errors which were reported for the items.

Returns:
a map of exceptions for object ids.