|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<WsGroupSaveResult.WsGroupSaveResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsGroupSaveResult.WsGroupSaveResultCode
public static enum WsGroupSaveResult.WsGroupSaveResultCode
result code of a request
Enum Constant Summary | |
---|---|
EXCEPTION
problem with saving (success: F) |
|
GROUP_ALREADY_EXISTS
problem with saving (success: F) |
|
GROUP_NOT_FOUND
the group was not found (success: F) |
|
INSUFFICIENT_PRIVILEGES
user not allowed (success: F) |
|
INVALID_QUERY
invalid query, can only happen if Lite query (success: F) |
|
STEM_NOT_FOUND
the stem was not found (success: F) |
|
SUCCESS_INSERTED
successful addition (success: T) |
|
SUCCESS_NO_CHANGES_NEEDED
successful addition (success: T) |
|
SUCCESS_UPDATED
successful addition (success: T) |
|
TRANSACTION_ROLLED_BACK
was a success but rolled back |
Method Summary | |
---|---|
abstract WsGroupSaveLiteResult.WsGroupSaveLiteResultCode |
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 WsGroupSaveResult.WsGroupSaveResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WsGroupSaveResult.WsGroupSaveResultCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final WsGroupSaveResult.WsGroupSaveResultCode SUCCESS_INSERTED
public static final WsGroupSaveResult.WsGroupSaveResultCode SUCCESS_UPDATED
public static final WsGroupSaveResult.WsGroupSaveResultCode SUCCESS_NO_CHANGES_NEEDED
public static final WsGroupSaveResult.WsGroupSaveResultCode INVALID_QUERY
public static final WsGroupSaveResult.WsGroupSaveResultCode GROUP_NOT_FOUND
public static final WsGroupSaveResult.WsGroupSaveResultCode STEM_NOT_FOUND
public static final WsGroupSaveResult.WsGroupSaveResultCode EXCEPTION
public static final WsGroupSaveResult.WsGroupSaveResultCode GROUP_ALREADY_EXISTS
public static final WsGroupSaveResult.WsGroupSaveResultCode INSUFFICIENT_PRIVILEGES
public static final WsGroupSaveResult.WsGroupSaveResultCode TRANSACTION_ROLLED_BACK
Method Detail |
---|
public static WsGroupSaveResult.WsGroupSaveResultCode[] values()
for (WsGroupSaveResult.WsGroupSaveResultCode c : WsGroupSaveResult.WsGroupSaveResultCode.values()) System.out.println(c);
public static WsGroupSaveResult.WsGroupSaveResultCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean isSuccess()
public String nameForVersion(GrouperVersion clientVersion)
clientVersion
-
public abstract WsGroupSaveLiteResult.WsGroupSaveLiteResultCode convertToLiteCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |