Methods Summary |
---|
public void | afterTransactionBegin(org.hibernate.Transaction tx)
|
public void | afterTransactionCompletion(org.hibernate.Transaction tx)
|
public void | beforeTransactionCompletion(org.hibernate.Transaction tx)
|
public int[] | findDirty(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)
return null;
|
public java.lang.Object | getEntity(java.lang.String entityName, java.io.Serializable id)
return null;
|
public java.lang.String | getEntityName(java.lang.Object object)
return null;
|
public java.lang.Object | instantiate(java.lang.String entityName, org.hibernate.EntityMode entityMode, java.io.Serializable id)
return null;
|
public java.lang.Boolean | isTransient(java.lang.Object entity)
return null;
|
public void | onCollectionRecreate(java.lang.Object collection, java.io.Serializable key)
|
public void | onCollectionRemove(java.lang.Object collection, java.io.Serializable key)
|
public void | onCollectionUpdate(java.lang.Object collection, java.io.Serializable key)
|
public void | onDelete(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)
|
public boolean | onFlushDirty(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)
if ( entity instanceof Document ) {
currentState[3] = Calendar.getInstance();
return true;
}
else {
return false;
}
|
public boolean | onLoad(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)
return false;
|
public java.lang.String | onPrepareStatement(java.lang.String sql)
return sql;
|
public boolean | onSave(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)
if ( entity instanceof Document ) {
state[4] = state[3] = Calendar.getInstance();
return true;
}
else {
return false;
}
|
public void | postFlush(java.util.Iterator entities)
|
public void | preFlush(java.util.Iterator entities)
|