public class DefaultExecutionErrorStorage extends Object implements org.kie.internal.runtime.error.ExecutionErrorStorage
| Constructor and Description |
|---|
DefaultExecutionErrorStorage(org.kie.api.runtime.Environment environment) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(String user,
String... errorIds) |
protected <R> R |
call(Function<javax.persistence.EntityManager,R> function) |
org.kie.internal.runtime.error.ExecutionError |
get(String errorId) |
protected org.drools.persistence.api.TransactionManager |
getTransactionManager(org.kie.api.runtime.Environment environment) |
protected boolean |
isActive() |
protected boolean |
isSpringTransactionManager(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.ExecutionError |
store(org.kie.internal.runtime.error.ExecutionError error) |
public DefaultExecutionErrorStorage(org.kie.api.runtime.Environment environment)
public org.kie.internal.runtime.error.ExecutionError store(org.kie.internal.runtime.error.ExecutionError error)
store in interface org.kie.internal.runtime.error.ExecutionErrorStoragepublic List<org.kie.internal.runtime.error.ExecutionError> list(Integer page, Integer pageSize)
list in interface org.kie.internal.runtime.error.ExecutionErrorStoragepublic org.kie.internal.runtime.error.ExecutionError get(String errorId)
get in interface org.kie.internal.runtime.error.ExecutionErrorStoragepublic void acknowledge(String user, String... errorIds)
acknowledge in interface org.kie.internal.runtime.error.ExecutionErrorStoragepublic List<org.kie.internal.runtime.error.ExecutionError> listByProcessInstance(Long processInstanceId, Integer page, Integer pageSize)
listByProcessInstance in interface org.kie.internal.runtime.error.ExecutionErrorStoragepublic List<org.kie.internal.runtime.error.ExecutionError> listByActivity(String activityName, Integer page, Integer pageSize)
listByActivity in interface org.kie.internal.runtime.error.ExecutionErrorStoragepublic List<org.kie.internal.runtime.error.ExecutionError> listByDeployment(String deploymentId, Integer page, Integer pageSize)
listByDeployment in interface org.kie.internal.runtime.error.ExecutionErrorStorageprotected <R> R call(Function<javax.persistence.EntityManager,R> function)
protected org.drools.persistence.api.TransactionManager getTransactionManager(org.kie.api.runtime.Environment environment)
protected boolean isSpringTransactionManager(Class<?> clazz)
protected boolean isActive()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.