public interface Resource
Resources are entities for which a user or a group is authorized. Examples of resources are applications, process-definitions, process-instances, tasks ...
A resource has a type and an id. The type (#setResource(String)
)
allows to group all resources of the same kind. A resource id is the identifier of
an individual resource instance (#setResourceId(String)
). For example:
the resource type could be "processDefinition" and the resource-id could be the
id of an individual process definition.
See Resources
for a set of built-in resource constants.
Resources
Modifier and Type | Method and Description |
---|---|
String |
resourceName()
returns the name of the resource
|
int |
resourceType()
an integer representing the type of the resource.
|
String resourceName()
int resourceType()
Copyright © 2017. All rights reserved.