Enum Class WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode
java.lang.Object
java.lang.Enum<WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode>
,Constable
- Enclosing class:
- WsAttributeDefNameSaveResult
public static enum WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode
extends Enum<WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode>
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 saving (success: F)the group 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
public static final WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode SUCCESS_NO_CHANGES_NEEDEDsuccessful addition (success: T) -
INVALID_QUERY
invalid query, can only happen if Lite query (success: F) -
ATTRIBUTE_DEF_NAME_NOT_FOUND
public static final WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode ATTRIBUTE_DEF_NAME_NOT_FOUNDthe group was not found (success: F) -
STEM_NOT_FOUND
the stem was not found (success: F) -
EXCEPTION
problem with saving (success: F) -
ATTRIBUTE_DEF_NAME_ALREADY_EXISTS
public static final WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode ATTRIBUTE_DEF_NAME_ALREADY_EXISTSproblem with saving (success: F) -
INSUFFICIENT_PRIVILEGES
public static final WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode INSUFFICIENT_PRIVILEGESuser not allowed (success: F) -
TRANSACTION_ROLLED_BACK
public static final WsAttributeDefNameSaveResult.WsAttributeDefNameSaveResultCode TRANSACTION_ROLLED_BACKwas 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
public abstract WsAttributeDefNameSaveLiteResult.WsAttributeDefNameSaveLiteResultCode convertToLiteCode()if there is one result, convert to the results code- Returns:
- result code
-