public static enum WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode extends java.lang.Enum<WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
some exception occurred (rest http status code 500) (success: F)
|
GROUP_NOT_FOUND
cant find group (rest http status code 404) (success: F)
|
INSUFFICIENT_PRIVILEGES
if one request, and that is a insufficient privileges (rest http status code 403) (success: F)
|
INVALID_QUERY
invalid query (e.g.
|
NAME_NOT_FOUND
cant find name (rest http status code 404) (success: F)
|
PROBLEM_DELETING_MEMBERS
problem deleting members e.g.
|
PROBLEM_WITH_ASSIGNMENT
problem assigning privileges (rest http status code 500) (success: F)
|
STEM_NOT_FOUND
cant find stem (rest http status code 404) (success: F)
|
SUCCESS
assignments successful (rest http status code 200) (success: T)
|
TYPE_NOT_FOUND
cant find type (rest http status code 404) (success: F)
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode()
get the http status code associated with this status code, e.g.
|
boolean |
isSuccess()
if this is a successful result
|
java.lang.String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode PROBLEM_DELETING_MEMBERS
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode SUCCESS
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode EXCEPTION
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode GROUP_NOT_FOUND
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode STEM_NOT_FOUND
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode TYPE_NOT_FOUND
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode NAME_NOT_FOUND
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode INSUFFICIENT_PRIVILEGES
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode INVALID_QUERY
public static final WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode PROBLEM_WITH_ASSIGNMENT
public static WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode[] values()
for (WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode c : WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode.values()) System.out.println(c);
public static WsAssignGrouperPrivilegesResults.WsAssignGrouperPrivilegesResultsCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String nameForVersion(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
- public boolean isSuccess()
isSuccess
in interface WsResultCode
public int getHttpStatusCode()
WsResultCode
getHttpStatusCode
in interface WsResultCode
WsResultCode.getHttpStatusCode()