1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.docsearch; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import org.kuali.rice.kns.web.ui.Row; |
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
public interface DocumentSearchCriteriaProcessor { |
31 | |
|
32 | |
public static final String PERSON_LOOKUPABLE = "UserLookupableImplService"; |
33 | |
public static final String WORKGROUP_LOOKUPABLE = "WorkGroupLookupableImplService"; |
34 | |
public static final String DOC_TYP_LOOKUPABLE = "DocumentTypeLookupableImplService"; |
35 | |
|
36 | |
public static final String CRITERIA_KEYS_SUFFIX_RANGE_LOWER_BOUND = "From"; |
37 | |
public static final String CRITERIA_KEYS_SUFFIX_RANGE_UPPER_BOUND = "To"; |
38 | |
|
39 | |
public static final String CRITERIA_KEY_NAMED_SEARCH = "namedSearch"; |
40 | |
public static final String CRITERIA_KEY_DOC_TYPE_FULL_NAME = "docTypeFullName"; |
41 | |
public static final String CRITERIA_KEY_INITIATOR = "initiator"; |
42 | |
public static final String CRITERIA_KEY_DOCUMENT_ID = "documentId"; |
43 | |
public static final String CRITERIA_KEY_VIEWER_ID = "viewerId"; |
44 | |
public static final String CRITERIA_KEY_APPROVER_ID = "approverId"; |
45 | |
public static final String CRITERIA_KEY_WORKGROUP_VIEWER = "workgroupViewer"; |
46 | |
public static final String CRITERIA_KEY_WORKGROUP_VIEWER_ID = "workgroupViewerId"; |
47 | |
public static final String CRITERIA_KEY_APPLICATION_DOCUMENT_ID = "applicationDocumentId"; |
48 | |
public static final String CRITERIA_KEY_DOCUMENT_TITLE = "documentTitle"; |
49 | |
public static final String CRITERIA_KEY_DOCUMENT_ROUTE_STATUS = "documentRouteStatus"; |
50 | |
public static final String CRITERIA_KEY_DOCUMENT_ROUTE_NODE = "documentRouteNode"; |
51 | |
public static final String CRITERIA_KEY_CREATE_DATE = "createDate"; |
52 | |
public static final String CRITERIA_KEY_LAST_MODIFIED_DATE = "lastModifiedDate"; |
53 | |
public static final String CRITERIA_KEY_FINALIZED_DATE = "finalizedDate"; |
54 | |
public static final String CRITERIA_KEY_APPROVED_DATE = "approvedDate"; |
55 | |
public static final String CRITERIA_KEY_APP_DOC_STATUS = "appDocStatus"; |
56 | |
public static final String CRITERIA_KEY_STATUS_TRANSITION_DATE = "statusTransitionDate"; |
57 | |
|
58 | |
public void setSearchingUser(String principalId); |
59 | |
|
60 | |
public void setDocSearchCriteriaDTO(DocSearchCriteriaDTO docSearchCriteriaDTO); |
61 | |
|
62 | |
public DocSearchCriteriaDTO getDocSearchCriteriaDTO(); |
63 | |
|
64 | |
public boolean isHeaderBarDisplayed(); |
65 | |
|
66 | |
public Boolean isAdvancedSearchCriteriaDisplayed(); |
67 | |
|
68 | |
public Boolean isBasicSearchCriteriaDisplayed(); |
69 | |
|
70 | |
public List<Row> processSearchableAttributeRowsForBasicSearch(List<Row> searchableAttributeRows); |
71 | |
|
72 | |
public List<Row> processSearchableAttributeRowsForAdvancedSearch(List<Row> searchableAttributeRows); |
73 | |
|
74 | |
public StandardDocSearchCriteriaManager getBasicSearchManager(); |
75 | |
|
76 | |
public StandardDocSearchCriteriaManager getAdvancedSearchManager(); |
77 | |
} |