1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.core.api.impex.xml; |
18 | |
|
19 | |
import org.jdom.Namespace; |
20 | |
|
21 | |
|
22 | |
|
23 | |
|
24 | |
|
25 | |
|
26 | |
public final class XmlConstants { |
27 | |
|
28 | |
|
29 | 0 | public static final Namespace WORKFLOW_NAMESPACE = Namespace.getNamespace("", "ns:workflow"); |
30 | 0 | public static final Namespace SCHEMA_NAMESPACE = Namespace.getNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance"); |
31 | 0 | public static final Namespace RULE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/Rule"); |
32 | 0 | public static final Namespace DOCUMENT_TYPE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/DocumentType"); |
33 | 0 | public static final Namespace GROUP_NAMESPACE = Namespace.getNamespace("", "ns:workflow/Group"); |
34 | 0 | public static final Namespace RULE_TEMPLATE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/RuleTemplate"); |
35 | 0 | public static final Namespace RULE_ATTRIBUTE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/RuleAttribute"); |
36 | 0 | public static final Namespace EDL_NAMESPACE = Namespace.getNamespace("", "ns:workflow/EDocLite"); |
37 | 0 | public static final Namespace STYLE_NAMESPACE = Namespace.getNamespace("", "ns:workflow/Style"); |
38 | |
|
39 | |
|
40 | |
public static final String SCHEMA_LOCATION_ATTR = "schemaLocation"; |
41 | |
public static final String WORKFLOW_SCHEMA_LOCATION = "ns:workflow resource:WorkflowData"; |
42 | |
public static final String RULE_SCHEMA_LOCATION = "ns:workflow/Rule resource:Rule"; |
43 | |
public static final String GROUP_SCHEMA_LOCATION = "ns:workflow/Group resource:Group"; |
44 | |
public static final String DOCUMENT_TYPE_SCHEMA_LOCATION = "ns:workflow/DocumentType resource:DocumentType"; |
45 | |
public static final String RULE_TEMPLATE_SCHEMA_LOCATION = "ns:workflow/RuleTemplate resource:RuleTemplate"; |
46 | |
public static final String RULE_ATTRIBUTE_SCHEMA_LOCATION = "ns:workflow/RuleAttribute resource:RuleAttribute"; |
47 | |
public static final String EDL_SCHEMA_LOCATION = "ns:workflow/EDocLite resource:EDocLite"; |
48 | |
public static final String STYLE_SCHEMA_LOCATION = "ns:workflow/Style resource:Style"; |
49 | |
|
50 | |
|
51 | |
public static final String DATA_ELEMENT = "data"; |
52 | |
|
53 | |
|
54 | |
public static final String NAME = "name"; |
55 | |
public static final String DESCRIPTION = "description"; |
56 | |
public static final String SUMMARY = "summary"; |
57 | |
public static final String LABEL = "label"; |
58 | |
public static final String SHORT_LABEL = "shortLabel"; |
59 | |
public static final String KEY = "key"; |
60 | |
public static final String VALUE = "value"; |
61 | |
public static final String ACTIVE= "active"; |
62 | |
public static final String TYPE = "type"; |
63 | |
|
64 | |
|
65 | |
public static final String DOCUMENT_TYPES = "documentTypes"; |
66 | |
public static final String DOCUMENT_TYPE = "documentType"; |
67 | |
public static final String DOCUMENT_TYPE_OVERWRITE_MODE = "overwriteMode"; |
68 | |
public static final String PARENT = "parent"; |
69 | |
|
70 | |
|
71 | |
|
72 | |
@Deprecated |
73 | |
public static final String SERVICE_NAMESPACE = "serviceNamespace"; |
74 | |
public static final String APPLICATION_ID = "applicationId"; |
75 | |
public static final String POST_PROCESSOR_NAME = "postProcessorName"; |
76 | |
public static final String SUPER_USER_WORKGROUP_NAME = "superUserWorkgroupName"; |
77 | |
public static final String SUPER_USER_GROUP_NAME = "superUserGroupName"; |
78 | |
public static final String BLANKET_APPROVE_WORKGROUP_NAME = "blanketApproveWorkgroupName"; |
79 | |
public static final String BLANKET_APPROVE_GROUP_NAME = "blanketApproveGroupName"; |
80 | |
public static final String BLANKET_APPROVE_POLICY = "blanketApprovePolicy"; |
81 | |
public static final String REPORTING_WORKGROUP_NAME = "reportingWorkgroupName"; |
82 | |
public static final String REPORTING_GROUP_NAME = "reportingGroupName"; |
83 | |
public static final String DEFAULT_EXCEPTION_WORKGROUP_NAME = "defaultExceptionWorkgroupName"; |
84 | |
public static final String DEFAULT_EXCEPTION_GROUP_NAME = "defaultExceptionGroupName"; |
85 | |
public static final String DOC_HANDLER = "docHandler"; |
86 | |
public static final String HELP_DEFINITION_URL = "helpDefinitionURL"; |
87 | |
public static final String DOC_SEARCH_HELP_URL = "docSearchHelpURL"; |
88 | |
public static final String NOTIFICATION_FROM_ADDRESS = "notificationFromAddress"; |
89 | |
public static final String CUSTOM_EMAIL_STYLESHEET = "emailStylesheet"; |
90 | |
public static final String POLICIES = "policies"; |
91 | |
public static final String POLICY = "policy"; |
92 | |
public static final String SECURITY = "security"; |
93 | |
public static final String ROUTING_VERSION = "routingVersion"; |
94 | |
public static final String ROUTE_PATHS = "routePaths"; |
95 | |
public static final String ROUTE_PATH = "routePath"; |
96 | |
public static final String INITIAL_NODE = "initialNode"; |
97 | |
public static final String PROCESS_NAME = "processName"; |
98 | |
public static final String ROUTE_NODES = "routeNodes"; |
99 | |
public static final String BRANCH = "branch"; |
100 | |
public static final String EXCEPTION_WORKGROUP_NAME = "exceptionWorkgroupName"; |
101 | |
public static final String EXCEPTION_WORKGROUP = "exceptionWorkgroup"; |
102 | |
public static final String EXCEPTION_GROUP_NAME = "exceptionGroupName"; |
103 | |
public static final String ACTIVATION_TYPE = "activationType"; |
104 | |
public static final String FINAL_APPROVAL = "finalApproval"; |
105 | |
public static final String MANDATORY_ROUTE = "mandatoryRoute"; |
106 | |
public static final String ROUTE_MODULE = "routeModule"; |
107 | |
public static final String NEXT_NODE = "nextNode"; |
108 | |
public static final String APP_DOC_STATUSES = "validApplicationStatuses"; |
109 | |
public static final String STATUS = "status"; |
110 | |
|
111 | |
|
112 | |
public static final String RULES = "rules"; |
113 | |
public static final String RULE = "rule"; |
114 | |
public static final String EXPRESSION = "expression"; |
115 | |
public static final String FROM_DATE = "fromDate"; |
116 | |
public static final String TO_DATE = "toDate"; |
117 | |
public static final String FORCE_ACTION = "forceAction"; |
118 | |
public static final String RESPONSIBILITIES = "responsibilities"; |
119 | |
public static final String RESPONSIBILITY = "responsibility"; |
120 | |
public static final String RESPONSIBILITY_ID = "responsibilityId"; |
121 | |
public static final String ACTION_REQUESTED = "actionRequested"; |
122 | |
public static final String USER = "user"; |
123 | |
public static final String ROLE = "role"; |
124 | |
public static final String ROLE_NAME = "roleName"; |
125 | |
public static final String ATTRIBUTE_CLASS_NAME = "attributeClassName"; |
126 | |
public static final String APPROVE_POLICY = "approvePolicy"; |
127 | |
public static final String PRIORITY = "priority"; |
128 | |
public static final String DELEGATIONS = "delegations"; |
129 | |
public static final String DELEGATION_TYPE = "delegationType"; |
130 | |
public static final String RULE_EXTENSIONS = "ruleExtensions"; |
131 | |
public static final String RULE_EXTENSION = "ruleExtension"; |
132 | |
public static final String RULE_EXTENSION_VALUES = "ruleExtensionValues"; |
133 | |
public static final String RULE_EXTENSION_VALUE = "ruleExtensionValue"; |
134 | |
public static final String RULE_DELEGATIONS = "ruleDelegations"; |
135 | |
public static final String RULE_DELEGATION = "ruleDelegation"; |
136 | |
public static final String PARENT_RESPONSIBILITY = "parentResponsibility"; |
137 | |
public static final String PARENT_RULE_NAME = "parentRuleName"; |
138 | |
|
139 | |
public static final String GROUPS = "groups"; |
140 | |
public static final String GROUP = "group"; |
141 | |
public static final String ID = "id"; |
142 | |
public static final String NAMESPACE = "namespace"; |
143 | |
public static final String EXTENSIONS = "extensions"; |
144 | |
public static final String EXTENSION = "extension"; |
145 | |
public static final String DATA = "data"; |
146 | |
public static final String WORKGROUPS = "workgroups"; |
147 | |
public static final String WORKGROUP = "workgroup"; |
148 | |
public static final String MEMBERS = "members"; |
149 | |
public static final String PRINCIPAL_NAME = "principalName"; |
150 | |
public static final String PRINCIPAL_ID = "principalId"; |
151 | |
public static final String GROUP_ID = "groupId"; |
152 | |
public static final String GROUP_NAME = "groupName"; |
153 | |
|
154 | |
|
155 | |
public static final String RULE_TEMPLATES = "ruleTemplates"; |
156 | |
public static final String RULE_TEMPLATE = "ruleTemplate"; |
157 | |
public static final String RULE_EXPRESSION = "expression"; |
158 | |
public static final String DELEGATION_TEMPLATE = "delegationTemplate"; |
159 | |
public static final String REQUIRED = "required"; |
160 | |
public static final String ATTRIBUTES = "attributes"; |
161 | |
public static final String ATTRIBUTE = "attribute"; |
162 | |
public static final String RULE_DEFAULTS = "ruleDefaults"; |
163 | |
public static final String DEFAULT_ACTION_REQUESTED = "defaultActionRequested"; |
164 | |
public static final String SUPPORTS_COMPLETE = "supportsComplete"; |
165 | |
public static final String SUPPORTS_APPROVE = "supportsApprove"; |
166 | |
public static final String SUPPORTS_ACKNOWLEDGE = "supportsAcknowledge"; |
167 | |
public static final String SUPPORTS_FYI = "supportsFYI"; |
168 | |
|
169 | |
|
170 | |
public static final String RULE_ATTRIBUTES = "ruleAttributes"; |
171 | |
public static final String RULE_ATTRIBUTE = "ruleAttribute"; |
172 | |
public static final String CLASS_NAME = "className"; |
173 | |
public static final String ROUTING_CONFIG = "routingConfig"; |
174 | |
public static final String SEARCHING_CONFIG = "searchingConfig"; |
175 | |
public static final String SEARCH_RESULT_CONFIG = "searchResultConfig"; |
176 | |
public static final String RESOLVER_CONFIG = "resolverConfig"; |
177 | |
public static final String IS_MEMBER_OF_WORKGROUP = "isMemberOfWorkgroup"; |
178 | |
public static final String IS_MEMBER_OF_GROUP = "isMemberOfGroup"; |
179 | |
|
180 | |
|
181 | |
public static final String EDL_EDOCLITE = "edoclite"; |
182 | |
public static final String EDL_STYLE = "style"; |
183 | |
public static final String EDL_ASSOCIATION = "association"; |
184 | |
public static final String EDL_DOC_TYPE = "docType"; |
185 | |
public static final String EDL_DEFINITION = "definition"; |
186 | |
public static final String EDL_ACTIVE = "active"; |
187 | |
|
188 | |
|
189 | |
public static final String STYLE_STYLES = "styles"; |
190 | |
public static final String STYLE_STYLE = "style"; |
191 | |
|
192 | 0 | private XmlConstants() { |
193 | 0 | throw new UnsupportedOperationException("do not call"); |
194 | |
} |
195 | |
} |