Class DefaultExecutionErrorStorage
- java.lang.Object
-
- org.jbpm.runtime.manager.impl.error.DefaultExecutionErrorStorage
-
- All Implemented Interfaces:
org.kie.internal.runtime.error.ExecutionErrorStorage
public class DefaultExecutionErrorStorage extends Object implements org.kie.internal.runtime.error.ExecutionErrorStorage
-
-
Constructor Summary
Constructors Constructor Description DefaultExecutionErrorStorage(org.kie.api.runtime.Environment environment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacknowledge(String user, String... errorIds)protected <R> Rcall(Function<javax.persistence.EntityManager,R> function)org.kie.internal.runtime.error.ExecutionErrorget(String errorId)protected org.drools.persistence.api.TransactionManagergetTransactionManager(org.kie.api.runtime.Environment environment)protected booleanisActive()protected booleanisSpringTransactionManager(Class<?> clazz)List<org.kie.internal.runtime.error.ExecutionError>list(Integer page, Integer pageSize)List<org.kie.internal.runtime.error.ExecutionError>listByActivity(String activityName, Integer page, Integer pageSize)List<org.kie.internal.runtime.error.ExecutionError>listByDeployment(String deploymentId, Integer page, Integer pageSize)List<org.kie.internal.runtime.error.ExecutionError>listByProcessInstance(Long processInstanceId, Integer page, Integer pageSize)org.kie.internal.runtime.error.ExecutionErrorstore(org.kie.internal.runtime.error.ExecutionError error)
-
-
-
Method Detail
-
store
public org.kie.internal.runtime.error.ExecutionError store(org.kie.internal.runtime.error.ExecutionError error)
- Specified by:
storein interfaceorg.kie.internal.runtime.error.ExecutionErrorStorage
-
list
public List<org.kie.internal.runtime.error.ExecutionError> list(Integer page, Integer pageSize)
- Specified by:
listin interfaceorg.kie.internal.runtime.error.ExecutionErrorStorage
-
get
public org.kie.internal.runtime.error.ExecutionError get(String errorId)
- Specified by:
getin interfaceorg.kie.internal.runtime.error.ExecutionErrorStorage
-
acknowledge
public void acknowledge(String user, String... errorIds)
- Specified by:
acknowledgein interfaceorg.kie.internal.runtime.error.ExecutionErrorStorage
-
listByProcessInstance
public List<org.kie.internal.runtime.error.ExecutionError> listByProcessInstance(Long processInstanceId, Integer page, Integer pageSize)
- Specified by:
listByProcessInstancein interfaceorg.kie.internal.runtime.error.ExecutionErrorStorage
-
listByActivity
public List<org.kie.internal.runtime.error.ExecutionError> listByActivity(String activityName, Integer page, Integer pageSize)
- Specified by:
listByActivityin interfaceorg.kie.internal.runtime.error.ExecutionErrorStorage
-
listByDeployment
public List<org.kie.internal.runtime.error.ExecutionError> listByDeployment(String deploymentId, Integer page, Integer pageSize)
- Specified by:
listByDeploymentin interfaceorg.kie.internal.runtime.error.ExecutionErrorStorage
-
call
protected <R> R call(Function<javax.persistence.EntityManager,R> function)
-
getTransactionManager
protected org.drools.persistence.api.TransactionManager getTransactionManager(org.kie.api.runtime.Environment environment)
-
isSpringTransactionManager
protected boolean isSpringTransactionManager(Class<?> clazz)
-
isActive
protected boolean isActive()
-
-