Enum Class WsAddMemberResult.WsAddMemberResultCode
java.lang.Object
java.lang.Enum<WsAddMemberResult.WsAddMemberResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsAddMemberResult.WsAddMemberResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsAddMemberResult.WsAddMemberResultCode>
,Constable
- Enclosing class:
- WsAddMemberResult
public static enum WsAddMemberResult.WsAddMemberResultCode
extends Enum<WsAddMemberResult.WsAddMemberResultCode>
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 addition (success: F)cant find group (success: F)user not allowed (success: F)invalid request (success: F)subject duplicate found (success: F)the subject was not found (success: F)successful addition (success: T)successful addition if already a member (success: T)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) -
GROUP_NOT_FOUND
cant find group (success: F) -
SUCCESS
successful addition (success: T) -
SUCCESS_CREATED
successful addition (success: T) -
SUCCESS_ALREADY_EXISTED
successful addition if already a member (success: T) -
SUBJECT_NOT_FOUND
the subject was not found (success: F) -
EXCEPTION
problem with addition (success: F) -
INSUFFICIENT_PRIVILEGES
user not allowed (success: F) -
TRANSACTION_ROLLED_BACK
if 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
if there is one result, convert to the results code- Returns:
- result code
-