@Deprecated public class GetTasksByVariousFieldsCommand extends UserGroupCallbackTaskCommand<List<org.kie.api.task.model.TaskSummary>>
TaskService#taskQuery()}
,
Serialized FormgroupIds, targetEntityId, taskId, userId
Constructor and Description |
---|
GetTasksByVariousFieldsCommand()
Deprecated.
|
GetTasksByVariousFieldsCommand(List<Long> workItemIds,
List<Long> taskIds,
List<Long> procInstIds,
List<String> busAdmins,
List<String> potOwners,
List<String> taskOwners,
List<org.kie.api.task.model.Status> statuses,
boolean union)
Deprecated.
|
GetTasksByVariousFieldsCommand(List<Long> workItemIds,
List<Long> taskIds,
List<Long> procInstIds,
List<String> busAdmins,
List<String> potOwners,
List<String> taskOwners,
List<org.kie.api.task.model.Status> statuses,
List<String> language,
boolean union)
Deprecated.
|
GetTasksByVariousFieldsCommand(List<Long> workItemIds,
List<Long> taskIds,
List<Long> procInstIds,
List<String> busAdmins,
List<String> potOwners,
List<String> taskOwners,
List<org.kie.api.task.model.Status> statuses,
List<String> language,
boolean union,
Integer maxResults)
Deprecated.
|
GetTasksByVariousFieldsCommand(Map<String,List<?>> params,
boolean union)
Deprecated.
|
GetTasksByVariousFieldsCommand(Map<String,List<?>> params,
boolean union,
Integer maxResults)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<org.kie.api.task.model.TaskSummary> |
execute(org.kie.internal.command.Context cntxt)
Deprecated.
|
List<String> |
getBusAdmins()
Deprecated.
|
List<String> |
getLanguage()
Deprecated.
|
Integer |
getMaxResults()
Deprecated.
|
List<String> |
getPotOwners()
Deprecated.
|
List<Long> |
getProcInstIds()
Deprecated.
|
List<org.kie.api.task.model.Status> |
getStatuses()
Deprecated.
|
List<Long> |
getTaskIds()
Deprecated.
|
List<String> |
getTaskOwners()
Deprecated.
|
Boolean |
getUnion()
Deprecated.
|
List<Long> |
getWorkItemIds()
Deprecated.
|
protected List<String> |
populateOrganizationalEntityWithGroupInfo(List<String> entities,
TaskContext context)
Deprecated.
Populates given list with group information taken from UserGroupCallback implementation
to allow proper query for tasks based on user assignments.
|
void |
setBusAdmins(List<String> busAdmins)
Deprecated.
|
void |
setLanguage(List<String> language)
Deprecated.
|
void |
setMaxResults(Integer maxResults)
Deprecated.
|
void |
setPotOwners(List<String> potOwners)
Deprecated.
|
void |
setProcInstIds(List<Long> procInstIds)
Deprecated.
|
void |
setStatuses(List<org.kie.api.task.model.Status> statuses)
Deprecated.
|
void |
setTaskIds(List<Long> taskIds)
Deprecated.
|
void |
setTaskOwners(List<String> taskOwners)
Deprecated.
|
void |
setUnion(Boolean union)
Deprecated.
|
void |
setWorkItemIds(List<Long> workItemIds)
Deprecated.
|
addGroupFromCallbackOperation, addUserFromCallbackOperation, doCallbackGroupOperation, doCallbackGroupsOperation, doCallbackOperationForAttachment, doCallbackOperationForComment, doCallbackOperationForPeopleAssignments, doCallbackOperationForPotentialOwners, doCallbackOperationForTaskData, doCallbackOperationForTaskDeadlines, doCallbackUserOperation, doUserGroupCallbackOperation, filterGroups, persistIfNotExists
getGroupsIds, getTargetEntityId, getTaskId, getUserId, setGroupsIds, setTargetEntityId, setTaskId, setUserId
public GetTasksByVariousFieldsCommand()
public GetTasksByVariousFieldsCommand(List<Long> workItemIds, List<Long> taskIds, List<Long> procInstIds, List<String> busAdmins, List<String> potOwners, List<String> taskOwners, List<org.kie.api.task.model.Status> statuses, boolean union)
public GetTasksByVariousFieldsCommand(List<Long> workItemIds, List<Long> taskIds, List<Long> procInstIds, List<String> busAdmins, List<String> potOwners, List<String> taskOwners, List<org.kie.api.task.model.Status> statuses, List<String> language, boolean union)
public GetTasksByVariousFieldsCommand(List<Long> workItemIds, List<Long> taskIds, List<Long> procInstIds, List<String> busAdmins, List<String> potOwners, List<String> taskOwners, List<org.kie.api.task.model.Status> statuses, List<String> language, boolean union, Integer maxResults)
public GetTasksByVariousFieldsCommand(Map<String,List<?>> params, boolean union)
public List<org.kie.api.task.model.Status> getStatuses()
public void setStatuses(List<org.kie.api.task.model.Status> statuses)
public Boolean getUnion()
public void setUnion(Boolean union)
public Integer getMaxResults()
public void setMaxResults(Integer maxResults)
public List<org.kie.api.task.model.TaskSummary> execute(org.kie.internal.command.Context cntxt)
execute
in interface org.drools.core.command.impl.GenericCommand<List<org.kie.api.task.model.TaskSummary>>
execute
in class UserGroupCallbackTaskCommand<List<org.kie.api.task.model.TaskSummary>>
protected List<String> populateOrganizationalEntityWithGroupInfo(List<String> entities, TaskContext context)
entities
- - "raw" list of organizational entitiesCopyright © 2001–2016 JBoss by Red Hat. All rights reserved.