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 org.kuali.rice.core.api.CoreConstants; |
19 | |
import org.kuali.rice.core.api.CoreConstants.Versions; |
20 | |
|
21 | |
public final class KewApiConstants { |
22 | |
|
23 | |
public static final String MACHINE_GENERATED_RESPONSIBILITY_ID = "0"; |
24 | |
public static final String ADHOC_REQUEST_RESPONSIBILITY_ID = "-1"; |
25 | |
public static final String EXCEPTION_REQUEST_RESPONSIBILITY_ID = "-2"; |
26 | |
public static final String SAVED_REQUEST_RESPONSIBILITY_ID = "-3"; |
27 | |
|
28 | |
public static final int TITLE_MAX_LENGTH = 255; |
29 | |
|
30 | |
public static final String DOCUMENT_CONTENT_ELEMENT = "documentContent"; |
31 | |
public static final String ATTRIBUTE_CONTENT_ELEMENT = "attributeContent"; |
32 | |
public static final String SEARCHABLE_CONTENT_ELEMENT = "searchableContent"; |
33 | |
public static final String APPLICATION_CONTENT_ELEMENT = "applicationContent"; |
34 | |
public static final String DEFAULT_DOCUMENT_CONTENT = "<" + DOCUMENT_CONTENT_ELEMENT + "/>"; |
35 | |
public static final String DEFAULT_DOCUMENT_CONTENT2 = "<" + DOCUMENT_CONTENT_ELEMENT + "></" |
36 | |
+ DOCUMENT_CONTENT_ELEMENT + ">"; |
37 | |
|
38 | |
|
39 | |
public static final String RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_KEY = "_receive_future_requests"; |
40 | |
public static final String DEACTIVATED_FUTURE_REQUESTS_BRANCH_STATE_KEY = "_deactivated_future_requests"; |
41 | |
public static final String DONT_RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "NO"; |
42 | |
public static final String RECEIVE_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "YES"; |
43 | |
public static final String CLEAR_FUTURE_REQUESTS_BRANCH_STATE_VALUE = "CLEAR"; |
44 | |
|
45 | 0 | public static final class DocumentContentVersions { |
46 | |
public static final int ROUTE_LEVEL = 0; |
47 | |
public static final int NODAL = 1; |
48 | |
public static final int CURRENT = NODAL; |
49 | |
} |
50 | |
|
51 | 0 | public static final class Namespaces { |
52 | |
|
53 | |
public static final String KEW_NAMESPACE_PREFIX = CoreConstants.Namespaces.ROOT_NAMESPACE_PREFIX + "/kew"; |
54 | |
|
55 | |
|
56 | |
|
57 | |
|
58 | |
public static final String KEW_NAMESPACE_2_0 = KEW_NAMESPACE_PREFIX + "/" + Versions.VERSION_2_0; |
59 | |
|
60 | |
} |
61 | |
|
62 | 0 | public static final class ServiceNames { |
63 | |
public static final String WORKFLOW_DOCUMENT_ACTIONS_SERVICE_SOAP = "workflowDocumentActionsServiceSoap"; |
64 | |
} |
65 | |
|
66 | 0 | private KewApiConstants() { |
67 | 0 | throw new UnsupportedOperationException("Should never be called."); |
68 | |
} |
69 | |
|
70 | |
} |