public class GetUserTaskCommand extends TaskCommand<org.kie.api.task.model.Task>
groupIds, targetEntityId, taskId, userId
Constructor and Description |
---|
GetUserTaskCommand() |
GetUserTaskCommand(String userId,
long taskId) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkUserPermissions(List<String> userGroups,
List<org.kie.api.task.model.OrganizationalEntity> organizationalEntities) |
protected boolean |
checkUserPermissions(String userId,
org.kie.api.task.model.Task task,
TaskContext context) |
org.kie.api.task.model.Task |
execute(org.kie.api.runtime.Context cntxt) |
getGroupsIds, getTargetEntityId, getTaskId, getUserId, setGroupsIds, setTargetEntityId, setTaskId, setUserId
public GetUserTaskCommand()
public GetUserTaskCommand(String userId, long taskId)
public org.kie.api.task.model.Task execute(org.kie.api.runtime.Context cntxt)
protected boolean checkUserPermissions(String userId, org.kie.api.task.model.Task task, TaskContext context)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.