FileDocCategorySizeDatePackage
EmptyInterceptor.javaAPI DocHibernate 3.2.52254Thu Aug 11 16:57:34 BST 2005org.hibernate

EmptyInterceptor

public class EmptyInterceptor extends Object implements Serializable, Interceptor
An interceptor that does nothing. May be used as a base class for application-defined custom interceptors.
author
Gavin King

Fields Summary
public static final Interceptor
INSTANCE
Constructors Summary
protected EmptyInterceptor()

	
	  
Methods Summary
public voidafterTransactionBegin(Transaction tx)

public voidafterTransactionCompletion(Transaction tx)

public voidbeforeTransactionCompletion(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.ObjectgetEntity(java.lang.String entityName, java.io.Serializable id)

		return null;
	
public java.lang.StringgetEntityName(java.lang.Object object)

		return null;
	
public java.lang.Objectinstantiate(java.lang.String entityName, EntityMode entityMode, java.io.Serializable id)

		return null;
	
public java.lang.BooleanisTransient(java.lang.Object entity)

		return null;
	
public voidonCollectionRecreate(java.lang.Object collection, java.io.Serializable key)

public voidonCollectionRemove(java.lang.Object collection, java.io.Serializable key)

public voidonCollectionUpdate(java.lang.Object collection, java.io.Serializable key)

public voidonDelete(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)

public booleanonFlushDirty(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 false;
	
public booleanonLoad(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.StringonPrepareStatement(java.lang.String sql)

		return sql;
	
public booleanonSave(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, org.hibernate.type.Type[] types)

		return false;
	
public voidpostFlush(java.util.Iterator entities)

public voidpreFlush(java.util.Iterator entities)