public class JPAExecutorStoreService extends Object implements org.kie.api.executor.ExecutorStoreService
Constructor and Description |
---|
JPAExecutorStoreService(boolean active) |
Modifier and Type | Method and Description |
---|---|
org.kie.api.executor.ErrorInfo |
findError(Long id) |
org.kie.api.executor.RequestInfo |
findRequest(Long id) |
List<org.kie.api.executor.RequestInfo> |
loadRequests() |
void |
persistError(org.kie.api.executor.ErrorInfo error) |
void |
persistRequest(org.kie.api.executor.RequestInfo request,
Consumer<Object> function) |
org.kie.api.executor.ErrorInfo |
removeError(Long errorId) |
org.kie.api.executor.RequestInfo |
removeRequest(Long requestId,
Consumer<Object> function) |
void |
setCommandService(org.kie.api.runtime.CommandExecutor commandService) |
void |
setEmf(javax.persistence.EntityManagerFactory emf) |
void |
setEventSupport(ExecutorEventSupportImpl eventSupport) |
void |
updateError(org.kie.api.executor.ErrorInfo error) |
void |
updateRequest(org.kie.api.executor.RequestInfo request,
Consumer<Object> function) |
public void setEventSupport(ExecutorEventSupportImpl eventSupport)
public void setCommandService(org.kie.api.runtime.CommandExecutor commandService)
public void setEmf(javax.persistence.EntityManagerFactory emf)
public void persistRequest(org.kie.api.executor.RequestInfo request, Consumer<Object> function)
persistRequest
in interface org.kie.api.executor.ExecutorStoreService
public void updateRequest(org.kie.api.executor.RequestInfo request, Consumer<Object> function)
updateRequest
in interface org.kie.api.executor.ExecutorStoreService
public org.kie.api.executor.RequestInfo removeRequest(Long requestId, Consumer<Object> function)
removeRequest
in interface org.kie.api.executor.ExecutorStoreService
public org.kie.api.executor.RequestInfo findRequest(Long id)
findRequest
in interface org.kie.api.executor.ExecutorStoreService
public void persistError(org.kie.api.executor.ErrorInfo error)
persistError
in interface org.kie.api.executor.ExecutorStoreService
public void updateError(org.kie.api.executor.ErrorInfo error)
updateError
in interface org.kie.api.executor.ExecutorStoreService
public org.kie.api.executor.ErrorInfo removeError(Long errorId)
removeError
in interface org.kie.api.executor.ExecutorStoreService
public org.kie.api.executor.ErrorInfo findError(Long id)
findError
in interface org.kie.api.executor.ExecutorStoreService
public List<org.kie.api.executor.RequestInfo> loadRequests()
loadRequests
in interface org.kie.api.executor.ExecutorStoreService
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.