bucket.search.persistence.dao.hibernate
Class HibernateIndexQueueEntryDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.hibernate.HibernateObjectDao
bucket.search.persistence.dao.hibernate.HibernateIndexQueueEntryDao
- All Implemented Interfaces:
- ObjectDao, IndexQueueEntryDao, org.springframework.beans.factory.InitializingBean
public class HibernateIndexQueueEntryDao
- extends HibernateObjectDao
- implements IndexQueueEntryDao
The hibernate dao instance used for working with the index queue entries.
Field Summary |
static org.apache.log4j.Category |
LOG
Deprecated. since 3.1 should not be using public loggers, plus use of Category is deprecated |
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
@Deprecated
public static final org.apache.log4j.Category LOG
- Deprecated. since 3.1 should not be using public loggers, plus use of Category is deprecated
HibernateIndexQueueEntryDao
public HibernateIndexQueueEntryDao()
getPersistentClass
public java.lang.Class getPersistentClass()
- Specified by:
getPersistentClass
in interface ObjectDao
saveOrUpdate
public void saveOrUpdate(IndexQueueEntry entry)
- Specified by:
saveOrUpdate
in interface IndexQueueEntryDao
getNewEntries
public java.util.List<IndexQueueEntry> getNewEntries(java.util.Date since)
- Specified by:
getNewEntries
in interface IndexQueueEntryDao
getNewEntryCount
public int getNewEntryCount(java.util.Date since)
- Specified by:
getNewEntryCount
in interface IndexQueueEntryDao
deleteAllBefore
public void deleteAllBefore(java.util.Date since)
- Description copied from interface:
IndexQueueEntryDao
- Remove all entries from the queue that where created before the specified date.
- Specified by:
deleteAllBefore
in interface IndexQueueEntryDao
deleteAll
public void deleteAll()
- Description copied from interface:
IndexQueueEntryDao
- Remove all entries from the queue.
- Specified by:
deleteAll
in interface IndexQueueEntryDao
Copyright © 2003-2010 Atlassian. All Rights Reserved.