Enum Class WsAttributeDefSaveResult.WsAttributeDefSaveResultCode
java.lang.Object
java.lang.Enum<WsAttributeDefSaveResult.WsAttributeDefSaveResultCode>
edu.internet2.middleware.grouper.ws.soap_v2_3.WsAttributeDefSaveResult.WsAttributeDefSaveResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsAttributeDefSaveResult.WsAttributeDefSaveResultCode>
,Constable
- Enclosing class:
- WsAttributeDefSaveResult
public static enum WsAttributeDefSaveResult.WsAttributeDefSaveResultCode
extends Enum<WsAttributeDefSaveResult.WsAttributeDefSaveResultCode>
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 ConstantDescriptionthe attribute def was not found (success: F)problem with saving (success: F)user not allowed (success: F)invalid query, can only happen if Lite query (success: F)the stem was not found (success: F)successful addition (success: T)successful addition (success: T)successful addition (success: T)was a success but rolled back -
Method Summary
Modifier and TypeMethodDescriptionif there is one result, convert to the results codeboolean
if this is a successful resultnameForVersion
(GrouperVersion clientVersion) get the name label for a certain version of clientReturns 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_INSERTED
successful addition (success: T) -
SUCCESS_UPDATED
successful addition (success: T) -
SUCCESS_NO_CHANGES_NEEDED
successful addition (success: T) -
INVALID_QUERY
invalid query, can only happen if Lite query (success: F) -
ATTRIBUTE_DEF_NOT_FOUND
the attribute def was not found (success: F) -
STEM_NOT_FOUND
the stem was not found (success: F) -
EXCEPTION
problem with saving (success: F) -
INSUFFICIENT_PRIVILEGES
user not allowed (success: F) -
TRANSACTION_ROLLED_BACK
was a success but 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
-
nameForVersion
get the name label for a certain version of client- Parameters:
clientVersion
-- Returns:
- name
-
convertToLiteCode
if there is one result, convert to the results code- Returns:
- result code
-