public static enum WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode extends java.lang.Enum<WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode> implements WsResultCode
Enum Constant and Description |
---|
ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME
in attribute def name lookup, the uuid doesnt match name (lite status code 400) (success: F)
|
EXCEPTION
either overall exception, or one or more attribute def names had exceptions (lite status code 500) (success: F)
|
INSUFFICIENT_PRIVILEGES
user not allowed (lite status code 403) (success: F)
|
INVALID_QUERY
invalid query (e.g.
|
PARENT_STEM_NOT_FOUND
if parent stem cant be found (lite status code 404) (success: F)
|
PROBLEM_DELETING_ATTRIBUTE_DEF_NAMES
problem deleting existing attribute def names (lite status code 500) (success: F)
|
SUCCESS
found the attribute def names, deleted them (lite status code 200) (success: T)
|
SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND
the parent stem exists but the attribute def name was not found (lite status code 200) (success: T)
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode()
get the http status code associated with this status code, e.g.
|
boolean |
isSuccess()
if this is a successful result
|
java.lang.String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode SUCCESS
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode EXCEPTION
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode PROBLEM_DELETING_ATTRIBUTE_DEF_NAMES
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode INVALID_QUERY
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode INSUFFICIENT_PRIVILEGES
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode PARENT_STEM_NOT_FOUND
public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND
public static WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode[] values()
for (WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode c : WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode.values()) System.out.println(c);
public static WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String nameForVersion(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
- public int getHttpStatusCode()
WsResultCode
getHttpStatusCode
in interface WsResultCode
WsResultCode.getHttpStatusCode()
public boolean isSuccess()
isSuccess
in interface WsResultCode