Enum Class WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode
java.lang.Object
java.lang.Enum<WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode>
,Constable
- Enclosing class:
- WsMemberChangeSubjectResult
public static enum WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode
extends Enum<WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode>
result code of a request
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionproblem with change (success: F)user not allowed (success: F)invalid request (success: F)the member to change from was not found (success: F)subject duplicate found (success: F)the subject was not found (success: F)successful addition (success: T)if one item failed in the transaction, then roll back (success: F) -
Method Summary
Modifier and TypeMethodDescriptionif there is one result, convert to the results codeboolean
if this is a successful resultReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVALID_QUERY
invalid request (success: F) -
SUCCESS
successful addition (success: T) -
SUBJECT_NOT_FOUND
the subject was not found (success: F) -
MEMBER_NOT_FOUND
the member to change from was not found (success: F) -
EXCEPTION
problem with change (success: F) -
INSUFFICIENT_PRIVILEGES
public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode INSUFFICIENT_PRIVILEGESuser not allowed (success: F) -
TRANSACTION_ROLLED_BACK
public static final WsMemberChangeSubjectResult.WsMemberChangeSubjectResultCode TRANSACTION_ROLLED_BACKif one item failed in the transaction, then roll back (success: F) -
SUBJECT_DUPLICATE
subject duplicate found (success: F)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- 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
-