org.jaffa.beans.moulding.data
Class Generic

java.lang.Object
  extended byorg.jaffa.beans.moulding.data.domain.DomainDAO
      extended byorg.jaffa.beans.moulding.data.Generic

public class Generic
extends DomainDAO

Author:
PaulE

Field Summary
 
Fields inherited from class org.jaffa.beans.moulding.data.domain.DomainDAO
propertyChangeSupport
 
Constructor Summary
Generic()
           
 
Method Summary
 void validate()
          This is called prior to a domain DAO being used in a service.
 
Methods inherited from class org.jaffa.beans.moulding.data.domain.DomainDAO
addPropertyChangeListener, clearChanges, getOriginalValue, hasChanged, removePropertyChangeListener, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Generic

public Generic()
Method Detail

validate

public void validate()
              throws ApplicationExceptions,
                     FrameworkException
Description copied from class: DomainDAO
This is called prior to a domain DAO being used in a service. This is only called on the top level DAO of a DAO Graph, so this method should roll up lower level validations. The DAO is assumed to be valid if no exception is thrown.

Specified by:
validate in class DomainDAO
Throws:
ApplicationExceptions - Contains an list of possible business logic exceptions that caused the validation to fail
FrameworkException - Thrown if there is an environment/runtime problem that prevented the validation from being performed.


Copyright © 2002-2004 JAFFA Project.