public class CoordJobsToBeMaterializedJPAExecutor extends java.lang.Object implements JPAExecutor<java.util.List<CoordinatorJobBean>>
| Constructor and Description |
|---|
CoordJobsToBeMaterializedJPAExecutor(java.util.Date date,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CoordinatorJobBean> |
execute(javax.persistence.EntityManager em)
Method that encapsulates JPA access operations.
|
java.util.Date |
getDateInput() |
int |
getLimit() |
java.lang.String |
getName()
Return the name of the JPA executor.
|
void |
setDateInput(java.util.Date dateInput) |
void |
setLimit(int limit) |
public CoordJobsToBeMaterializedJPAExecutor(java.util.Date date, int limit)
date - limit - public java.util.List<CoordinatorJobBean> 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<CoordinatorJobBean>>em - an active EntityManagerJPAExecutorException - thrown if a jpa executor failedpublic java.lang.String getName()
JPAExecutorgetName in interface JPAExecutor<java.util.List<CoordinatorJobBean>>public java.util.Date getDateInput()
public void setDateInput(java.util.Date dateInput)
dateInput - the dateInput to setpublic int getLimit()
public void setLimit(int limit)
limit - the limit to setCopyright © 2019 Apache Software Foundation. All Rights Reserved.