public class MessageQueueDaoJpa extends Object implements MessageQueueDAO
| Constructor and Description |
|---|
MessageQueueDaoJpa() |
| Modifier and Type | Method and Description |
|---|---|
List<PersistedMessageBO> |
findAll() |
List<PersistedMessageBO> |
findAll(int maxRows) |
PersistedMessagePayload |
findByPersistedMessageByRouteQueueId(Long routeQueueId) |
PersistedMessageBO |
findByRouteQueueId(Long routeQueueId) |
List<PersistedMessageBO> |
findByServiceName(QName serviceName,
String methodName) |
List<PersistedMessageBO> |
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.EntityManager |
getEntityManager() |
List<PersistedMessageBO> |
getNextDocuments(Integer maxDocuments) |
void |
remove(PersistedMessageBO routeQueue) |
PersistedMessageBO |
save(PersistedMessageBO routeQueue) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public MessageQueueDaoJpa()
public List<PersistedMessageBO> findAll()
findAll in interface MessageQueueDAOpublic List<PersistedMessageBO> findAll(int maxRows)
findAll in interface MessageQueueDAOpublic PersistedMessagePayload findByPersistedMessageByRouteQueueId(Long routeQueueId)
findByPersistedMessageByRouteQueueId in interface MessageQueueDAOpublic PersistedMessageBO findByRouteQueueId(Long routeQueueId)
findByRouteQueueId in interface MessageQueueDAOpublic List<PersistedMessageBO> findByServiceName(QName serviceName, String methodName)
findByServiceName in interface MessageQueueDAOpublic List<PersistedMessageBO> findByValues(Map<String,String> criteriaValues, int maxRows)
MessageQueueDAOfindByValues in interface MessageQueueDAOcriteriaValues - 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.public List<PersistedMessageBO> getNextDocuments(Integer maxDocuments)
getNextDocuments in interface MessageQueueDAOpublic void remove(PersistedMessageBO routeQueue)
remove in interface MessageQueueDAOpublic PersistedMessageBO save(PersistedMessageBO routeQueue)
save in interface MessageQueueDAOpublic javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.