public interface SearchWorkCreator<T>
| Modifier and Type | Method and Description |
|---|---|
Collection<org.hibernate.search.backend.spi.Work<T>> |
createPerEntityTypeWorks(Class<T> entityType,
org.hibernate.search.backend.spi.WorkType workType)
Creates a collection of Work instances that Hibernate-Search should perform for all the entities of the given
entity type.
|
Collection<org.hibernate.search.backend.spi.Work<T>> |
createPerEntityWorks(T entity,
Serializable id,
org.hibernate.search.backend.spi.WorkType workType)
Creates a collection of Work instances that Hibernate-Search should perform for the given entity
|
Collection<org.hibernate.search.backend.spi.Work<T>> createPerEntityTypeWorks(Class<T> entityType, org.hibernate.search.backend.spi.WorkType workType)
entityType - the entity type that these Works should be created forworkType - the type of work to be doneCollection<org.hibernate.search.backend.spi.Work<T>> createPerEntityWorks(T entity, Serializable id, org.hibernate.search.backend.spi.WorkType workType)
entity - the entity that these Works should be created forid - the id of the documentworkType - the type of work to be doneCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.