blob: a3fb9a14a8c374100dc4d153e313a2da65c31f0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package org.openecomp.sdc.itempermissions.errors;
/**
* Created by ayalaben on 6/28/2017
*/
public enum PermissionsErrorMessages {
NO_PERMISSION_FOR_USER("The user is not permitted to edit this item"),
USER_NOT_OWNER_SUBMIT("The user must be the owner to submit the item"),
INVALID_PERMISSION_TYPE("Invalid permission type"),
INVALID_ACTION_TYPE("Invalid action type");
private String errorMessage;
PermissionsErrorMessages(String errorMessage) {
this.errorMessage = errorMessage;
}
public String getErrorMessage() {
return errorMessage;
}
}
|