public interface HibernateOrmMapping
Modifier and Type | Method and Description |
---|---|
HibernateOrmSearchManager |
createSearchManager(EntityManager entityManager) |
HibernateOrmSearchManagerBuilder |
createSearchManagerWithOptions(EntityManager entityManager) |
boolean |
isIndexable(Class<?> type) |
boolean |
isSearchable(Class<?> type) |
boolean |
isWorkable(Class<?> type) |
boolean |
isWorkable(Object entity) |
HibernateOrmSearchManager createSearchManager(EntityManager entityManager)
HibernateOrmSearchManagerBuilder createSearchManagerWithOptions(EntityManager entityManager)
boolean isWorkable(Class<?> type)
type
- A Java type.true
if this type can be the subject of a work (i.e. it can be passed to
PojoWorkPlan.add(Object)
for instance), false
if it cannot.
Workable types include both indexable types and contained entity types.boolean isIndexable(Class<?> type)
type
- A Java type.true
if this type is indexable, false
if it is not.boolean isSearchable(Class<?> type)
type
- A Java type.true
if this type is searchable
(i.e. it can be passed to FullTextEntityManager.search(Class)
),
false
if it is not.boolean isWorkable(Object entity)
entity
- An entity.true
if this entity can be the subject of a work (i.e. it can be passed to
PojoWorkPlan.add(Object)
for instance), false
if it cannot.Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.