Enum Class WsGroupDeleteResult.WsGroupDeleteResultCode
java.lang.Object
java.lang.Enum<WsGroupDeleteResult.WsGroupDeleteResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsGroupDeleteResult.WsGroupDeleteResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsGroupDeleteResult.WsGroupDeleteResultCode>
,Constable
- Enclosing class:
- WsGroupDeleteResult
public static enum WsGroupDeleteResult.WsGroupDeleteResultCode
extends Enum<WsGroupDeleteResult.WsGroupDeleteResultCode>
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 deletingin group lookup, the uuid doesnt match nameuser not allowedinvalid query, can only happen if Lite queryif parent stem cant be foundsuccessful addition (lite status code 200)the group was not foundtransaction rolled back -
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
-
GROUP_UUID_DOESNT_MATCH_NAME
in group lookup, the uuid doesnt match name -
SUCCESS
successful addition (lite status code 200) -
INVALID_QUERY
invalid query, can only happen if Lite query -
SUCCESS_GROUP_NOT_FOUND
the group was not found -
EXCEPTION
problem with deleting -
INSUFFICIENT_PRIVILEGES
user not allowed -
TRANSACTION_ROLLED_BACK
transaction rolled back -
PARENT_STEM_NOT_FOUND
if parent stem cant be 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 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
-