Modifier and Type | Method and Description |
---|---|
static Resources |
Resources.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Resources[] |
Resources.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
int |
ServiceSpec.getAccessRights(Resources resource)
Which operations are allowed on various resources are specified for
an authenticated user.
|
boolean |
ServiceSpec.hasAccessRight(Resources resource,
int op)
Check if the currently authenticated user has the right to perform an
operation (GET, POST, PUT or DELETE) on a specific resource type.
|
Constructor and Description |
---|
DeleteTransaction(Resources resource) |
DeleteTransaction(Resources resource,
long id)
Deprecated.
resourceId is the recommended way to specify an object
|
DeleteTransaction(Resources resource,
java.lang.String resourceId) |
GetTransaction(Resources resource) |
PostTransaction(Resources resource) |
PutTransaction(Resources resource) |
PutTransaction(Resources resource,
long id)
Deprecated.
resourceId is the recommended way to specify an object
|
PutTransaction(Resources resource,
java.lang.String resourceId) |
ResourceTransaction(Resources resource,
java.lang.String method) |