Enum Class WsDeleteMemberResult.WsDeleteMemberResultCode
java.lang.Object
java.lang.Enum<WsDeleteMemberResult.WsDeleteMemberResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsDeleteMemberResult.WsDeleteMemberResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsDeleteMemberResult.WsDeleteMemberResultCode>
,Constable
- Enclosing class:
- WsDeleteMemberResult
public static enum WsDeleteMemberResult.WsDeleteMemberResultCode
extends Enum<WsDeleteMemberResult.WsDeleteMemberResultCode>
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 deletioncant find groupuser not allowedinvalid requestsubject duplicate foundthe subject was not foundsuccessful additionsuccessful additionsuccessful additionsuccessful additionif one item failed in the transaction, then roll back -
Method Summary
Modifier and TypeMethodDescriptionif there is one result, convert to the results codeabstract boolean
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
-
GROUP_NOT_FOUND
cant find group -
INVALID_QUERY
invalid request -
SUCCESS
successful addition -
SUCCESS_BUT_HAS_EFFECTIVE
successful addition -
SUCCESS_WASNT_IMMEDIATE
successful addition -
SUCCESS_WASNT_IMMEDIATE_BUT_HAS_EFFECTIVE
public static final WsDeleteMemberResult.WsDeleteMemberResultCode SUCCESS_WASNT_IMMEDIATE_BUT_HAS_EFFECTIVEsuccessful addition -
SUBJECT_NOT_FOUND
the subject was not found -
EXCEPTION
problem with deletion -
INSUFFICIENT_PRIVILEGES
user not allowed -
TRANSACTION_ROLLED_BACK
if one item failed in the transaction, then roll back -
SUBJECT_DUPLICATE
subject duplicate found
-
-
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 abstract 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
-