1 23 24 package org.apache.slide.webdav.util; 25 26 import java.util.Arrays ; 27 import java.util.Collections ; 28 import java.util.List ; 29 30 34 public interface DeltavConstants extends WebdavConstants { 35 36 37 String I_NEXT_HISTORY_NAME = "next-history-name"; String I_INITIAL_HISTORY_NAME = "1"; 39 String I_NEXT_WORKINGRESOURCE_NAME = "next-workingresource-name"; String I_INITIAL_WORKINGRESOURCE_NAME = "1"; 41 String I_CHECKIN_LOCKTOKEN = "checkin-locktoken"; 42 String I_HISTORYPATH = "historypath"; 43 String I_HISTORYPATH_DEFAULT = "/history"; 44 String I_WORKSPACEPATH = "workspacepath"; 45 String I_WORKSPACEPATH_DEFAULT = "/workspace"; 46 String I_WORKINGRESOURCEPATH = "workingresourcepath"; 47 String I_WORKINGRESOURCEPATH_DEFAULT = "/workingresource"; 48 String I_AUTO_VERSION = "auto-version"; 49 String I_AUTO_VERSION_DEFAULT = "checkout-checkin"; 50 String I_AUTO_VERSION_CONTROL = "auto-version-control"; 51 String I_AUTO_VERSION_CONTROL_DEFAULT = "false"; 52 String I_CHECKOUT_FORK = "checkout-fork"; 53 String I_CHECKOUT_FORK_DEFAULT = "forbidden"; 54 String I_CHECKIN_FORK = "checkin-fork"; 55 String I_CHECKIN_FORK_DEFAULT = "forbidden"; 56 String I_STORE_PLACE_HOLDER_IN_PATH = "${store}"; 57 String I_VERSIONCONTROL_EXCLUDEPATH = "versioncontrol-exclude"; 58 String I_VERSIONCONTROL_EXCLUDEPATH_DEFAULT = ""; 59 60 61 62 63 String F_ACTIVITY = "activity"; 64 String F_BASELINE = "baseline"; 65 String F_CHECKOUT_IN_PLACE = "checkout-in-place"; 66 String F_LABEL = "label"; 67 String F_MERGE = "merge"; 68 String F_UPDATE = "update"; 69 String F_VERSION_CONTROL = "version-control"; 70 String F_VERSION_CONTROLLED_COLLECTION = "version-controlled-collection"; 71 String F_VERSION_HISTORY = "version-history"; 72 String F_WORKING_RESOURCE = "working-resource"; 73 String F_WORKSPACE = "workspace"; 74 75 76 String H_LABEL = "Label"; 77 78 79 String E_ACTIVITY = "activity"; 80 String E_APPLY_TO_VERSION = "apply-to-version"; 81 String E_ADD = "add"; 82 String E_CHECKIN = "checkin"; 83 String E_CHECKIN_FORK = "checkin-fork"; 84 String E_CHECKIN_RESPONSE = "checkin-response"; 85 String E_CHECKOUT = "checkout"; 86 String E_CHECKOUT_IGNORE_UNLOCK = "checkout-ignore-unlock"; 87 String E_CHECKOUT_CHECKIN = "checkout-checkin"; 88 String E_CHECKOUT_FORK = "checkout-fork"; 89 String E_CHECKOUT_RESPONSE = "checkout-response"; 90 String E_CHECKOUT_UNLOCKED_CHECKIN = "checkout-unlocked-checkin"; 91 String E_DISCOURAGED = "discouraged"; 92 String E_FORBIDDEN = "forbidden"; 93 String E_FORK_OK = "fork-ok"; 94 String E_KEEP_CHECKED_OUT = "keep-checked-out"; 95 String E_LOCKED_CHECKOUT = "locked-checkout"; 96 String E_LABEL = "label"; 97 String E_LABEL_NAME = "label-name"; 98 String E_MKWORKSPACE = "mkworkspace"; 99 String E_MKWORKSPACE_RESPONSE = "mkworkspace-response"; 100 String E_NAME = "name"; 101 String E_OPTIONS = "options"; 102 String E_OPTIONS_RESPONSE = "options-response"; 103 String E_PROPERTY = "property"; 104 String E_SUPPORTED_LIVE_PROPERTY = "supported-live-property"; 105 String E_SUPPORTED_METHOD = "supported-method"; 106 String E_SUPPORTED_REPORT = "supported-report"; 107 String E_UNCHECKOUT = "uncheckout"; 108 String E_UNCHECKOUT_RESPONSE = "uncheckout-response"; 109 String E_UPDATE = "update"; 110 String E_VERSION = "version"; 111 String E_VERSION_CONTROL = "version-control"; 112 String E_VERSION_CONTROL_RESPONSE = "version-control-response"; 113 String E_VERSION_HISTORY = "version-history"; 114 String E_VERSION_HISTORY_COLLECTION_SET = "version-history-collection-set"; 115 String E_VERSION_HISTORY_SET = "version-history-set"; 116 String E_WORKSPACE_COLLECTION_SET = "workspace-collection-set"; 117 118 119 String A_NAME = "name"; 120 String A_NAMESPACE = "namespace"; 121 122 123 String Q_PROTECTED_ONLY = "protected-only"; 124 String Q_COMPUTED_ONLY = "computed-only"; 125 126 127 String P_ACTIVITY_CHECKOUT_SET = "activity-checkout-set"; 128 String P_ACTIVITY_SET = "activity-set"; 129 String P_ACTIVITY_VERSION_SET = "activity-version-set"; 130 String P_AUTO_MERGE_SET = "auto-merge-set"; 131 String P_AUTO_UPDATE = "auto-update"; 132 String P_AUTO_VERSION = "auto-version"; 133 String P_BASELINE_COLLECTION = "baseline-collection"; 134 String P_BASELINE_CONTROLLED_COLLECTION = "baseline-controlled-collection"; 135 String P_BASELINE_CONTROLLED_COLLECTION_SET = "baseline-controlled-collection-set"; 136 String P_CHECKED_IN = "checked-in"; 137 String P_CHECKED_OUT = "checked-out"; 138 String P_CHECKIN_FORK = "checkin-fork"; 139 String P_CHECKOUT_FORK = "checkout-fork"; 140 String P_CHECKOUT_SET = "checkout-set"; 141 String P_COMMENT = "comment"; 142 String P_CREATOR_DISPLAYNAME = "creator-displayname"; 143 String P_CURRENT_ACTIVITY_SET = "current-activity-set"; 144 String P_CURRENT_WORKSPACE_SET = "current-workspace-set"; 145 String P_ECLIPSED_SET = "eclipsed-set"; 146 String P_LABEL_NAME_SET = "label-name-set"; 147 String P_MERGE_SET = "merge-set"; 148 String P_PREDECESSOR_SET = "predecessor-set"; 149 String P_ROOT_VERSION = "root-version"; 150 String P_SUBACTIVITY_SET = "subactivity-set"; 151 String P_SUBBASELINE_SET = "subbaseline-set"; 152 String P_SUCCESSOR_SET = "successor-set"; 153 String P_SUPPORTED_LIVE_PROPERTY_SET = "supported-live-property-set"; 154 String P_SUPPORTED_METHOD_SET = "supported-method-set"; 155 String P_SUPPORTED_REPORT_SET = "supported-report-set"; 156 String P_UNRESERVED = "unreserved"; 157 String P_VERSION_CONTROLLED_BINDING_SET = "version-controlled-binding-set"; 158 String P_VERSION_CONTROLLED_CONFIGURATION = "version-controlled-configuration"; 159 String P_VERSION_HISTORY = "version-history"; 160 String P_VERSION_NAME = "version-name"; 161 String P_VERSION_SET = "version-set"; 162 String P_WORKSPACE = "workspace"; 163 String P_WORKSPACE_CHECKOUT_SET = "workspace-checkout-set"; 164 165 String [] DELTAV_PROPERTIES = new String [] { 166 P_ACTIVITY_CHECKOUT_SET, 167 P_ACTIVITY_SET, 168 P_ACTIVITY_VERSION_SET, 169 P_AUTO_MERGE_SET, 170 P_AUTO_UPDATE, 171 P_AUTO_VERSION, 172 P_BASELINE_COLLECTION, 173 P_BASELINE_CONTROLLED_COLLECTION, 174 P_BASELINE_CONTROLLED_COLLECTION_SET, 175 P_CHECKED_IN, 176 P_CHECKED_OUT, 177 P_CHECKIN_FORK, 178 P_CHECKOUT_FORK, 179 P_CHECKOUT_SET, 180 P_COMMENT, 181 P_CREATOR_DISPLAYNAME, 182 P_CURRENT_ACTIVITY_SET, 183 P_CURRENT_WORKSPACE_SET, 184 P_ECLIPSED_SET, 185 P_LABEL_NAME_SET, 186 P_MERGE_SET, 187 P_PREDECESSOR_SET, 188 P_ROOT_VERSION, 189 P_SUBACTIVITY_SET, 190 P_SUBBASELINE_SET, 191 P_SUCCESSOR_SET, 192 P_SUPPORTED_LIVE_PROPERTY_SET, 193 P_SUPPORTED_METHOD_SET, 194 P_SUPPORTED_REPORT_SET, 195 P_UNRESERVED, 196 P_VERSION_CONTROLLED_BINDING_SET, 197 P_VERSION_CONTROLLED_CONFIGURATION, 198 P_VERSION_HISTORY, 199 P_VERSION_NAME, 200 P_VERSION_SET, 201 P_WORKSPACE, 202 P_WORKSPACE_CHECKOUT_SET 203 }; 204 205 List DELTAV_PROPERTY_LIST = Collections.unmodifiableList(Arrays.asList(DELTAV_PROPERTIES)); 206 207 208 String M_BASELINE_CONTROL = "BASELINE-CONTROL"; 209 String M_CHECKIN = "CHECKIN"; 210 String M_CHECKOUT = "CHECKOUT"; 211 String M_LABEL = "LABEL"; 212 String M_MERGE = "MERGE"; 213 String M_MKACTIVITY = "MKACTIVITY"; 214 String M_MKWORKSPACE = "MKWORKSPACE"; 215 String M_REPORT = "REPORT"; 216 String M_UNCHECKOUT = "UNCHECKOUT"; 217 String M_UPDATE = "UPDATE"; 218 String M_VERSION_CONTROL = "VERSION-CONTROL"; 219 220 221 String R_COMPARE_BASELINE = "compare-baseline"; 222 String R_EXPAND_PROPERTY = "expand-property"; 223 String R_LATEST_ACTIVITY_VERSION = "latest-activity-version"; 224 String R_LOCATE_BY_HISTORY = "locate-by-history"; 225 String R_MERGE_PREVIEW = "merge-preview"; 226 String R_VERSION_TREE = "version-tree"; 227 228 229 String C_ACTIVITY_CHECKIN = "activity-checkin"; 230 String C_ACTIVITY_LOCATION_OK = "activity-location-ok"; 231 String C_ADD_MUST_BE_NEW_LABEL = "add-must-be-new-label"; 232 String C_ADD_OR_SET_LABEL = "add-or-set-label"; 233 String C_ADD_TO_HISTORY = "add-to-history"; 234 String C_ANCESTOR_VERSION = "ancestor-version"; 235 String C_APPLY_REQUEST_TO_LABELED_VERSION = "apply-request-to-labeled-version"; 236 String C_ATOMIC_ACTIVITY_CHECKIN = "atomic-activity-checkin"; 237 String C_AUTO_CHECKIN = "auto-checkin"; 238 String C_AUTO_CHECKOUT = "auto-checkout"; 239 String C_AUTO_CHECKOUT_CHECKIN = "auto-checkout-checkin"; 240 String C_AUTO_UPDATE = "auto-update"; 241 String C_BASELINE_CONTROLLED_MEMBERS_MUST_BE_CHECKED_IN = "baseline-controlled-members-must-be-checked-in"; 242 String C_BASELINES_FROM_SAME_HISTORY = "baselines-from-same-history"; 243 String C_CANCEL_CHECKED_OUT = "cancel-checked-out"; 244 String C_CANNOT_ADD_TO_EXISTING_HISTORY = "cannot-add-to-existing-history"; 245 String C_CANNOT_COPY_COLLECTION_VERSION = "cannot-copy-collection-version"; 246 String C_CANNOT_COPY_HISTORY = "cannot-copy-history"; 247 String C_CANNOT_MERGE_CHECKED_OUT_RESOURCE = "cannot-merge-checked-out-resource"; 248 String C_CANNOT_MODIFY_CHECKED_IN_PARENT = "cannot-modify-checked-in-parent"; 249 String C_CANNOT_MODIFY_DESTINATION_CHECKED_IN_PARENT = "cannot-modify-destination-checked-in-parent"; 250 String C_CANNOT_MODIFY_PROTECTED_PROPERTY = "cannot-modify-protected-property"; 251 String C_CANNOT_MODIFY_VERSION = "cannot-modify-version"; 252 String C_CANNOT_MODIFY_VERSION_CONTROLLED_CONFIGURATION = "cannot-modify-version-controlled-configuration"; 253 String C_CANNOT_MODIFY_VERSION_CONTROLLED_CONTENT = "cannot-modify-version-controlled-content"; 254 String C_CANNOT_MODIFY_VERSION_CONTROLLED_PROPERTY = "cannot-modify-version-controlled-property"; 255 String C_CANNOT_RENAME_HISTORY = "cannot-rename-history"; 256 String C_CANNOT_RENAME_VERSION = "cannot-rename-version"; 257 String C_CANNOT_RENAME_WORKING_RESOURCE = "cannot-rename-working-resource"; 258 String C_CHECKED_IN = "checked-in"; 259 String C_CHECKED_OUT_FOR_MERGE = "checked-out-for-merge"; 260 String C_CHECKIN_ACTIVITY = "checkin-activity"; 261 String C_CHECKIN_FORK_DISCOURAGED = "checkin-fork-discouraged"; 262 String C_CHECKIN_FORK_FORBIDDEN = "checkin-fork-forbidden"; 263 String C_CHECKOUT_NOT_ALLOWED = "checkout-not-allowed"; 264 String C_CHECKOUT_OF_CHECKED_OUT_VERSION_IS_DISCOURAGED = "checkout-of-checked-out-version-is-discouraged"; 265 String C_CHECKOUT_OF_CHECKED_OUT_VERSION_IS_FORBIDDEN = "checkout-of-checked-out-version-is-forbidden"; 266 String C_CHECKOUT_OF_VERSION_WITH_DESCENDANT_IS_DISCOURAGED = "checkout-of-version-with-descendant-is-discouraged"; 267 String C_CHECKOUT_OF_VERSION_WITH_DESCENDANT_IS_FORBIDDEN = "checkout-of-version-with-descendant-is-forbidden"; 268 String C_COPY_CREATES_NEW_RESOURCE = "copy-creates-new-resource"; 269 String C_CREATE_BASELINE_COLLECTION = "create-baseline-collection"; 270 String C_CREATE_NEW_BASELINE = "create-new-baseline"; 271 String C_CREATE_VERSION = "create-version"; 272 String C_CREATE_VERSION_CONTROLLED_CONFIGURATION = "create-version-controlled-configuration"; 273 String C_CREATE_WORKING_RESOURCE = "create-working-resource"; 274 String C_CREATE_WORKING_RESOURCE_FROM_CHECKED_IN_VERSION = "create-working-resource-from-checked-in-version"; 275 String C_DELETE_ACTIVITY_REFERENCE = "delete-activity-reference"; 276 String C_DELETE_VERSION_REFERENCE = "delete-version-reference"; 277 String C_DELETE_VERSION_SET = "delete-version-set"; 278 String C_DELETE_WORKING_RESOURCE = "delete-working-resource"; 279 String C_DELETE_WORKSPACE_MEMBERS = "delete-workspace-members"; 280 String C_DEPTH_UPDATE = "depth-update"; 281 String C_DESCENDANT_VERSION = "descendant-version"; 282 String C_INITIALIZE_ACTIVITY = "initialize-activity"; 283 String C_INITIALIZE_ACTIVITY_SET = "initialize-activity-set"; 284 String C_INITIALIZE_PREDECESSOR_SET = "initialize-predecessor-set"; 285 String C_INITIALIZE_UNRESERVED = "initialize-unreserved"; 286 String C_INITIALIZE_VERSION_CONTENT_AND_PROPERTIES = "initialize-version-content-and-properties"; 287 String C_INITIALIZE_VERSION_CONTROLLED_BINDINGS = "initialize-version-controlled-bindings"; 288 String C_INITIALIZE_VERSION_HISTORY_BINDINGS = "initialize-version-history-bindings"; 289 String C_INITIALIZE_WORKSPACE = "initialize-workspace"; 290 String C_IS_CHECKED_OUT = "is-checked-out"; 291 String C_KEEP_CHECKED_OUT = "keep-checked-out"; 292 String C_LABEL_MUST_EXIST = "label-must-exist"; 293 String C_LINEAR_ACTIVITY = "linear-activity"; 294 String C_MERGE_BASELINE = "merge-baseline"; 295 String C_MERGE_MUST_BE_COMPLETE = "merge-must-be-complete"; 296 String C_MERGE_SUBBASELINES = "merge-subbaselines"; 297 String C_MODIFY_CONFIGURATION = "modify-configuration"; 298 String C_MUST_BE_ACTIVITY = "must-be-activity"; 299 String C_MUST_BE_BASELINE = "must-be-baseline"; 300 String C_MUST_BE_CHECKED_IN = "must-be-checked-in"; 301 String C_MUST_BE_CHECKED_OUT = "must-be-checked-out"; 302 String C_MUST_BE_CHECKED_IN_VERSION_CONTROLLED_RESOURCE = "must-be-checked-in-version-controlled-resource"; String C_MUST_BE_CHECKED_OUT_VERSION_CONTROLLED_RESOURCE = "must-be-checked-out-version-controlled-resource"; 304 String C_MUST_BE_VERSION = "must-be-version"; 305 String C_MUST_BE_NEW_LABEL = "must-be-new-label"; 306 String C_MUST_BE_VERSION_HISTORY = "must-be-version-history"; 307 String C_MUST_HAVE_NO_VERSION_CONTROLLED_MEMBERS = "must-have-no-version-controlled-members"; 308 String C_MUST_NOT_CHANGE_EXISTING_CHECKED_IN_OUT = "must-not-change-existing-checked-in-out"; 309 String C_MUST_NOT_COPY_VERSIONING_PROPERTY = "must-not-copy-versioning-property"; 310 String C_MUST_NOT_HAVE_LABEL_AND_APPLY_TO_VERSION = "must-not-have-label-and-apply-to-version"; 311 String C_MUST_NOT_UPDATE_BASELINE_COLLECTION = "must-not-update-baseline-collection"; 312 String C_MUST_SELECT_VERSION_IN_HISTORY = "must-select-version-in-history"; 313 String C_NEW_VERSION_CONTROLLED_COLLECTION = "new-version-controlled-collection"; 314 String C_NEW_VERSION_CONTROLLED_RESOURCE = "new-version-controlled-resource"; 315 String C_NEW_VERSION_HISTORY = "new-version-history"; 316 String C_NO_CHECKED_OUT_BASELINE_CONTROLLED_COLLECTION_MEMBERS = "no-checked-out-baseline-controlled-collection-members"; 317 String C_NO_MODIFICATION = "no-modification"; 318 String C_NO_OVERWRITE_BY_AUTO_UPDATE = "no-overwrite-by-auto-update"; 319 String C_NO_VERSION_DELETE = "no-version-delete"; 320 String C_ONE_BASELINE_CONTROLLED_COLLECTION_PER_HISTORY_PER_WORKSPACE = "one-baseline-controlled-collection-per-history-per-workspace"; 321 String C_ONE_CHECKOUT_PER_ACTIVITY_PER_HISTORY = "one-checkout-per-activity-per-history"; 322 String C_ONE_VERSION_CONTROLLED_RESOURCE_PER_HISTORY_PER_WORKSPACE = "one-version-controlled-resource-per-history-per-workspace"; 323 String C_ONE_VERSION_PER_HISTORY_PER_BASELINE = "one-version-per-history-per-baseline"; 324 String C_PRESERVE_VERSIONING_PROPERTIES = "preserve-versioning-properties"; 325 String C_PUT_UNDER_VERSION_CONTROL = "put-under-version-control"; 326 String C_REFERENCE_VERSION_CONTROLLED_CONFIGURATION = "reference-version-controlled-configuration"; 327 String C_REMOVE_LABEL = "remove-label"; 328 String C_REPORT_PROPERTIES = "report-properties"; 329 String C_RESOURCE_MUST_BE_NULL = "resource-must-be-null"; 330 String C_RESTORE_CONTENT_AND_DEAD_PROPERTIES = "restore-content-and-dead-properties"; 331 String C_SELECT_EXISTING_BASELINE = "select-existing-baseline"; 332 String C_SET_BASELINE_CONTROLLED_COLLECTION_MEMBERS = "set-baseline-controlled-collection-members"; 333 String C_SUPPORTED_LIVE_PROPERTY = "supported-live-property"; 334 String C_SUPPORTED_REPORT = "supported-report"; 335 String C_UPDATE_ACTIVITY_REFERENCE = "update-activity-reference"; 336 String C_UPDATE_AUTO_UPDATE = "update-auto-update"; 337 String C_UPDATE_CHECKED_OUT_REFERENCE = "update-checked-out-reference"; 338 String C_UPDATE_CONTENT_AND_PROPERTIES = "update-content-and-properties"; 339 String C_UPDATE_MERGE_SET = "update-merge-set"; 340 String C_UPDATE_PREDECESSOR_SET = "update-predecessor-set"; 341 String C_UPDATE_SUBBASELINES = "update-subbaselines"; 342 String C_UPDATE_VERSION_CONTROLLED_COLLECTION_MEMBERS = "update-version-controlled-collection-members"; 343 String C_UPDATE_WORKSPACE_REFERENCE = "update-workspace-reference"; 344 String C_VERSION_CONTROL_WORKING_COLLECTION_MEMBERS = "version-control-working-collection-members"; 345 String C_VERSION_CONTROLLED_CONFIGURATION_MUST_NOT_EXIST = "version-controlled-configuration-must-not-exist"; 346 String C_VERSION_HISTORY_HAS_ROOT = "version-history-has-root"; 347 String C_VERSION_HISTORY_IS_TREE = "version-history-is-tree"; 348 String C_WORKSPACE_LOCATION_OK = "workspace-location-ok"; 349 String C_WORKSPACE_MEMBER_MOVED = "workspace-member-moved"; 350 String C_WORKSPACE_MOVED = "workspace-moved"; 351 } 352 353 | Popular Tags |