public class ReleaseFilePersistence extends AbstractPersistence<ReleaseFile>
AbstractPersistence.SQL_ORDER
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
static String |
tableName |
AND, entityManagerFactory
Constructor and Description |
---|
ReleaseFilePersistence(javax.persistence.EntityManagerFactory factory)
Instantiates a new javadoc uri persistence.
|
Modifier and Type | Method and Description |
---|---|
int |
deleteItemByIdField(String idField)
Delete item by id field.
|
int |
removeAllReleations()
Removes the all releations.
|
int |
removeRelations(ReleaseFile item)
Removes the relations.
|
javax.persistence.criteria.Root<ReleaseFile> |
rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq)
Root from.
|
countItems, create, createNewManager, deleteItemByInternalId, executeCriteriaQuery, executeTypedQuery, getCriteriaBuilder, getEntityManagerFactory, getItemByKey, getRows, getRows, getRowsFiltered, getRowsOrdered, insert, remove, removeAll, update
protected static org.slf4j.Logger logger
public static final String tableName
public ReleaseFilePersistence(javax.persistence.EntityManagerFactory factory)
factory
- the factorypublic javax.persistence.criteria.Root<ReleaseFile> rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq)
JavaPersistenceHandler
rootFrom
in interface JavaPersistenceHandler<ReleaseFile>
rootFrom
in class AbstractPersistence<ReleaseFile>
cq
- the cqpublic int deleteItemByIdField(String idField) throws DatabaseServiceException
DaoUpdater
deleteItemByIdField
in interface DaoUpdater<ReleaseFile>
deleteItemByIdField
in class AbstractPersistence<ReleaseFile>
idField
- the id fieldDatabaseServiceException
- the database service exceptionpublic int removeAllReleations()
AbstractPersistence
removeAllReleations
in class AbstractPersistence<ReleaseFile>
public int removeRelations(ReleaseFile item)
AbstractPersistence
removeRelations
in class AbstractPersistence<ReleaseFile>
item
- the itemCopyright © 2016. All Rights Reserved.