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 | 0 | public class QuickLinksServiceImpl implements QuickLinksService { |
29 | |
|
30 | |
private QuickLinksDAO quickLinksDAO; |
31 | |
|
32 | |
@Override |
33 | |
public List<ActionListStats> getActionListStats(String principalId) { |
34 | 0 | return getQuickLinksDAO().getActionListStats(principalId); |
35 | |
} |
36 | |
|
37 | |
@Override |
38 | |
public List<InitiatedDocumentType> getInitiatedDocumentTypesList(String principalId) { |
39 | 0 | return getQuickLinksDAO().getInitiatedDocumentTypesList(principalId); |
40 | |
} |
41 | |
|
42 | |
@Override |
43 | |
public List<KeyValue> getNamedSearches(String principalId) { |
44 | 0 | return getQuickLinksDAO().getNamedSearches(principalId); |
45 | |
} |
46 | |
|
47 | |
@Override |
48 | |
public List<KeyValue> getRecentSearches(String principalId) { |
49 | 0 | return getQuickLinksDAO().getRecentSearches(principalId); |
50 | |
} |
51 | |
|
52 | |
@Override |
53 | |
public List<WatchedDocument> getWatchedDocuments(String principalId) { |
54 | 0 | return getQuickLinksDAO().getWatchedDocuments(principalId); |
55 | |
} |
56 | |
|
57 | |
|
58 | |
public QuickLinksDAO getQuickLinksDAO() { |
59 | 0 | return quickLinksDAO; |
60 | |
} |
61 | |
public void setQuickLinksDAO(QuickLinksDAO quickLinksDAO) { |
62 | 0 | this.quickLinksDAO = quickLinksDAO; |
63 | 0 | } |
64 | |
|
65 | |
} |