public static enum WsStemSaveResult.WsStemSaveResultCode extends Enum<WsStemSaveResult.WsStemSaveResultCode>
Enum Constant and Description |
---|
EXCEPTION
problem with saving
|
INSUFFICIENT_PRIVILEGES
user not allowed
|
INVALID_QUERY
invalid query, can only happen if lite query
|
STEM_NOT_FOUND
the save was not found
|
SUCCESS_INSERTED
successful addition
|
SUCCESS_NO_CHANGES_NEEDED
successful addition
|
SUCCESS_UPDATED
successful addition
|
TRANSACTION_ROLLED_BACK
was a success but rolled back
|
Modifier and Type | Method and Description |
---|---|
abstract WsStemSaveLiteResult.WsStemSaveLiteResultCode |
convertToLiteCode()
if there is one result, convert to the results code
|
boolean |
isSuccess()
if this is a successful result
|
String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsStemSaveResult.WsStemSaveResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WsStemSaveResult.WsStemSaveResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WsStemSaveResult.WsStemSaveResultCode SUCCESS_INSERTED
public static final WsStemSaveResult.WsStemSaveResultCode SUCCESS_UPDATED
public static final WsStemSaveResult.WsStemSaveResultCode SUCCESS_NO_CHANGES_NEEDED
public static final WsStemSaveResult.WsStemSaveResultCode INVALID_QUERY
public static final WsStemSaveResult.WsStemSaveResultCode STEM_NOT_FOUND
public static final WsStemSaveResult.WsStemSaveResultCode EXCEPTION
public static final WsStemSaveResult.WsStemSaveResultCode TRANSACTION_ROLLED_BACK
public static final WsStemSaveResult.WsStemSaveResultCode INSUFFICIENT_PRIVILEGES
public static WsStemSaveResult.WsStemSaveResultCode[] values()
for (WsStemSaveResult.WsStemSaveResultCode c : WsStemSaveResult.WsStemSaveResultCode.values()) System.out.println(c);
public static WsStemSaveResult.WsStemSaveResultCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String nameForVersion(GrouperVersion clientVersion)
clientVersion
- public boolean isSuccess()
public abstract WsStemSaveLiteResult.WsStemSaveLiteResultCode convertToLiteCode()
Copyright © 2016 Internet2. All rights reserved.