org.jaffa.beans.moulding.mapping
Class AbstractMouldHandler

java.lang.Object
  extended byorg.jaffa.beans.moulding.mapping.AbstractMouldHandler
All Implemented Interfaces:
MouldHandler

public abstract class AbstractMouldHandler
extends Object
implements MouldHandler

Author:
PaulE

Constructor Summary
AbstractMouldHandler()
           
 
Method Summary
 void endBean(String path, Object source, Object target)
          Called after all processing has been completed on the target bean, this included its related beans
 void endBeanAdd(String path, Object source, Object target)
          Called after adding the persistent target bean, only used in the updateBean moulder
 void endBeanDelete(String path, Object source, Object target)
          Called after deleting the persistent target bean, only used in the deleteBean moulder
 void endBeanUpdate(String path, Object source, Object target)
          Called after updating the persistent target bean, only used in the updateBean moulder
 void startBean(String path, Object source, Object target)
          Called prior to any processing of the target bean
 void startBeanAdd(String path, Object source, Object target)
          Called prior to adding the persistent target bean, only used in the updateBean moulder
 void startBeanDelete(String path, Object source, Object target)
          Called prior to deleting the target bean, only used in the deleteBean moulder
 void startBeanUpdate(String path, Object source, Object target)
          Called prior to updating the persistent target bean, only used in the updateBean moulder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMouldHandler

public AbstractMouldHandler()
Method Detail

endBean

public void endBean(String path,
                    Object source,
                    Object target)
             throws ApplicationException,
                    ApplicationExceptions,
                    FrameworkException
Description copied from interface: MouldHandler
Called after all processing has been completed on the target bean, this included its related beans

Specified by:
endBean in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException

endBeanAdd

public void endBeanAdd(String path,
                       Object source,
                       Object target)
                throws ApplicationException,
                       ApplicationExceptions,
                       FrameworkException
Description copied from interface: MouldHandler
Called after adding the persistent target bean, only used in the updateBean moulder

Specified by:
endBeanAdd in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException

endBeanDelete

public void endBeanDelete(String path,
                          Object source,
                          Object target)
                   throws ApplicationException,
                          ApplicationExceptions,
                          FrameworkException
Description copied from interface: MouldHandler
Called after deleting the persistent target bean, only used in the deleteBean moulder

Specified by:
endBeanDelete in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException

endBeanUpdate

public void endBeanUpdate(String path,
                          Object source,
                          Object target)
                   throws ApplicationException,
                          ApplicationExceptions,
                          FrameworkException
Description copied from interface: MouldHandler
Called after updating the persistent target bean, only used in the updateBean moulder

Specified by:
endBeanUpdate in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException

startBean

public void startBean(String path,
                      Object source,
                      Object target)
               throws ApplicationException,
                      ApplicationExceptions,
                      FrameworkException
Description copied from interface: MouldHandler
Called prior to any processing of the target bean

Specified by:
startBean in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException

startBeanAdd

public void startBeanAdd(String path,
                         Object source,
                         Object target)
                  throws ApplicationException,
                         ApplicationExceptions,
                         FrameworkException
Description copied from interface: MouldHandler
Called prior to adding the persistent target bean, only used in the updateBean moulder

Specified by:
startBeanAdd in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException

startBeanDelete

public void startBeanDelete(String path,
                            Object source,
                            Object target)
                     throws ApplicationException,
                            ApplicationExceptions,
                            FrameworkException
Description copied from interface: MouldHandler
Called prior to deleting the target bean, only used in the deleteBean moulder

Specified by:
startBeanDelete in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException

startBeanUpdate

public void startBeanUpdate(String path,
                            Object source,
                            Object target)
                     throws ApplicationException,
                            ApplicationExceptions,
                            FrameworkException
Description copied from interface: MouldHandler
Called prior to updating the persistent target bean, only used in the updateBean moulder

Specified by:
startBeanUpdate in interface MouldHandler
Throws:
ApplicationException
ApplicationExceptions
FrameworkException


Copyright © 2002-2004 JAFFA Project.