org.camunda.bpm.engine.authorization
Interface Resource

All Known Implementing Classes:
Resources

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:
Resources

Method Summary
 String resourceName()
          returns the name of the resource
 int resourceType()
          an integer representing the type of the resource.
 

Method Detail

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


Copyright © 2016 camunda services GmbH. All rights reserved.