edu.internet2.middleware.grouper.ws.soap
Enum WsStemDeleteResult.WsStemDeleteResultCode

java.lang.Object
  extended by java.lang.Enum<WsStemDeleteResult.WsStemDeleteResultCode>
      extended by edu.internet2.middleware.grouper.ws.soap.WsStemDeleteResult.WsStemDeleteResultCode
All Implemented Interfaces:
Serializable, Comparable<WsStemDeleteResult.WsStemDeleteResultCode>
Enclosing class:
WsStemDeleteResult

public static enum WsStemDeleteResult.WsStemDeleteResultCode
extends Enum<WsStemDeleteResult.WsStemDeleteResultCode>

result code of a request


Enum Constant Summary
EXCEPTION
          problem with deleting
INSUFFICIENT_PRIVILEGES
          user not allowed
INVALID_QUERY
          invalid query, can only happen if lite query
SUCCESS
          successful addition
SUCCESS_STEM_NOT_FOUND
          the stem was not found
TRANSACTION_ROLLED_BACK
          if transactional call, and rolled back, otherwise success
 
Method Summary
abstract  WsStemDeleteLiteResult.WsStemDeleteLiteResultCode convertToLiteCode()
          if there is one result, convert to the results code
 boolean isSuccess()
          if this is a successful result
static WsStemDeleteResult.WsStemDeleteResultCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WsStemDeleteResult.WsStemDeleteResultCode[] 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
 

Enum Constant Detail

TRANSACTION_ROLLED_BACK

public static final WsStemDeleteResult.WsStemDeleteResultCode TRANSACTION_ROLLED_BACK
if transactional call, and rolled back, otherwise success


SUCCESS

public static final WsStemDeleteResult.WsStemDeleteResultCode SUCCESS
successful addition


INVALID_QUERY

public static final WsStemDeleteResult.WsStemDeleteResultCode INVALID_QUERY
invalid query, can only happen if lite query


SUCCESS_STEM_NOT_FOUND

public static final WsStemDeleteResult.WsStemDeleteResultCode SUCCESS_STEM_NOT_FOUND
the stem was not found


EXCEPTION

public static final WsStemDeleteResult.WsStemDeleteResultCode EXCEPTION
problem with deleting


INSUFFICIENT_PRIVILEGES

public static final WsStemDeleteResult.WsStemDeleteResultCode INSUFFICIENT_PRIVILEGES
user not allowed

Method Detail

values

public static WsStemDeleteResult.WsStemDeleteResultCode[] 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 (WsStemDeleteResult.WsStemDeleteResultCode c : WsStemDeleteResult.WsStemDeleteResultCode.values())
    System.out.println(c);

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

valueOf

public static WsStemDeleteResult.WsStemDeleteResultCode valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

isSuccess

public boolean isSuccess()
if this is a successful result

Returns:
true if success

convertToLiteCode

public abstract WsStemDeleteLiteResult.WsStemDeleteLiteResultCode convertToLiteCode()
if there is one result, convert to the results code

Returns:
result code