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