2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.versioning.errors;
23 public class VersioningErrorCodes {
25 public static final String REQUESTED_VERSION_INVALID = "REQUESTED_VERSION_INVALID";
26 public static final String CHECKIN_ON_ENTITY_LOCKED_BY_OTHER_USER =
27 "CHECKIN_ON_ENTITY_LOCKED_BY_OTHER_USER";
28 public static final String CHECKIN_ON_UNLOCKED_ENTITY = "CHECKIN_ON_UNLOCKED_ENTITY";
29 public static final String CHECKOT_ON_LOCKED_ENTITY = "CHECKOT_ON_LOCKED_ENTITY";
30 public static final String DELETE_ON_LOCKED_ENTITY = "DELETE_ON_LOCKED_ENTITY";
31 public static final String EDIT_ON_ENTITY_LOCKED_BY_OTHER_USER =
32 "EDIT_ON_ENTITY_LOCKED_BY_OTHER_USER";
33 public static final String EDIT_ON_UNLOCKED_ENTITY = "EDIT_ON_UNLOCKED_ENTITY";
34 public static final String VERSIONABLE_ENTITY_ALREADY_EXIST = "VERSIONABLE_ENTITY_ALREADY_EXIST";
35 public static final String SUBMIT_FINALIZED_ENTITY_NOT_ALLOWED =
36 "SUBMIT_FINALIZED_ENTITY_NOT_ALLOWED";
37 public static final String VERSIONABLE_ENTITY_NOT_EXIST = "VERSIONABLE_ENTITY_NOT_EXIST";
38 public static final String VERSIONABLE_SUB_ENTITY_NOT_FOUND = "VERSIONABLE_SUB_ENTITY_NOT_FOUND";
39 public static final String SUBMIT_LOCKED_ENTITY_NOT_ALLOWED = "SUBMIT_LOCKED_ENTITY_NOT_ALLOWED";
40 public static final String UNDO_CHECKOUT_ON_ENTITY_LOCKED_BY_OTHER_USER =
41 "UNDO_CHECKOUT_ON_ENTITY_LOCKED_BY_OTHER_USER";
42 public static final String UNDO_CHECKOUT_ON_UNLOCKED_ENTITY = "UNDO_CHECKOUT_ON_UNLOCKED_ENTITY";