public class JavadocUriPersistence extends AbstractPersistence<JavadocHtmlUri>
AbstractPersistence.SQL_ORDER| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
static String |
tableName |
AND, entityManagerFactory| Constructor and Description |
|---|
JavadocUriPersistence(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(JavadocHtmlUri item)
Removes the relations.
|
javax.persistence.criteria.Root<JavadocHtmlUri> |
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, updateprotected static org.slf4j.Logger logger
public static final String tableName
public JavadocUriPersistence(javax.persistence.EntityManagerFactory factory)
factory - the factorypublic javax.persistence.criteria.Root<JavadocHtmlUri> rootFrom(javax.persistence.criteria.CriteriaQuery<Object> cq)
JavaPersistenceHandlerrootFrom in interface JavaPersistenceHandler<JavadocHtmlUri>rootFrom in class AbstractPersistence<JavadocHtmlUri>cq - the cqpublic int deleteItemByIdField(String idField) throws DatabaseServiceException
DaoUpdaterdeleteItemByIdField in interface DaoUpdater<JavadocHtmlUri>deleteItemByIdField in class AbstractPersistence<JavadocHtmlUri>idField - the id fieldDatabaseServiceException - the database service exceptionpublic int removeAllReleations()
AbstractPersistenceremoveAllReleations in class AbstractPersistence<JavadocHtmlUri>public int removeRelations(JavadocHtmlUri item)
AbstractPersistenceremoveRelations in class AbstractPersistence<JavadocHtmlUri>item - the itemCopyright © 2015. All Rights Reserved.