Enum Class WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode
java.lang.Object
java.lang.Enum<WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode>
,Constable
- Enclosing class:
- WsExternalSubjectSaveResult
public static enum WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode
extends Enum<WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode>
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)problem with saving (success: F)the external subject was not found (success: F)user not allowed (success: F)invalid query, can only happen if Lite query (success: F)successful addition (success: T)successful addition (success: T)successful addition (success: T)was a success but rolled back -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode SUCCESS_NO_CHANGES_NEEDEDsuccessful addition (success: T) -
INVALID_QUERY
invalid query, can only happen if Lite query (success: F) -
EXTERNAL_SUBJECT_NOT_FOUND
public static final WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode EXTERNAL_SUBJECT_NOT_FOUNDthe external subject was not found (success: F) -
EXCEPTION
problem with saving (success: F) -
EXTERNAL_SUBJECT_ALREADY_EXISTS
public static final WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode EXTERNAL_SUBJECT_ALREADY_EXISTSproblem with saving (success: F) -
INSUFFICIENT_PRIVILEGES
public static final WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode INSUFFICIENT_PRIVILEGESuser not allowed (success: F) -
TRANSACTION_ROLLED_BACK
public static final WsExternalSubjectSaveResult.WsExternalSubjectSaveResultCode 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
-