com.evolveum.midpoint.wf
Class WfDataAccessor
java.lang.Object
com.evolveum.midpoint.wf.WfDataAccessor
public class WfDataAccessor
- extends Object
Created with IntelliJ IDEA.
User: mederly
Date: 28.9.2012
Time: 13:26
To change this template use File | Settings | File Templates.
Method Summary |
void |
approveOrRejectWorkItem(WorkItem workItem,
String approverOid,
boolean decision,
OperationResult result)
|
int |
countProcessInstancesRelatedToUser(String userOid,
boolean requestedBy,
boolean requestedFor,
boolean finished,
OperationResult parentResult)
|
int |
countWorkItemsRelatedToUser(String user,
boolean assigned,
OperationResult parentResult)
|
void |
deleteProcessInstance(String instanceId,
OperationResult parentResult)
|
PrismObject<ObjectType> |
getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result)
|
ProcessInstance |
getProcessInstanceByInstanceId(String instanceId,
boolean historic,
OperationResult parentResult)
|
ProcessInstance |
getProcessInstanceByInstanceIdInternal(String instanceId,
boolean historic,
OperationResult result)
|
ProcessInstance |
getProcessInstanceByTaskId(String taskId,
OperationResult parentResult)
|
PrismObject<ObjectType> |
getRequestCommon(org.activiti.engine.task.Task task,
OperationResult result)
|
PrismObject<ObjectType> |
getTrackingData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result)
|
WorkItem |
getWorkItemByTaskId(String taskId,
OperationResult parentResult)
|
List<ProcessInstance> |
listProcessInstancesRelatedToUser(String userOid,
boolean requestedBy,
boolean requestedFor,
boolean finished,
int first,
int count,
OperationResult parentResult)
|
List<WorkItem> |
listWorkItemsRelatedToUser(String user,
boolean assigned,
int first,
int count,
OperationResult parentResult)
|
void |
saveWorkItemPrism(PrismObject specific,
PrismObject common,
boolean decision,
OperationResult result)
|
void |
stopProcessInstance(String instanceId,
String username,
OperationResult parentResult)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WfDataAccessor
public WfDataAccessor(WorkflowManager workflowManager)
countWorkItemsRelatedToUser
public int countWorkItemsRelatedToUser(String user,
boolean assigned,
OperationResult parentResult)
throws WorkflowException
- Throws:
WorkflowException
listWorkItemsRelatedToUser
public List<WorkItem> listWorkItemsRelatedToUser(String user,
boolean assigned,
int first,
int count,
OperationResult parentResult)
throws WorkflowException
- Throws:
WorkflowException
countProcessInstancesRelatedToUser
public int countProcessInstancesRelatedToUser(String userOid,
boolean requestedBy,
boolean requestedFor,
boolean finished,
OperationResult parentResult)
throws WorkflowException
- Throws:
WorkflowException
listProcessInstancesRelatedToUser
public List<ProcessInstance> listProcessInstancesRelatedToUser(String userOid,
boolean requestedBy,
boolean requestedFor,
boolean finished,
int first,
int count,
OperationResult parentResult)
throws WorkflowException
- Throws:
WorkflowException
getWorkItemByTaskId
public WorkItem getWorkItemByTaskId(String taskId,
OperationResult parentResult)
throws ObjectNotFoundException,
WorkflowException
- Throws:
ObjectNotFoundException
WorkflowException
getProcessInstanceByTaskId
public ProcessInstance getProcessInstanceByTaskId(String taskId,
OperationResult parentResult)
throws ObjectNotFoundException,
WorkflowException
- Throws:
ObjectNotFoundException
WorkflowException
getProcessInstanceByInstanceId
public ProcessInstance getProcessInstanceByInstanceId(String instanceId,
boolean historic,
OperationResult parentResult)
throws ObjectNotFoundException,
WorkflowException
- Throws:
ObjectNotFoundException
WorkflowException
getProcessInstanceByInstanceIdInternal
public ProcessInstance getProcessInstanceByInstanceIdInternal(String instanceId,
boolean historic,
OperationResult result)
throws ObjectNotFoundException,
WorkflowException
- Throws:
ObjectNotFoundException
WorkflowException
approveOrRejectWorkItem
public void approveOrRejectWorkItem(WorkItem workItem,
String approverOid,
boolean decision,
OperationResult result)
saveWorkItemPrism
public void saveWorkItemPrism(PrismObject specific,
PrismObject common,
boolean decision,
OperationResult result)
getRequestCommon
public PrismObject<ObjectType> getRequestCommon(org.activiti.engine.task.Task task,
OperationResult result)
throws SchemaException,
ObjectNotFoundException
- Throws:
SchemaException
ObjectNotFoundException
getAdditionalData
public PrismObject<ObjectType> getAdditionalData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result)
throws ObjectNotFoundException
- Throws:
ObjectNotFoundException
getTrackingData
public PrismObject<ObjectType> getTrackingData(org.activiti.engine.task.Task task,
Map<String,Object> variables,
OperationResult result)
throws ObjectNotFoundException,
SchemaException
- Throws:
ObjectNotFoundException
SchemaException
stopProcessInstance
public void stopProcessInstance(String instanceId,
String username,
OperationResult parentResult)
deleteProcessInstance
public void deleteProcessInstance(String instanceId,
OperationResult parentResult)
Copyright © 2013 evolveum. All Rights Reserved.