public static enum WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode extends Enum<WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode> implements WsResultCode
| Enum Constant and Description |
|---|
EXCEPTION
either overall exception, or one or more attribute defs 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.
|
PROBLEM_DELETING_ATTRIBUTE_DEFS
problem deleting existing attribute defs (lite status code 500) (success: F)
|
SUCCESS
found the attribute defs, deleted them (lite status code 200) (success: T)
|
SUCCESS_ATTRIBUTE_DEF_NOT_FOUND
the attribute def 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
|
String |
nameForVersion(edu.internet2.middleware.grouper.misc.GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode SUCCESS
public static final WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode EXCEPTION
public static final WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode PROBLEM_DELETING_ATTRIBUTE_DEFS
public static final WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode INVALID_QUERY
public static final WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode INSUFFICIENT_PRIVILEGES
public static final WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode SUCCESS_ATTRIBUTE_DEF_NOT_FOUND
public static WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode[] values()
for (WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode c : WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode.values()) System.out.println(c);
public static WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String nameForVersion(edu.internet2.middleware.grouper.misc.GrouperVersion clientVersion)
nameForVersion in interface WsResultCodeclientVersion - public int getHttpStatusCode()
WsResultCodegetHttpStatusCode in interface WsResultCodeWsResultCode.getHttpStatusCode()public boolean isSuccess()
isSuccess in interface WsResultCodeCopyright © 2016 Internet2. All rights reserved.