Code example for EmptyInterceptor

0
 * {@link org.sculptor.framework.errorhandling.ServiceContext} 
 * provided by 
 * {@link org.sculptor.framework.errorhandling.ServiceContextStore}. 
 *  
 */ 
public class JodaAuditInterceptor extends EmptyInterceptor {
 
    private static final long serialVersionUID = -4898120478874862611L;
 
    @Override 
    public void onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types) {
        // do nothing 
    } 
 
    @Override 
    public boolean onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState,
            String[] propertyNames, Type[] types) {
 
        return changeLastUpdatedInformation(entity, currentState, propertyNames);
    } 
Contextual code suggestions in your IDE  Get Codota for Java