public class StatusDAOImpl extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<Status,Long> implements StatusHandler
| Constructor and Description |
|---|
StatusDAOImpl(org.exoplatform.commons.persistence.impl.EntityManagerService entityService) |
| Modifier and Type | Method and Description |
|---|---|
Status |
findByName(String name,
long projectID) |
List<Status> |
findByNamedQuery(String query,
Map<String,Object> params) |
Status |
findHighestRankStatusByProject(long projectId) |
Status |
findLowestRankStatusByProject(Long projectId) |
javax.persistence.EntityManager |
getEntityManager() |
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAllpublic StatusDAOImpl(org.exoplatform.commons.persistence.impl.EntityManagerService entityService)
public javax.persistence.EntityManager getEntityManager()
public Status findLowestRankStatusByProject(Long projectId)
findLowestRankStatusByProject in interface StatusHandlerpublic Status findHighestRankStatusByProject(long projectId)
findHighestRankStatusByProject in interface StatusHandlerpublic Status findByName(String name, long projectID)
findByName in interface StatusHandlerCopyright © 2003–2015 eXo Platform SAS. All rights reserved.