bucket.search.persistence.dao
Interface IndexQueueEntryDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateIndexQueueEntryDao

public interface IndexQueueEntryDao
extends ObjectDao


Method Summary
 void deleteAll()
          Remove all entries from the queue.
 void deleteAllBefore(Date since)
          Remove all entries from the queue that where created before the specified date.
 List<IndexQueueEntry> getNewEntries(Date since)
           
 int getNewEntryCount(Date since)
           
 void saveOrUpdate(IndexQueueEntry e)
           
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

saveOrUpdate

void saveOrUpdate(IndexQueueEntry e)

getNewEntries

List<IndexQueueEntry> getNewEntries(Date since)

getNewEntryCount

int getNewEntryCount(Date since)

deleteAllBefore

void deleteAllBefore(Date since)
Remove all entries from the queue that where created before the specified date.

Parameters:
since -

deleteAll

void deleteAll()
Remove all entries from the queue.



Copyright © 2003-2011 Atlassian. All Rights Reserved.