org.jaffa.beans.moulding.mapping
Interface MouldHandler

All Known Implementing Classes:
AbstractMouldHandler

public interface MouldHandler

Author:
PaulE

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
 

Method Detail

startBean

public void startBean(String path,
                      Object source,
                      Object target)
               throws ApplicationException,
                      ApplicationExceptions,
                      FrameworkException
Called prior to any processing of the target bean

Throws:
ApplicationException
ApplicationExceptions
FrameworkException

endBean

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

Throws:
ApplicationException
ApplicationExceptions
FrameworkException

startBeanDelete

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

Throws:
ApplicationException
ApplicationExceptions
FrameworkException

endBeanDelete

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

Throws:
ApplicationException
ApplicationExceptions
FrameworkException

startBeanAdd

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

Throws:
ApplicationException
ApplicationExceptions
FrameworkException

endBeanAdd

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

Throws:
ApplicationException
ApplicationExceptions
FrameworkException

startBeanUpdate

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

Throws:
ApplicationException
ApplicationExceptions
FrameworkException

endBeanUpdate

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

Throws:
ApplicationException
ApplicationExceptions
FrameworkException


Copyright © 2002-2004 JAFFA Project.