Enum Class WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode
java.lang.Object
java.lang.Enum<WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode>
,Constable
- Enclosing class:
- WsAttributeDefNameDeleteResult
public static enum WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode
extends Enum<WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode>
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 ConstantDescriptionin attribute def name lookup, the uuid doesnt match nameproblem with deletinguser not allowedinvalid query, can only happen if Lite queryif parent stem cant be foundsuccessful addition (lite status code 200)the attributeDefName 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
-
ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAME
public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode ATTRIBUTE_DEF_NAME_UUID_DOESNT_MATCH_NAMEin attribute def name lookup, the uuid doesnt match name -
SUCCESS
successful addition (lite status code 200) -
INVALID_QUERY
invalid query, can only happen if Lite query -
SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUND
public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode SUCCESS_ATTRIBUTE_DEF_NAME_NOT_FOUNDthe attributeDefName was not found -
EXCEPTION
problem with deleting -
INSUFFICIENT_PRIVILEGES
public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode INSUFFICIENT_PRIVILEGESuser not allowed -
TRANSACTION_ROLLED_BACK
public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode TRANSACTION_ROLLED_BACKtransaction rolled back -
PARENT_STEM_NOT_FOUND
public static final WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode PARENT_STEM_NOT_FOUNDif 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
public static WsAttributeDefNameDeleteResult.WsAttributeDefNameDeleteResultCode valueOf(String name) 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 WsAttributeDefNameDeleteLiteResult.WsAttributeDefNameDeleteLiteResultCode convertToLiteCode()if there is one result, convert to the results code- Returns:
- result code
-