public static enum WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode extends Enum<WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
something bad happened (lite status code 500) (success: F)
|
INSUFFICIENT_PRIVILEGES
not allowed to assign or remove attribute def name inheritance based on privileges on the attribute definition
|
INVALID_QUERY
invalid query (e.g.
|
PROBLEM_DELETING_ATTRIBUTE_DEF_NAMES
if one or more attribute def names could not be deleted (e.g.
|
SUCCESS
deleted attribute def names (lite status code 200) (success: T)
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode()
get the http result code for this status code
|
boolean |
isSuccess()
if this is a successful result
|
String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode[] |
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, valueOf
name
public static final WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode SUCCESS
public static final WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode EXCEPTION
public static final WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode INVALID_QUERY
public static final WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode PROBLEM_DELETING_ATTRIBUTE_DEF_NAMES
public static final WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode INSUFFICIENT_PRIVILEGES
public static WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode[] values()
for (WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode c : WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode.values()) System.out.println(c);
public static WsAttributeDefNameDeleteResults.WsAttributeDefNameDeleteResultsCode 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(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
- public boolean isSuccess()
isSuccess
in interface WsResultCode
public int getHttpStatusCode()
getHttpStatusCode
in interface WsResultCode
Copyright © 2016 Internet2. All rights reserved.