edu.internet2.middleware.grouper.ws.coresoap
Enum WsDeleteMemberResult.WsDeleteMemberResultCode

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

public static enum WsDeleteMemberResult.WsDeleteMemberResultCode
extends java.lang.Enum<WsDeleteMemberResult.WsDeleteMemberResultCode>

result code of a request


Enum Constant Summary
EXCEPTION
          problem with deletion
GROUP_NOT_FOUND
          cant find group
INSUFFICIENT_PRIVILEGES
          user not allowed
INVALID_QUERY
          invalid request
SUBJECT_DUPLICATE
          subject duplicate found
SUBJECT_NOT_FOUND
          the subject was not found
SUCCESS
          successful addition
SUCCESS_BUT_HAS_EFFECTIVE
          successful addition
SUCCESS_WASNT_IMMEDIATE
          successful addition
SUCCESS_WASNT_IMMEDIATE_BUT_HAS_EFFECTIVE
          successful addition
TRANSACTION_ROLLED_BACK
          if one item failed in the transaction, then roll back
 
Method Summary
abstract  WsDeleteMemberLiteResult.WsDeleteMemberLiteResultCode convertToLiteCode()
          if there is one result, convert to the results code
abstract  boolean isSuccess()
          if this is a successful result
static WsDeleteMemberResult.WsDeleteMemberResultCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WsDeleteMemberResult.WsDeleteMemberResultCode[] 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

GROUP_NOT_FOUND

public static final WsDeleteMemberResult.WsDeleteMemberResultCode GROUP_NOT_FOUND
cant find group


INVALID_QUERY

public static final WsDeleteMemberResult.WsDeleteMemberResultCode INVALID_QUERY
invalid request


SUCCESS

public static final WsDeleteMemberResult.WsDeleteMemberResultCode SUCCESS
successful addition


SUCCESS_BUT_HAS_EFFECTIVE

public static final WsDeleteMemberResult.WsDeleteMemberResultCode SUCCESS_BUT_HAS_EFFECTIVE
successful addition


SUCCESS_WASNT_IMMEDIATE

public static final WsDeleteMemberResult.WsDeleteMemberResultCode SUCCESS_WASNT_IMMEDIATE
successful addition


SUCCESS_WASNT_IMMEDIATE_BUT_HAS_EFFECTIVE

public static final WsDeleteMemberResult.WsDeleteMemberResultCode SUCCESS_WASNT_IMMEDIATE_BUT_HAS_EFFECTIVE
successful addition


SUBJECT_NOT_FOUND

public static final WsDeleteMemberResult.WsDeleteMemberResultCode SUBJECT_NOT_FOUND
the subject was not found


EXCEPTION

public static final WsDeleteMemberResult.WsDeleteMemberResultCode EXCEPTION
problem with deletion


INSUFFICIENT_PRIVILEGES

public static final WsDeleteMemberResult.WsDeleteMemberResultCode INSUFFICIENT_PRIVILEGES
user not allowed


TRANSACTION_ROLLED_BACK

public static final WsDeleteMemberResult.WsDeleteMemberResultCode TRANSACTION_ROLLED_BACK
if one item failed in the transaction, then roll back


SUBJECT_DUPLICATE

public static final WsDeleteMemberResult.WsDeleteMemberResultCode SUBJECT_DUPLICATE
subject duplicate found

Method Detail

values

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

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

valueOf

public static WsDeleteMemberResult.WsDeleteMemberResultCode 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

isSuccess

public abstract boolean isSuccess()
if this is a successful result

Returns:
true if success

convertToLiteCode

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

Returns:
result code