public class GisLayerJobPersistence extends AbstractPersistence<GisLayerJob>
AND, entityManagerFactory, logger| Constructor and Description |
|---|
GisLayerJobPersistence(javax.persistence.EntityManagerFactory factory)
Instantiates a new gis layer job persistence.
|
| Modifier and Type | Method and Description |
|---|---|
int |
countItems() |
int |
deleteItemByIdField(String idField) |
List<GisLayerJob> |
executeCriteriaQuery(javax.persistence.criteria.CriteriaQuery<Object> criteriaQuery) |
List<GisLayerJob> |
executeTypedQuery(javax.persistence.criteria.CriteriaQuery<Object> cq,
int startIndex,
int offset) |
javax.persistence.criteria.CriteriaBuilder |
getCriteriaBuilder() |
GisLayerJob |
getItemByIdField(String idField)
Gets the item by id field.
|
GisLayerJob |
getItemByKey(Integer id) |
List<GisLayerJob> |
getList() |
List<GisLayerJob> |
getList(int startIndex,
int offset) |
List<GisLayerJob> |
getList(Map<String,String> filterMap,
int startIndex,
int offset) |
int |
removeAll() |
javax.persistence.criteria.Root<GisLayerJob> |
rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq) |
createNewManager, getEntityManagerFactory, insert, remove, updatepublic GisLayerJobPersistence(javax.persistence.EntityManagerFactory factory)
factory - the factorypublic int removeAll()
throws DatabaseServiceException
removeAll in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic List<GisLayerJob> getList() throws DatabaseServiceException
getList in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic int countItems()
throws DatabaseServiceException
countItems in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic GisLayerJob getItemByKey(Integer id) throws DatabaseServiceException
getItemByKey in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic List<GisLayerJob> executeCriteriaQuery(javax.persistence.criteria.CriteriaQuery<Object> criteriaQuery) throws DatabaseServiceException
executeCriteriaQuery in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
throws DatabaseServiceException
getCriteriaBuilder in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic javax.persistence.criteria.Root<GisLayerJob> rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq)
rootFrom in class AbstractPersistence<GisLayerJob>public List<GisLayerJob> getList(int startIndex, int offset) throws DatabaseServiceException
getList in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic List<GisLayerJob> getList(Map<String,String> filterMap, int startIndex, int offset) throws DatabaseServiceException
getList in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic List<GisLayerJob> executeTypedQuery(javax.persistence.criteria.CriteriaQuery<Object> cq, int startIndex, int offset) throws DatabaseServiceException
executeTypedQuery in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic int deleteItemByIdField(String idField) throws DatabaseServiceException
deleteItemByIdField in class AbstractPersistence<GisLayerJob>DatabaseServiceExceptionpublic GisLayerJob getItemByIdField(String idField) throws DatabaseServiceException
idField - the id fieldDatabaseServiceException - the database service exceptionCopyright © 2021. All Rights Reserved.