Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » impl » [javadoc | source]
org.hibernate.search.impl
public class: FullTextSessionImpl [javadoc | source]
java.lang.Object
   org.hibernate.search.impl.FullTextSessionImpl

All Implemented Interfaces:
    FullTextSession, org.hibernate.engine.SessionImplementor

Lucene full text search aware session.
Constructor:
 public FullTextSessionImpl(Session session) 
Method from org.hibernate.search.impl.FullTextSessionImpl Summary:
afterScrollOperation,   afterTransactionCompletion,   beforeTransactionCompletion,   beginTransaction,   bestGuessEntityName,   cancelQuery,   clear,   close,   connection,   contains,   createCriteria,   createCriteria,   createCriteria,   createCriteria,   createFilter,   createFullTextQuery,   createQuery,   createSQLQuery,   createSQLQuery,   createSQLQuery,   delete,   delete,   delete,   delete,   delete,   disableFilter,   disconnect,   doWork,   enableFilter,   evict,   executeNativeUpdate,   executeUpdate,   filter,   filter,   filter,   find,   find,   find,   flush,   flushToIndexes,   get,   get,   get,   get,   getBatcher,   getCacheMode,   getContextEntityIdentifier,   getCurrentLockMode,   getDontFlushFromFind,   getEnabledFilter,   getEnabledFilters,   getEntityMode,   getEntityName,   getEntityPersister,   getEntityUsingInterceptor,   getFactory,   getFetchProfile,   getFilterParameterType,   getFilterParameterValue,   getFlushMode,   getIdentifier,   getInterceptor,   getJDBCContext,   getListeners,   getNamedQuery,   getNamedSQLQuery,   getPersistenceContext,   getSearchFactory,   getSession,   getSessionFactory,   getStatistics,   getTimestamp,   getTransaction,   guessEntityName,   immediateLoad,   index,   initializeCollection,   instantiate,   internalLoad,   isClosed,   isConnected,   isDirty,   isEventSource,   isOpen,   isTransactionInProgress,   iterate,   iterate,   iterate,   iterate,   iterateFilter,   list,   list,   list,   listCustomQuery,   listFilter,   load,   load,   load,   load,   load,   lock,   lock,   merge,   merge,   persist,   persist,   purge,   purgeAll,   reconnect,   reconnect,   refresh,   refresh,   replicate,   replicate,   save,   save,   save,   save,   saveOrUpdate,   saveOrUpdate,   saveOrUpdateCopy,   saveOrUpdateCopy,   saveOrUpdateCopy,   saveOrUpdateCopy,   scroll,   scroll,   scroll,   scrollCustomQuery,   setAutoClear,   setCacheMode,   setFetchProfile,   setFlushMode,   setReadOnly,   update,   update,   update,   update
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.search.impl.FullTextSessionImpl Detail:
 public  void afterScrollOperation() 
 public  void afterTransactionCompletion(boolean successful,
    Transaction tx) 
 public  void beforeTransactionCompletion(Transaction tx) 
 public Transaction beginTransaction() throws HibernateException 
 public String bestGuessEntityName(Object object) 
 public  void cancelQuery() throws HibernateException 
 public  void clear() 
 public Connection close() throws HibernateException 
 public Connection connection() throws HibernateException 
 public boolean contains(Object object) 
 public Criteria createCriteria(String entityName) 
 public Criteria createCriteria(Class persistentClass) 
 public Criteria createCriteria(String entityName,
    String alias) 
 public Criteria createCriteria(Class persistentClass,
    String alias) 
 public Query createFilter(Object collection,
    String queryString) throws HibernateException 
 public FullTextQuery createFullTextQuery(Query luceneQuery,
    Class entities) 
    Execute a Lucene query and retrieve managed objects of type entities (or their indexed subclasses) If entities is empty, include all indexed entities
 public Query createQuery(String queryString) throws HibernateException 
 public SQLQuery createSQLQuery(String queryString) throws HibernateException 
 public Query createSQLQuery(String sql,
    String returnAlias,
    Class returnClass) 
 public Query createSQLQuery(String sql,
    String[] returnAliases,
    Class[] returnClasses) 
 public int delete(String query) throws HibernateException 
 public  void delete(Object object) throws HibernateException 
 public  void delete(String entityName,
    Object object) throws HibernateException 
 public int delete(String query,
    Object value,
    Type type) throws HibernateException 
 public int delete(String query,
    Object[] values,
    Type[] types) throws HibernateException 
 public  void disableFilter(String filterName) 
 public Connection disconnect() throws HibernateException 
 public  void doWork(Work work) throws HibernateException 
 public Filter enableFilter(String filterName) 
 public  void evict(Object object) throws HibernateException 
 public int executeNativeUpdate(NativeSQLQuerySpecification specification,
    QueryParameters queryParameters) throws HibernateException 
 public int executeUpdate(String query,
    QueryParameters queryParameters) throws HibernateException 
 public Collection filter(Object collection,
    String filter) throws HibernateException 
 public Collection filter(Object collection,
    String filter,
    Object value,
    Type type) throws HibernateException 
 public Collection filter(Object collection,
    String filter,
    Object[] values,
    Type[] types) throws HibernateException 
 public List find(String query) throws HibernateException 
 public List find(String query,
    Object value,
    Type type) throws HibernateException 
 public List find(String query,
    Object[] values,
    Type[] types) throws HibernateException 
 public  void flush() throws HibernateException 
 public  void flushToIndexes() 
 public Object get(Class clazz,
    Serializable id) throws HibernateException 
 public Object get(String entityName,
    Serializable id) throws HibernateException 
 public Object get(Class clazz,
    Serializable id,
    LockMode lockMode) throws HibernateException 
 public Object get(String entityName,
    Serializable id,
    LockMode lockMode) throws HibernateException 
 public Batcher getBatcher() 
 public CacheMode getCacheMode() 
 public Serializable getContextEntityIdentifier(Object object) 
 public LockMode getCurrentLockMode(Object object) throws HibernateException 
 public int getDontFlushFromFind() 
 public Filter getEnabledFilter(String filterName) 
 public Map getEnabledFilters() 
 public EntityMode getEntityMode() 
 public String getEntityName(Object object) throws HibernateException 
 public EntityPersister getEntityPersister(String entityName,
    Object object) throws HibernateException 
 public Object getEntityUsingInterceptor(EntityKey key) throws HibernateException 
 public SessionFactoryImplementor getFactory() 
 public String getFetchProfile() 
 public Type getFilterParameterType(String filterParameterName) 
 public Object getFilterParameterValue(String filterParameterName) 
 public FlushMode getFlushMode() 
 public Serializable getIdentifier(Object object) throws HibernateException 
 public Interceptor getInterceptor() 
 public JDBCContext getJDBCContext() 
 public EventListeners getListeners() 
 public Query getNamedQuery(String queryName) throws HibernateException 
 public Query getNamedSQLQuery(String name) 
 public PersistenceContext getPersistenceContext() 
 public SearchFactory getSearchFactory() 
 public Session getSession(EntityMode entityMode) 
 public SessionFactory getSessionFactory() 
 public SessionStatistics getStatistics() 
 public long getTimestamp() 
 public Transaction getTransaction() 
 public String guessEntityName(Object entity) throws HibernateException 
 public Object immediateLoad(String entityName,
    Serializable id) throws HibernateException 
 public  void index(Object entity) 
    (re)index an entity. Non indexable entities are ignored The entity must be associated with the session
 public  void initializeCollection(PersistentCollection collection,
    boolean writing) throws HibernateException 
 public Object instantiate(String entityName,
    Serializable id) throws HibernateException 
 public Object internalLoad(String entityName,
    Serializable id,
    boolean eager,
    boolean nullable) throws HibernateException 
 public boolean isClosed() 
 public boolean isConnected() 
 public boolean isDirty() throws HibernateException 
 public boolean isEventSource() 
 public boolean isOpen() 
 public boolean isTransactionInProgress() 
 public Iterator iterate(String query) throws HibernateException 
 public Iterator iterate(String query,
    QueryParameters queryParameters) throws HibernateException 
 public Iterator iterate(String query,
    Object value,
    Type type) throws HibernateException 
 public Iterator iterate(String query,
    Object[] values,
    Type[] types) throws HibernateException 
 public Iterator iterateFilter(Object collection,
    String filter,
    QueryParameters queryParameters) throws HibernateException 
 public List list(CriteriaImpl criteria) 
 public List list(String query,
    QueryParameters queryParameters) throws HibernateException 
 public List list(NativeSQLQuerySpecification spec,
    QueryParameters queryParameters) throws HibernateException 
 public List listCustomQuery(CustomQuery customQuery,
    QueryParameters queryParameters) throws HibernateException 
 public List listFilter(Object collection,
    String filter,
    QueryParameters queryParameters) throws HibernateException 
 public Object load(String entityName,
    Serializable id) throws HibernateException 
 public  void load(Object object,
    Serializable id) throws HibernateException 
 public Object load(Class theClass,
    Serializable id) throws HibernateException 
 public Object load(String entityName,
    Serializable id,
    LockMode lockMode) throws HibernateException 
 public Object load(Class theClass,
    Serializable id,
    LockMode lockMode) throws HibernateException 
 public  void lock(Object object,
    LockMode lockMode) throws HibernateException 
 public  void lock(String entityName,
    Object object,
    LockMode lockMode) throws HibernateException 
 public Object merge(Object object) throws HibernateException 
 public Object merge(String entityName,
    Object object) throws HibernateException 
 public  void persist(Object object) throws HibernateException 
 public  void persist(String entityName,
    Object object) throws HibernateException 
 public  void purge(Class entityType,
    Serializable id) 
    {@inheritDoc}
 public  void purgeAll(Class entityType) 
    {@inheritDoc}
 public  void reconnect() throws HibernateException 
 public  void reconnect(Connection connection) throws HibernateException 
 public  void refresh(Object object) throws HibernateException 
 public  void refresh(Object object,
    LockMode lockMode) throws HibernateException 
 public  void replicate(Object object,
    ReplicationMode replicationMode) throws HibernateException 
 public  void replicate(String entityName,
    Object object,
    ReplicationMode replicationMode) throws HibernateException 
 public Serializable save(Object object) throws HibernateException 
 public  void save(Object object,
    Serializable id) throws HibernateException 
 public Serializable save(String entityName,
    Object object) throws HibernateException 
 public  void save(String entityName,
    Object object,
    Serializable id) throws HibernateException 
 public  void saveOrUpdate(Object object) throws HibernateException 
 public  void saveOrUpdate(String entityName,
    Object object) throws HibernateException 
 public Object saveOrUpdateCopy(Object object) throws HibernateException 
 public Object saveOrUpdateCopy(String entityName,
    Object object) throws HibernateException 
 public Object saveOrUpdateCopy(Object object,
    Serializable id) throws HibernateException 
 public Object saveOrUpdateCopy(String entityName,
    Object object,
    Serializable id) throws HibernateException 
 public ScrollableResults scroll(String query,
    QueryParameters queryParameters) throws HibernateException 
 public ScrollableResults scroll(CriteriaImpl criteria,
    ScrollMode scrollMode) 
 public ScrollableResults scroll(NativeSQLQuerySpecification spec,
    QueryParameters queryParameters) throws HibernateException 
 public ScrollableResults scrollCustomQuery(CustomQuery customQuery,
    QueryParameters queryParameters) throws HibernateException 
 public  void setAutoClear(boolean enabled) 
 public  void setCacheMode(CacheMode cacheMode) 
 public  void setFetchProfile(String name) 
 public  void setFlushMode(FlushMode flushMode) 
 public  void setReadOnly(Object entity,
    boolean readOnly) 
 public  void update(Object object) throws HibernateException 
 public  void update(Object object,
    Serializable id) throws HibernateException 
 public  void update(String entityName,
    Object object) throws HibernateException 
 public  void update(String entityName,
    Object object,
    Serializable id) throws HibernateException