public class WorkflowActionsGetPendingJPAExecutor extends Object implements JPAExecutor<List<WorkflowActionBean>>
Constructor and Description |
---|
WorkflowActionsGetPendingJPAExecutor(long minimumPendingAgeSecs) |
Modifier and Type | Method and Description |
---|---|
List<WorkflowActionBean> |
execute(javax.persistence.EntityManager em)
Load All the actions that are pending for more than given time.
|
String |
getName()
Return the name of the JPA executor.
|
public WorkflowActionsGetPendingJPAExecutor(long minimumPendingAgeSecs)
public String getName()
JPAExecutor
getName
in interface JPAExecutor<List<WorkflowActionBean>>
public List<WorkflowActionBean> execute(javax.persistence.EntityManager em) throws JPAExecutorException
execute
in interface JPAExecutor<List<WorkflowActionBean>>
minimumPendingAgeSecs
- Minimum Pending age in secondsJPAExecutorException
Copyright © 2015 Apache Software Foundation. All Rights Reserved.