Enum Class WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode
java.lang.Object
java.lang.Enum<WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode>
edu.internet2.middleware.grouper.ws.soap_v2_5.WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode>
,Constable
- Enclosing class:
- WsAttributeDefDeleteResult
public static enum WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode
extends Enum<WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode>
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 deletinguser not allowedinvalid query, can only happen if Lite querysuccessful deletion (lite status code 200)the attribute def 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
-
SUCCESS
successful deletion (lite status code 200) -
INVALID_QUERY
invalid query, can only happen if Lite query -
SUCCESS_ATTRIBUTE_DEF_NOT_FOUND
public static final WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode SUCCESS_ATTRIBUTE_DEF_NOT_FOUNDthe attribute def was not found -
EXCEPTION
problem with deleting -
INSUFFICIENT_PRIVILEGES
public static final WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode INSUFFICIENT_PRIVILEGESuser not allowed -
TRANSACTION_ROLLED_BACK
public static final WsAttributeDefDeleteResult.WsAttributeDefDeleteResultCode TRANSACTION_ROLLED_BACKtransaction rolled back
-
-
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 WsAttributeDefDeleteLiteResult.WsAttributeDefDeleteLiteResultCode convertToLiteCode()if there is one result, convert to the results code- Returns:
- result code
-