edu.internet2.middleware.grouper.ws.coresoap
Enum WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode

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

public static enum WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode
extends java.lang.Enum<WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode>

result code of a request


Enum Constant Summary
EXCEPTION
          problem with change (success: F)
INSUFFICIENT_PRIVILEGES
          user not allowed (success: F)
INVALID_QUERY
          invalid request (success: F)
MEMBER_NOT_FOUND
          the member to change from was not found (success: F)
SUBJECT_DUPLICATE
          subject duplicate found (success: F)
SUBJECT_NOT_FOUND
          the subject was not found (success: F)
SUCCESS
          successful addition (success: T)
TRANSACTION_ROLLED_BACK
          if one item failed in the transaction, then roll back (success: F)
 
Method Summary
abstract  WsMemberChangeSubjectLiteResult.WsMemberChangeSubjectLiteResultCode convertToLiteCode()
          if there is one result, convert to the results code
 boolean isSuccess()
          if this is a successful result
static WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode[] 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

INVALID_QUERY

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode INVALID_QUERY
invalid request (success: F)


SUCCESS

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode SUCCESS
successful addition (success: T)


SUBJECT_NOT_FOUND

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode SUBJECT_NOT_FOUND
the subject was not found (success: F)


MEMBER_NOT_FOUND

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode MEMBER_NOT_FOUND
the member to change from was not found (success: F)


EXCEPTION

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode EXCEPTION
problem with change (success: F)


INSUFFICIENT_PRIVILEGES

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode INSUFFICIENT_PRIVILEGES
user not allowed (success: F)


TRANSACTION_ROLLED_BACK

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode TRANSACTION_ROLLED_BACK
if one item failed in the transaction, then roll back (success: F)


SUBJECT_DUPLICATE

public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode SUBJECT_DUPLICATE
subject duplicate found (success: F)

Method Detail

values

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

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

valueOf

public static WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode 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 boolean isSuccess()
if this is a successful result

Returns:
true if success

convertToLiteCode

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

Returns:
result code