wt.dataops.delete.processors
Class DeleteDataValidator

java.lang.Object
  extended bywt.dataops.delete.processors.DeleteDataValidator
All Implemented Interfaces:
DataValidator

public class DeleteDataValidator
extends Object
implements DataValidator


Field Summary
protected  int globalMessageSeverity
           
protected  JSTableProcessor myTableProcessor
           
private static String RESOURCE
           
 
Constructor Summary
(package private) DeleteDataValidator(JSTableProcessor tableProcessor)
           
 
Method Summary
 List validate(List data, Locale locale)
          Validates list of persistable objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

myTableProcessor

protected JSTableProcessor myTableProcessor

globalMessageSeverity

protected int globalMessageSeverity
Constructor Detail

DeleteDataValidator

DeleteDataValidator(JSTableProcessor tableProcessor)
Method Detail

validate

public List validate(List data,
                     Locale locale)
Description copied from interface: DataValidator
Validates list of persistable objects. Each DataValidity object should have the message property set.

Specified by:
validate in interface DataValidator
Parameters:
data - - List of persistables.
locale - - locale to be used to get localized messages.
Returns:
List of ordered DataValidity objects. Each DataValidity object represents the validity status of the corresponding associated persistable in the data list.