@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.
|
com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType |
getWorkItemDetailsById(String taskId,
OperationResult parentResult) |
List<com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType> |
listWorkItemsRelatedToUser(String userOid,
boolean assigned,
int first,
int count,
OperationResult parentResult)
Lists work items related to a user.
|
com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType |
taskEventToWorkItem(TaskEvent taskEvent,
boolean getAssigneeDetails,
boolean getCandidateDetails,
OperationResult parentResult) |
public int countWorkItemsRelatedToUser(String userOid, boolean assigned, OperationResult parentResult) throws SchemaException, ObjectNotFoundException
userOid
- OID of the userassigned
- whether to count assigned (true) or assignable (false) work itemsparentResult
- WorkflowException
SchemaException
ObjectNotFoundException
public List<com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType> listWorkItemsRelatedToUser(String userOid, boolean assigned, int first, int count, OperationResult parentResult) throws SchemaException, ObjectNotFoundException
userOid
- OID of the userassigned
- whether to count assigned (true) or assignable (false) work itemsfirst
- count
- parentResult
- WorkflowException
SchemaException
ObjectNotFoundException
public com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType getWorkItemDetailsById(String taskId, OperationResult parentResult) throws ObjectNotFoundException
ObjectNotFoundException
public com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType taskEventToWorkItem(TaskEvent taskEvent, boolean getAssigneeDetails, boolean getCandidateDetails, OperationResult parentResult) throws WorkflowException
WorkflowException
Copyright © 2015 evolveum. All rights reserved.