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 MessageQueueDAO
public List<PersistedMessageBO> findAll(int maxRows)
findAll
in interface MessageQueueDAO
public PersistedMessagePayload findByPersistedMessageByRouteQueueId(Long routeQueueId)
findByPersistedMessageByRouteQueueId
in interface MessageQueueDAO
public PersistedMessageBO findByRouteQueueId(Long routeQueueId)
findByRouteQueueId
in interface MessageQueueDAO
public List<PersistedMessageBO> findByServiceName(QName serviceName, String methodName)
findByServiceName
in interface MessageQueueDAO
public List<PersistedMessageBO> findByValues(Map<String,String> criteriaValues, int maxRows)
MessageQueueDAO
findByValues
in interface MessageQueueDAO
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.public List<PersistedMessageBO> getNextDocuments(Integer maxDocuments)
getNextDocuments
in interface MessageQueueDAO
public void remove(PersistedMessageBO routeQueue)
remove
in interface MessageQueueDAO
public PersistedMessageBO save(PersistedMessageBO routeQueue)
save
in interface MessageQueueDAO
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.