Enum Class WsStemDeleteResult.WsStemDeleteResultCode
java.lang.Object
java.lang.Enum<WsStemDeleteResult.WsStemDeleteResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsStemDeleteResult.WsStemDeleteResultCode
- All Implemented Interfaces:
Serializable
,Comparable<WsStemDeleteResult.WsStemDeleteResultCode>
,Constable
- Enclosing class:
- WsStemDeleteResult
public static enum WsStemDeleteResult.WsStemDeleteResultCode
extends Enum<WsStemDeleteResult.WsStemDeleteResultCode>
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 deletinguser not allowedinvalid query, can only happen if lite queryif the uuid, name, idIndex do not matchsuccessful additionthe stem was not foundif transactional call, and rolled back, otherwise success -
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
-
STEM_UUID_NAME_IDINDEX_DONT_MATCH
if the uuid, name, idIndex do not match -
TRANSACTION_ROLLED_BACK
if transactional call, and rolled back, otherwise success -
SUCCESS
successful addition -
INVALID_QUERY
invalid query, can only happen if lite query -
SUCCESS_STEM_NOT_FOUND
the stem was not found -
EXCEPTION
problem with deleting -
INSUFFICIENT_PRIVILEGES
user not allowed
-
-
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
-
convertToLiteCode
if there is one result, convert to the results code- Returns:
- result code
-