public enum ResponseCode extends Enum<ResponseCode>
Enum Constant and Description |
---|
AUTHREQUIRED
Used if a request was made with missing or invalid session identification
|
FAILURE
Used if something unexpected went wrong (eg.
|
INVALIDDATA
Used if the request was made with invalid (insufficient) data
|
LOCKED
The requested update could be done, because the object was locked by another user
|
MAINTENANCEMODE
Used if the maintenancemode was enabled
|
NOTFOUND
Used if the requested object was not found
|
NOTLICENSED
Used if a request was made to a resource that required additional licensing
|
OK
Used if everything went ok (eg.
|
PERMISSION
Used if insufficient permissions permitted to requested action
|
Modifier and Type | Method and Description |
---|---|
static ResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResponseCode OK
public static final ResponseCode INVALIDDATA
public static final ResponseCode PERMISSION
public static final ResponseCode MAINTENANCEMODE
public static final ResponseCode NOTFOUND
public static final ResponseCode FAILURE
public static final ResponseCode AUTHREQUIRED
public static final ResponseCode NOTLICENSED
public static final ResponseCode LOCKED
public static ResponseCode[] values()
for (ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode 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 nullCopyright © 2024 Gentics Software. All rights reserved.