public class SLASummaryGetForFilterJPAExecutor extends Object implements JPAExecutor<List<SLASummaryBean>>
| Constructor and Description |
|---|
SLASummaryGetForFilterJPAExecutor(int numMaxResults) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAndSetFilterField(String name,
String value) |
List<SLASummaryBean> |
execute(javax.persistence.EntityManager em)
Method that encapsulates JPA access operations.
|
String |
getName()
Return the name of the JPA executor.
|
void |
setDescendingOrder(boolean isDescendingOrder) |
void |
setSortbyColumn(String sortbyColumn) |
public SLASummaryGetForFilterJPAExecutor(int numMaxResults)
public String getName()
JPAExecutorgetName in interface JPAExecutor<List<SLASummaryBean>>public List<SLASummaryBean> 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<SLASummaryBean>>em - an active EntityManagerJPAExecutorException - thrown if a jpa executor failedpublic void checkAndSetFilterField(String name, String value) throws javax.servlet.ServletException, ParseException
javax.servlet.ServletExceptionParseExceptionpublic void setDescendingOrder(boolean isDescendingOrder)
public void setSortbyColumn(String sortbyColumn)
Copyright © 2018 Apache Software Foundation. All rights reserved.