hu.elte.tribus.services
Class IndexingInterceptor
java.lang.Object
org.hibernate.EmptyInterceptor
hu.elte.tribus.services.IndexingInterceptor
- All Implemented Interfaces:
- java.io.Serializable, org.hibernate.Interceptor
public class IndexingInterceptor
- extends org.hibernate.EmptyInterceptor
Cos life of the smurfs is not just fun.
- Author:
- kocka
- See Also:
- Serialized Form
Fields inherited from class org.hibernate.EmptyInterceptor |
INSTANCE |
Method Summary |
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
|
org.apache.lucene.store.Directory |
getDirectory()
|
void |
onDelete(java.lang.Object entity,
java.io.Serializable key,
java.lang.Object[] data,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
|
boolean |
onFlushDirty(java.lang.Object entity,
java.io.Serializable key,
java.lang.Object[] data,
java.lang.Object[] previousState,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
|
boolean |
onSave(java.lang.Object entity,
java.io.Serializable key,
java.lang.Object[] data,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
|
static byte[] |
serialize(java.io.Serializable data)
|
void |
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
|
void |
setDirectory(org.apache.lucene.store.Directory directory)
|
Methods inherited from class org.hibernate.EmptyInterceptor |
afterTransactionBegin, afterTransactionCompletion, beforeTransactionCompletion, findDirty, getEntity, getEntityName, instantiate, isTransient, onCollectionRecreate, onCollectionRemove, onCollectionUpdate, onLoad, onPrepareStatement, postFlush, preFlush |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexingInterceptor
public IndexingInterceptor()
serialize
public static byte[] serialize(java.io.Serializable data)
onDelete
public void onDelete(java.lang.Object entity,
java.io.Serializable key,
java.lang.Object[] data,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
- Specified by:
onDelete
in interface org.hibernate.Interceptor
- Overrides:
onDelete
in class org.hibernate.EmptyInterceptor
onFlushDirty
public boolean onFlushDirty(java.lang.Object entity,
java.io.Serializable key,
java.lang.Object[] data,
java.lang.Object[] previousState,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
- Specified by:
onFlushDirty
in interface org.hibernate.Interceptor
- Overrides:
onFlushDirty
in class org.hibernate.EmptyInterceptor
onSave
public boolean onSave(java.lang.Object entity,
java.io.Serializable key,
java.lang.Object[] data,
java.lang.String[] properties,
org.hibernate.type.Type[] types)
- Specified by:
onSave
in interface org.hibernate.Interceptor
- Overrides:
onSave
in class org.hibernate.EmptyInterceptor
getAnalyzer
public org.apache.lucene.analysis.Analyzer getAnalyzer()
setAnalyzer
public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
getDirectory
public org.apache.lucene.store.Directory getDirectory()
setDirectory
public void setDirectory(org.apache.lucene.store.Directory directory)
Copyright © 2006-2007. All Rights Reserved.