@Component public class WorkItemProvider extends Object
Constructor and Description |
---|
WorkItemProvider() |
Modifier and Type | Method and Description |
---|---|
int |
countWorkItemsRelatedToUser(String userOid,
boolean assigned,
OperationResult parentResult)
Counts Work Items related to a user.
|
WorkItemDetailed |
getWorkItemDetailsByTaskId(String taskId,
OperationResult parentResult) |
List<WorkItem> |
listWorkItemsRelatedToUser(String userOid,
boolean assigned,
int first,
int count,
OperationResult parentResult)
Lists work items related to a user.
|
public int countWorkItemsRelatedToUser(String userOid, boolean assigned, OperationResult parentResult) throws WorkflowException
userOid
- OID of the userassigned
- whether to count assigned (true) or assignable (false) work itemsparentResult
- WorkflowException
public List<WorkItem> listWorkItemsRelatedToUser(String userOid, boolean assigned, int first, int count, OperationResult parentResult) throws WorkflowException
userOid
- OID of the userassigned
- whether to count assigned (true) or assignable (false) work itemsfirst
- count
- parentResult
- WorkflowException
public WorkItemDetailed getWorkItemDetailsByTaskId(String taskId, OperationResult parentResult) throws ObjectNotFoundException, WorkflowException
Copyright © 2013 evolveum. All rights reserved.