Example usage for org.hibernate EmptyInterceptor subclass-usage

List of usage examples for org.hibernate EmptyInterceptor subclass-usage

Introduction

In this page you can find the example usage for org.hibernate EmptyInterceptor subclass-usage.

Usage

From source file org.riotfamily.common.web.cache.hibernate.CacheTagInterceptor.java

/**
 * Hibernate Interceptor that invalidates tagged cache items whenever an entity 
 * with a {@link TagCacheItems} annotation is modified or deleted.
 * 
 * @author Felix Gnass [fgnass at neteye dot de]
 */

From source file org.sculptor.framework.domain.AuditInterceptor.java

/**
 * This Hibernate interceptor will be invoked when objects are saved and it will
 * automatically update properties 'lastUpdated', 'lastUpdatedBy', 'createdDate'
 * and 'createdBy' for objects implementing
 * {@link org.sculptor.framework.domain.Auditable}.
 * <p>

From source file org.sculptor.framework.domain.JodaAuditInterceptor.java

/**
 * This Hibernate interceptor will be invoked when objects are saved and it will
 * automatically update properties 'lastUpdated', 'lastUpdatedBy', 'createdDate'
 * and 'createdBy' for objects implementing
 * {@link org.sculptor.framework.domain.JodaAuditable}.
 * <p>

From source file org.sipfoundry.sipxconfig.common.SpringHibernateInstantiator.java

/**
 * Enables Spring to create the hibernate object. Use to allow Spring to manage object
 * dependencies with hibernate.
 *
 * Note: it inherits from IndexingInterceptor: only one interceptor can be registered with
 * hibernate session.

From source file org.springframework.orm.hibernate3.support.ScopedBeanInterceptor.java

/**
 * Hibernate3 interceptor used for getting the proper entity name for scoped
 * beans. As scoped bean classes are proxies generated at runtime, they are
 * unrecognized by the persisting framework. Using this interceptor, the
 * original scoped bean class is retrieved end exposed to Hibernate for
 * persisting.

From source file org.squashtest.tm.service.internal.hibernate.AuditLogInterceptor.java

/**
 * This interceptor transparently logs creation / last modification data of any {@link Auditable} entity.
 *
 * @author Gregory Fouquet
 *
 */

From source file org.tradex.hibernate.TradeInterceptor.java

/**
 * <p>Title: TradeInterceptor</p>
 * <p>Description: Hibernate interceptor to tick the last update timestamp on trade instances</p> 
 * <p>Company: Helios Development Group LLC</p>
 * @author Whitehead (nwhitehead AT heliosdev DOT org)
 * <p><code>org.tradex.hibernate.TradeInterceptor</code></p>

From source file org.tsm.concharto.audit.AuditInterceptor.java

/**
 * hibernate interceptor to create AuditEntry records for all classes implementing the 
 * Auditable interface.  It will record insertions, updates, and deletions.
 */
public class AuditInterceptor extends EmptyInterceptor {
    private static final long serialVersionUID = 1L;

From source file org.tsm.concharto.lab.audit.SimpleAuditInterceptor.java

public class SimpleAuditInterceptor extends EmptyInterceptor {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

From source file org.tynamo.hibernate.TynamoInterceptor.java

/**
 * Class required by Hibernate when you have an object with composite primary key. The isUnsaved() method is what we're
 * interested in here.
 */
public class TynamoInterceptor extends EmptyInterceptor implements Interceptor, Serializable {