Package org.exoplatform.task.dao.jpa
Class StatusDAOImpl
java.lang.Object
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<Status,,Long> StatusHandler
-
Field Summary
Fields inherited from class org.exoplatform.task.dao.jpa.CommonJPADAO
clzFields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByName(String name, long projectID) findByNamedQuery(String query, Map<String, Object> params, int limit) findHighestRankStatusByProject(long projectId) findLowestRankStatusByProject(Long projectId) getStatuses(long projectId) Methods inherited from class org.exoplatform.task.dao.jpa.CommonJPADAO
buildCountQuery, buildPath, buildQuery, buildSingleCondition, cloneEntities, cloneEntity, create, find, findEntities, getCacheMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, createAll, delete, deleteAll, deleteAll, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
-
Constructor Details
-
StatusDAOImpl
public StatusDAOImpl()
-
-
Method Details
-
findLowestRankStatusByProject
- Specified by:
findLowestRankStatusByProjectin interfaceStatusHandler
-
findHighestRankStatusByProject
- Specified by:
findHighestRankStatusByProjectin interfaceStatusHandler
-
findByName
- Specified by:
findByNamein interfaceStatusHandler
-
getStatuses
- Specified by:
getStatusesin interfaceStatusHandler
-
findByNamedQuery
-