Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.backend
Class Work

    java.lang.Object
      org.hibernate.search.backend.Work

All Implemented Interfaces:
  Serializable

Direct Known Subclasses:
  AddWork, DeleteWork, UpdateWork

    public abstract class Work

extends Object
implements Serializable

Represent a Lucene unit work

Author:
  Emmanuel Bernard
See Also:
  Serialized Form

Constructor Summary
`Work(Serializable id, Class entity)`
`Work(Serializable id, Class entity, org.apache.lucene.document.Document document)`

Method Summary
`org.apache.lucene.document.Document` | `getDocument()`
`Class` | `getEntity()`
`Serializable` | `getId()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Work

    public Work(Serializable id,
                Class entity)

### Work

    public Work(Serializable id,
                Class entity,
                org.apache.lucene.document.Document document)

Method Detail

### getDocument

    public org.apache.lucene.document.Document getDocument()

### getEntity

    public Class getEntity()

### getId

    public Serializable getId()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD