public interface ResourceAuthorizationProvider
Modifier and Type | Method and Description |
---|---|
AuthorizationEntity[] |
deleteTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a group identity link of a task has been deleted.
|
AuthorizationEntity[] |
deleteTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a user identity link of a task has been deleted.
|
AuthorizationEntity[] |
groupMembershipCreated(String groupId,
String userId)
Invoked whenever a user is added to a group
|
AuthorizationEntity[] |
newDeployment(Deployment deployment)
Invoked whenever a new deployment is created
|
AuthorizationEntity[] |
newFilter(Filter filter)
Invoked whenever a new filter is created
|
AuthorizationEntity[] |
newGroup(Group group)
Invoked whenever a new group is created
|
AuthorizationEntity[] |
newProcessDefinition(ProcessDefinition processDefinition)
Invoked whenever a new process definition is created
|
AuthorizationEntity[] |
newProcessInstance(ProcessInstance processInstance)
Invoked whenever a new process instance is started
|
AuthorizationEntity[] |
newTask(Task task)
Invoked whenever a new task is created
|
AuthorizationEntity[] |
newTaskAssignee(Task task,
String oldAssignee,
String newAssignee)
Invoked whenever an user has been assigned to a task.
|
AuthorizationEntity[] |
newTaskGroupIdentityLink(Task task,
String groupId,
String type)
Invoked whenever a new group identity link has been added to a task.
|
AuthorizationEntity[] |
newTaskOwner(Task task,
String oldOwner,
String newOwner)
Invoked whenever an user has been set as the owner of a task.
|
AuthorizationEntity[] |
newTaskUserIdentityLink(Task task,
String userId,
String type)
Invoked whenever a new user identity link has been added to a task.
|
AuthorizationEntity[] |
newUser(User user)
Invoked whenever a new user is created
|
AuthorizationEntity[] newUser(User user)
Invoked whenever a new user is created
user
- a newly created userAuthorizationEntity[] newGroup(Group group)
Invoked whenever a new group is created
AuthorizationEntity[] groupMembershipCreated(String groupId, String userId)
Invoked whenever a user is added to a group
AuthorizationEntity[] newFilter(Filter filter)
Invoked whenever a new filter is created
filter
- the newly created filterFilter
is created.AuthorizationEntity[] newDeployment(Deployment deployment)
Invoked whenever a new deployment is created
deployment
- the newly created deploymentDeployment
is created.AuthorizationEntity[] newProcessDefinition(ProcessDefinition processDefinition)
Invoked whenever a new process definition is created
processDefinition
- the newly created process definitionProcessDefinition
is created.AuthorizationEntity[] newProcessInstance(ProcessInstance processInstance)
Invoked whenever a new process instance is started
processInstance
- the newly started process instanceProcessInstance
is started.AuthorizationEntity[] newTask(Task task)
Invoked whenever a new task is created
task
- the newly created taskTask
is created.AuthorizationEntity[] newTaskAssignee(Task task, String oldAssignee, String newAssignee)
Invoked whenever an user has been assigned to a task.
task
- the task on which the assignee has been changedoldAssignee
- the old assignee of the tasknewAssignee
- the new assignee of the taskAuthorizationEntity[] newTaskOwner(Task task, String oldOwner, String newOwner)
Invoked whenever an user has been set as the owner of a task.
task
- the task on which the owner has been changedoldOwner
- the old owner of the tasknewOwner
- the new owner of the taskAuthorizationEntity[] newTaskUserIdentityLink(Task task, String userId, String type)
Invoked whenever a new user identity link has been added to a task.
task
- the task on which a new identity link has been addeduserId
- the user for which the identity link has been createdtype
- the type of the identity link (e.g. IdentityLinkType.CANDIDATE
)AuthorizationEntity[] newTaskGroupIdentityLink(Task task, String groupId, String type)
Invoked whenever a new group identity link has been added to a task.
task
- the task on which a new identity link has been addedgroupId
- the group for which the identity link has been createdtype
- the type of the identity link (e.g. IdentityLinkType.CANDIDATE
)AuthorizationEntity[] deleteTaskUserIdentityLink(Task task, String userId, String type)
Invoked whenever a user identity link of a task has been deleted.
task
- the task on which the identity link has been deleteduserId
- the user for which the identity link has been deletedtype
- the type of the identity link (e.g. IdentityLinkType.CANDIDATE
)AuthorizationEntity[] deleteTaskGroupIdentityLink(Task task, String groupId, String type)
Invoked whenever a group identity link of a task has been deleted.
task
- the task on which the identity link has been deletedgroupId
- the group for which the identity link has been deletedtype
- the type of the identity link (e.g. IdentityLinkType.CANDIDATE
)Copyright © 2018. All rights reserved.