1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.ksb.messaging.dao;
17
18 import org.kuali.rice.ksb.messaging.PersistedMessageBO;
19 import org.kuali.rice.ksb.messaging.PersistedMessagePayload;
20
21 import javax.xml.namespace.QName;
22 import java.util.List;
23 import java.util.Map;
24
25
26 public interface MessageQueueDAO {
27
28 public void remove(PersistedMessageBO routeQueue);
29
30 public void save(PersistedMessageBO routeQueue);
31
32 public PersistedMessageBO findByRouteQueueId(Long routeQueueId);
33
34 public List<PersistedMessageBO> findAll();
35
36 public List<PersistedMessageBO> findAll(int maxRows);
37
38 public List<PersistedMessageBO> getNextDocuments(Integer maxDocuments);
39
40 public List<PersistedMessageBO> findByServiceName(QName serviceName, String methodName);
41
42
43
44
45
46
47
48
49
50
51
52 public List<PersistedMessageBO> findByValues(Map<String, String> criteriaValues, int maxRows);
53
54 public PersistedMessagePayload findByPersistedMessageByRouteQueueId(Long routeQueueId);
55 }