1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.util;
17
18 import java.util.HashSet;
19 import java.util.Set;
20
21 import org.kuali.rice.core.util.JSTLConstants;
22
23
24
25
26
27
28
29 public class KEWPropertyConstants extends JSTLConstants {
30
31 private static final long serialVersionUID = 3866677900853284209L;
32
33
34 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_HEADER_ID = "routeHeaderId";
35 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_TYPE_LABEL = "docTypeLabel";
36 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_TITLE = "documentTitle";
37 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_STATUS_DESC = "docRouteStatusCodeDesc";
38 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_INITIATOR = "initiator";
39 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DATE_CREATED = "dateCreated";
40 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_LOG = "routeLog";
41 public static final String DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_STATUS = "appDocStatus";
42
43
44 public static final String DOCUMENT_TYPE_ID = "documentTypeId";
45 public static final String NAME = "name";
46 public static final String DOC_TYP_LABEL = "label";
47 public static final String DOC_TYPE_PARENT_ID = "documentTypeId";
48 public static final String PARENT_DOC_TYPE_NAME = "parentDocType.name";
49 public static final String ACTIVE = "active";
50 public static final String BACK_LOCATION = "backLocation";
51 public static final String SERVICE_NAMESPACE = "serviceNamespace";
52 public static final String DOC_FORM_KEY = "docFormKey";
53
54
55 public static final String ROUTE_NODE_ID = "routeNodeId";
56 public static final String ROUTE_NODE_INSTANCE_ID = "routeNodeInstanceId";
57 public static final String NODE_INSTANCE_ID = "nodeInstanceId";
58 public static final String DOCUMENT_ID = "documentId";
59 public static final String ROUTE_HEADER_ID = "routeHeaderId";
60 public static final String ROUTE_NODE_NAME = "routeNodeName";
61 public static final String PROCESS_ID = "processId";
62 public static final String COMPLETE = "complete";
63 public static final String FINAL_APPROVAL = "finalApprovalInd";
64 public static final String KEY = "key";
65 public static final String ROUTE_NODE_STATE_ID = "nodeStateId";
66
67
68 public static final Set<String> DOC_SEARCH_RESULT_PROPERTY_NAME_SET = new HashSet<String>();
69 static {
70 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_HEADER_ID);
71 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_TYPE_LABEL);
72 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_TITLE);
73 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_STATUS_DESC);
74 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_STATUS);
75 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_INITIATOR);
76 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_DATE_CREATED);
77 DOC_SEARCH_RESULT_PROPERTY_NAME_SET.add(DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_LOG);
78 }
79
80
81 public static final String PERSON_RESP_SECTION = "personResponsibilities";
82
83 public static final String GROUP_RESP_SECTION = "groupResponsibilities";
84
85 public static final String ROLE_RESP_SECTION = "roleResponsibilities";
86
87 public static final Set<String> RESP_SECTION_NAME_SET = new HashSet<String>();
88 static {
89 RESP_SECTION_NAME_SET.add(PERSON_RESP_SECTION);
90 RESP_SECTION_NAME_SET.add(GROUP_RESP_SECTION);
91 RESP_SECTION_NAME_SET.add(ROLE_RESP_SECTION);
92 }
93 }