public class CoordJobGetActionsByDatesForKillJPAExecutor extends java.lang.Object implements JPAExecutor<java.util.List<CoordinatorActionBean>>
| Constructor and Description |
|---|
CoordJobGetActionsByDatesForKillJPAExecutor(java.lang.String jobId,
java.util.Date startDate,
java.util.Date endDate) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CoordinatorActionBean> |
execute(javax.persistence.EntityManager em)
Method that encapsulates JPA access operations.
|
java.lang.String |
getName()
Return the name of the JPA executor.
|
public CoordJobGetActionsByDatesForKillJPAExecutor(java.lang.String jobId, java.util.Date startDate, java.util.Date endDate)
public java.lang.String getName()
JPAExecutorgetName in interface JPAExecutor<java.util.List<CoordinatorActionBean>>public java.util.List<CoordinatorActionBean> execute(javax.persistence.EntityManager em) throws JPAExecutorException
JPAExecutorEntityManager.
Implementations should commit any transaction before ending, else the transaction will be rolled back.execute in interface JPAExecutor<java.util.List<CoordinatorActionBean>>em - an active EntityManagerJPAExecutorException - thrown if a jpa executor failedCopyright © 2018 Apache Software Foundation. All Rights Reserved.