1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.quicklinks.service.impl;
17
18 import org.kuali.rice.core.api.util.KeyValue;
19 import org.kuali.rice.kew.quicklinks.ActionListStats;
20 import org.kuali.rice.kew.quicklinks.InitiatedDocumentType;
21 import org.kuali.rice.kew.quicklinks.WatchedDocument;
22 import org.kuali.rice.kew.quicklinks.dao.QuickLinksDAO;
23 import org.kuali.rice.kew.quicklinks.service.QuickLinksService;
24
25 import java.util.List;
26
27
28 public class QuickLinksServiceImpl implements QuickLinksService {
29
30 private QuickLinksDAO quickLinksDAO;
31
32 @Override
33 public List<ActionListStats> getActionListStats(String principalId) {
34 return getQuickLinksDAO().getActionListStats(principalId);
35 }
36
37 @Override
38 public List<InitiatedDocumentType> getInitiatedDocumentTypesList(String principalId) {
39 return getQuickLinksDAO().getInitiatedDocumentTypesList(principalId);
40 }
41
42 @Override
43 public List<KeyValue> getNamedSearches(String principalId) {
44 return getQuickLinksDAO().getNamedSearches(principalId);
45 }
46
47 @Override
48 public List<KeyValue> getRecentSearches(String principalId) {
49 return getQuickLinksDAO().getRecentSearches(principalId);
50 }
51
52 @Override
53 public List<WatchedDocument> getWatchedDocuments(String principalId) {
54 return getQuickLinksDAO().getWatchedDocuments(principalId);
55 }
56
57
58 public QuickLinksDAO getQuickLinksDAO() {
59 return quickLinksDAO;
60 }
61 public void setQuickLinksDAO(QuickLinksDAO quickLinksDAO) {
62 this.quickLinksDAO = quickLinksDAO;
63 }
64
65 }