edu.internet2.middleware.grouper.ws.coresoap
Enum WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode

java.lang.Object
  extended by java.lang.Enum<WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode>
      extended by edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode
All Implemented Interfaces:
WsResultCode, java.io.Serializable, java.lang.Comparable<WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode>
Enclosing class:
WsAttributeDefNameDeleteLiteResult

public static enum WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode
extends java.lang.Enum<WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode>
implements WsResultCode

result code of a request


Enum Constant Summary
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)
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.internet2.middleware.grouper.ws.WsResultCode
name
 

Enum Constant Detail

SUCCESS

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode SUCCESS
found the attribute def names, deleted them (lite status code 200) (success: T)


EXCEPTION

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode EXCEPTION
either overall exception, or one or more attribute def names had exceptions (lite status code 500) (success: F)


PROBLEM_DELETING_ATTRIBUTE_DEF_NAMES

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode PROBLEM_DELETING_ATTRIBUTE_DEF_NAMES
problem deleting existing attribute def names (lite status code 500) (success: F)


INVALID_QUERY

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode INVALID_QUERY
invalid query (e.g. if everything blank) (lite status code 400) (success: F)


ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME
in attribute def name lookup, the uuid doesnt match name (lite status code 400) (success: F)


INSUFFICIENT_PRIVILEGES

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode INSUFFICIENT_PRIVILEGES
user not allowed (lite status code 403) (success: F)


PARENT_STEM_NOT_FOUND

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode PARENT_STEM_NOT_FOUND
if parent stem cant be found (lite status code 404) (success: F)


SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND

public static final WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND
the parent stem exists but the attribute def name was not found (lite status code 200) (success: T)

Method Detail

values

public static WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode c : WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

nameForVersion

public java.lang.String nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client

Specified by:
nameForVersion in interface WsResultCode
Parameters:
clientVersion -
Returns:
name

getHttpStatusCode

public int getHttpStatusCode()
Description copied from interface: WsResultCode
get the http status code associated with this status code, e.g. 200

Specified by:
getHttpStatusCode in interface WsResultCode
Returns:
the status code e.g. 200
See Also:
WsResultCode.getHttpStatusCode()

isSuccess

public boolean isSuccess()
if this is a successful result

Specified by:
isSuccess in interface WsResultCode
Returns:
true if success