public class CoordJobsToBeMaterializedJPAExecutor extends Object implements JPAExecutor<List<CoordinatorJobBean>>
| Constructor and Description |
|---|
CoordJobsToBeMaterializedJPAExecutor(Date date,
int limit) |
| Modifier and Type | Method and Description |
|---|---|
List<CoordinatorJobBean> |
execute(javax.persistence.EntityManager em)
Method that encapsulates JPA access operations.
|
Date |
getDateInput() |
int |
getLimit() |
String |
getName()
Return the name of the JPA executor.
|
void |
setDateInput(Date dateInput) |
void |
setLimit(int limit) |
public CoordJobsToBeMaterializedJPAExecutor(Date date, int limit)
date - limit - public List<CoordinatorJobBean> execute(javax.persistence.EntityManager em) throws JPAExecutorException
JPAExecutor
Implementations should not close the received EntityManager.
Implementations should commit any transaction before ending, else the transaction will be rolled back.
execute in interface JPAExecutor<List<CoordinatorJobBean>>em - an active EntityManagerJPAExecutorException - thrown if a jpa executor failedpublic String getName()
JPAExecutorgetName in interface JPAExecutor<List<CoordinatorJobBean>>public Date getDateInput()
public void setDateInput(Date dateInput)
dateInput - the dateInput to setpublic int getLimit()
public void setLimit(int limit)
limit - the limit to setCopyright © 2016 Apache Software Foundation. All rights reserved.