Class MessageQueueServiceImpl
java.lang.Object
org.kuali.rice.ksb.messaging.service.impl.MessageQueueServiceImpl
- All Implemented Interfaces:
MessageQueueService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(PersistedMessageBO routeQueue) findAll(int maxRows) findByRouteQueueId(Long routeQueueId) Finds the PersistedMessageBO identified by the passed-in primary key, if one is available, otherwise returns a null object.findByValues(Map<String, String> criteriaValues, int maxRows) Finds the persisted messages that match the values passed into the criteriaValues Map, with an auto-wildcard function, if no wildcard is passed in.getNextDocuments(Integer maxDocuments) Returns a List of RouteQueue documents which are queued for routing.save(PersistedMessageBO routeQueue) voidsetMessageQueueDao(MessageQueueDAO queueDAO)
-
Constructor Details
-
MessageQueueServiceImpl
public MessageQueueServiceImpl()
-
-
Method Details
-
delete
- Specified by:
deletein interfaceMessageQueueService
-
save
- Specified by:
savein interfaceMessageQueueService
-
findAll
- Specified by:
findAllin interfaceMessageQueueService
-
findByRouteQueueId
Description copied from interface:MessageQueueServiceFinds the PersistedMessageBO identified by the passed-in primary key, if one is available, otherwise returns a null object.- Specified by:
findByRouteQueueIdin interfaceMessageQueueService- Parameters:
routeQueueId- The primary key routeQueueId of the message desired.- Returns:
- A populated PersistedMessageBO instance, if the routeQueueId exists, otherwise a null object.
-
getNextDocuments
Description copied from interface:MessageQueueServiceReturns a List of RouteQueue documents which are queued for routing. Will not return more RouteQueues than the value of maxDocuments.- Specified by:
getNextDocumentsin interfaceMessageQueueService
-
getMessageQueueDao
-
setMessageQueueDao
-
findByValues
Description copied from interface:MessageQueueServiceFinds the persisted messages that match the values passed into the criteriaValues Map, with an auto-wildcard function, if no wildcard is passed in.- Specified by:
findByValuesin interfaceMessageQueueService- 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.maxRows- the maximum number of rows to return from the query. If -1, then all rows will be returned.- Returns:
- A populated (or empty) list containing the results of the search. If no matches are made, an empty list will be returned.
-