@Retention(value=RUNTIME) @Target(value=METHOD) @Documented public @interface ExecutionPermission
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
administratorOverride
Specifies that an administrator can override the permission settings and
perform the method even if it is not explicitly present in the permission list.
|
boolean |
changeable
Specifies that model permissions should be considered instead of the default ones
defined in the permission annotation.
|
ExecutionPermission.Default[] |
defaults
Specifies which permissions are considered in the case that the model does not
specify any permission or changeable is false.
|
boolean |
defer
Specifies that the permissions check will not be performed before invocation,
instead it will be deferred and performed in the called method.
|
ExecutionPermission.Default[] |
fixed
Specifies which permissions are always present in addition to the ones defined in the model.
|
ExecutionPermission.Id |
id
Specifies the identifier of the permission.
|
ExecutionPermission.Id[] |
implied
Specifies that the implied permission(s) could be used instead of this one.
|
ExecutionPermission.Scope |
scope
Specifies the scope of the permission, which can be one of:
model - permission applies to the active model.
process - permission applies to the accessed process instance(s).
activity - permission applies to the accessed activity instance(s).
data - permission applies to the accessed data object(s).
|
public abstract ExecutionPermission.Id id
public abstract ExecutionPermission.Scope scope
public abstract ExecutionPermission.Default[] defaults
public abstract ExecutionPermission.Default[] fixed
public abstract boolean changeable
public abstract boolean administratorOverride
public abstract boolean defer
public abstract ExecutionPermission.Id[] implied
Copyright © 2016 Eclipse Stardust. All Rights Reserved.