Interface Resource

All Known Implementing Classes:
Resources, ResourceUtil

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.

Author:
Daniel Meyer
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    returns the name of the resource
    int
    an integer representing the type of the resource.
  • Method Details

    • resourceName

      String resourceName()
      returns the name of the resource
    • resourceType

      int resourceType()
      an integer representing the type of the resource.
      Returns:
      the type identitfyer of the resource