com.ingenta.clownbike
Class IndexTransaction

java.lang.Object
  extended bycom.ingenta.clownbike.IndexTransaction

public class IndexTransaction
extends java.lang.Object


Constructor Summary
IndexTransaction(Index index)
           
 
Method Summary
protected  void add(org.apache.lucene.document.Document document)
           
 void create(java.lang.Object object)
           
protected  void delete(org.apache.lucene.document.Document document)
           
protected  org.apache.lucene.document.Document getIndexDocument(java.lang.Object object)
           
 void remove(java.lang.Object object)
           
 void update(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexTransaction

public IndexTransaction(Index index)
Method Detail

create

public void create(java.lang.Object object)
            throws IndexException
Throws:
IndexException

update

public void update(java.lang.Object object)
            throws IndexException
Throws:
IndexException

remove

public void remove(java.lang.Object object)
            throws IndexException
Throws:
IndexException

add

protected void add(org.apache.lucene.document.Document document)
            throws java.io.IOException
Throws:
java.io.IOException

delete

protected void delete(org.apache.lucene.document.Document document)
               throws java.io.IOException
Throws:
java.io.IOException

getIndexDocument

protected org.apache.lucene.document.Document getIndexDocument(java.lang.Object object)