Enum Class WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode
java.lang.Object
java.lang.Enum<WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode>
,Constable
- Enclosing class:
- WsExternalSubjectDeleteResult
public static enum WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode
extends Enum<WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode>
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 deletingin externalSubject lookup, the uuid doesnt match nameuser not allowedinvalid query, can only happen if Lite queryif parent stem cant be foundsuccessful addition (lite status code 200)the externalSubject was not foundtransaction rolled back -
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-
EXTERNAL_SUBJECT_UUID_DOESNT_MATCH_NAME
public static final WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode EXTERNAL_SUBJECT_UUID_DOESNT_MATCH_NAMEin externalSubject lookup, the uuid doesnt match name -
SUCCESS
successful addition (lite status code 200) -
INVALID_QUERY
invalid query, can only happen if Lite query -
SUCCESS_EXTERNAL_SUBJECT_NOT_FOUND
public static final WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode SUCCESS_EXTERNAL_SUBJECT_NOT_FOUNDthe externalSubject was not found -
EXCEPTION
problem with deleting -
INSUFFICIENT_PRIVILEGES
public static final WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode INSUFFICIENT_PRIVILEGESuser not allowed -
TRANSACTION_ROLLED_BACK
public static final WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode TRANSACTION_ROLLED_BACKtransaction rolled back -
PARENT_STEM_NOT_FOUND
public static final WsExternalSubjectDeleteResult.WsExternalSubjectDeleteResultCode 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
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
-