Class MessageQueueDaoJpa
java.lang.Object
org.kuali.rice.ksb.messaging.dao.impl.MessageQueueDaoJpa
- All Implemented Interfaces:
MessageQueueDAO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAll(int maxRows) findByRouteQueueId(Long routeQueueId) findByValues(Map<String, String> criteriaValues, int maxRows) Finds the persisted messages that match the values passed into the criteriaValues Map, with an EqualTo criteria for each.javax.persistence.EntityManagergetNextDocuments(Integer maxDocuments) voidremove(PersistedMessageBO routeQueue) save(PersistedMessageBO routeQueue) voidsetEntityManager(javax.persistence.EntityManager entityManager)
-
Constructor Details
-
MessageQueueDaoJpa
public MessageQueueDaoJpa()
-
-
Method Details
-
findAll
- Specified by:
findAllin interfaceMessageQueueDAO
-
findByRouteQueueId
- Specified by:
findByRouteQueueIdin interfaceMessageQueueDAO
-
findByValues
Description copied from interface:MessageQueueDAOFinds the persisted messages that match the values passed into the criteriaValues Map, with an EqualTo criteria for each.- Specified by:
findByValuesin interfaceMessageQueueDAO- Parameters:
criteriaValues- A Map of Key/Value pairs, where the Key is a string holding the field name, and the Value is a string holding the value to match.- Returns:
- A populated (or empty) list containing the results of the search. If no matches are made, an empty list will be returned.
-
getNextDocuments
- Specified by:
getNextDocumentsin interfaceMessageQueueDAO
-
remove
- Specified by:
removein interfaceMessageQueueDAO
-
save
- Specified by:
savein interfaceMessageQueueDAO
-
getEntityManager
public javax.persistence.EntityManager getEntityManager() -
setEntityManager
public void setEntityManager(javax.persistence.EntityManager entityManager)
-