gov.nih.nci.caarray.services.util.ojb
Class PBLifeCycleAdapter
java.lang.Object
gov.nih.nci.caarray.services.util.ojb.PBLifeCycleAdapter
- All Implemented Interfaces:
- org.apache.ojb.broker.PBLifeCycleListener, org.apache.ojb.broker.PBListener
- Direct Known Subclasses:
- PBLifeCycleListenerAbstractClassPKPersistence, PBLifeCycleListenerCompoundResolver, PBLifeCycleListenerDescriptorModifier, PBLifeCycleListenerMAGEIdentifierAssigner, PBLifeCycleListenerOntologyEntryResolver, SecuredElementUpdateListener
public class PBLifeCycleAdapter
- extends java.lang.Object
- implements org.apache.ojb.broker.PBLifeCycleListener
- Author:
- TranP
Method Summary |
void |
afterDelete(org.apache.ojb.broker.PBLifeCycleEvent event)
|
void |
afterInsert(org.apache.ojb.broker.PBLifeCycleEvent event)
|
void |
afterLookup(org.apache.ojb.broker.PBLifeCycleEvent event)
|
void |
afterUpdate(org.apache.ojb.broker.PBLifeCycleEvent event)
|
void |
beforeDelete(org.apache.ojb.broker.PBLifeCycleEvent event)
|
void |
beforeInsert(org.apache.ojb.broker.PBLifeCycleEvent event)
|
void |
beforeUpdate(org.apache.ojb.broker.PBLifeCycleEvent event)
|
protected static int |
getCascadingStore(org.apache.ojb.broker.metadata.ClassDescriptor clsDescriptor,
java.lang.String field)
|
protected static void |
setCascadingStore(org.apache.ojb.broker.metadata.ClassDescriptor clsDescriptor,
java.lang.String field,
int cascadeState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBLifeCycleAdapter
public PBLifeCycleAdapter()
beforeUpdate
public void beforeUpdate(org.apache.ojb.broker.PBLifeCycleEvent event)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
beforeUpdate
in interface org.apache.ojb.broker.PBLifeCycleListener
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
afterInsert
public void afterInsert(org.apache.ojb.broker.PBLifeCycleEvent event)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
afterInsert
in interface org.apache.ojb.broker.PBLifeCycleListener
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
afterLookup
public void afterLookup(org.apache.ojb.broker.PBLifeCycleEvent event)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
afterLookup
in interface org.apache.ojb.broker.PBLifeCycleListener
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
afterUpdate
public void afterUpdate(org.apache.ojb.broker.PBLifeCycleEvent event)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
afterUpdate
in interface org.apache.ojb.broker.PBLifeCycleListener
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
beforeDelete
public void beforeDelete(org.apache.ojb.broker.PBLifeCycleEvent event)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
beforeDelete
in interface org.apache.ojb.broker.PBLifeCycleListener
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
beforeInsert
public void beforeInsert(org.apache.ojb.broker.PBLifeCycleEvent event)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
beforeInsert
in interface org.apache.ojb.broker.PBLifeCycleListener
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
afterDelete
public void afterDelete(org.apache.ojb.broker.PBLifeCycleEvent event)
throws org.apache.ojb.broker.PersistenceBrokerException
- Specified by:
afterDelete
in interface org.apache.ojb.broker.PBLifeCycleListener
- Throws:
org.apache.ojb.broker.PersistenceBrokerException
setCascadingStore
protected static void setCascadingStore(org.apache.ojb.broker.metadata.ClassDescriptor clsDescriptor,
java.lang.String field,
int cascadeState)
getCascadingStore
protected static int getCascadingStore(org.apache.ojb.broker.metadata.ClassDescriptor clsDescriptor,
java.lang.String field)