public class ProjectDAOImpl extends CommonJPADAO<Project,Long> implements ProjectHandler
clz| Constructor and Description |
|---|
ProjectDAOImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.persistence.criteria.Path |
buildPath(SingleCondition condition,
javax.persistence.criteria.Root<Project> root) |
int |
countCollaboratedProjects(String userName,
String keyword) |
int |
countNotEmptyProjects(List<String> memberships,
String keyword) |
void |
delete(Project entity) |
org.exoplatform.commons.utils.ListAccess<Project> |
findAllByMembershipsAndKeyword(List<String> memberships,
String keyword,
OrderBy order) |
List<Project> |
findCollaboratedProjects(String userName,
String keyword,
int offset,
int limit) |
protected List<Project> |
findIdentitiesByIDs(List<Long> ids) |
List<Project> |
findNotEmptyProjects(List<String> memberships,
String keyword,
int offset,
int limit) |
org.exoplatform.commons.utils.ListAccess<Project> |
findProjects(ProjectQuery query) |
org.exoplatform.commons.utils.ListAccess<Project> |
findSubProjects(Project project) |
Project |
removeProject(long projectId,
boolean deleteChild) |
<T> List<T> |
selectProjectField(ProjectQuery query,
String fieldName) |
Project |
update(Project entity) |
buildQuery, buildSingleCondition, cloneEntities, cloneEntity, create, find, findEntities, getCachecount, createAll, deleteAll, deleteAll, findAll, getDialect, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, updateAllpublic void delete(Project entity)
public Project removeProject(long projectId, boolean deleteChild)
removeProject in interface ProjectHandlerpublic org.exoplatform.commons.utils.ListAccess<Project> findSubProjects(Project project)
findSubProjects in interface ProjectHandlerpublic org.exoplatform.commons.utils.ListAccess<Project> findAllByMembershipsAndKeyword(List<String> memberships, String keyword, OrderBy order)
findAllByMembershipsAndKeyword in interface ProjectHandlerpublic org.exoplatform.commons.utils.ListAccess<Project> findProjects(ProjectQuery query)
findProjects in interface ProjectHandlerprotected javax.persistence.criteria.Path buildPath(SingleCondition condition, javax.persistence.criteria.Root<Project> root)
buildPath in class CommonJPADAO<Project,Long>public List<Project> findCollaboratedProjects(String userName, String keyword, int offset, int limit)
findCollaboratedProjects in interface ProjectHandlerpublic List<Project> findNotEmptyProjects(List<String> memberships, String keyword, int offset, int limit)
findNotEmptyProjects in interface ProjectHandlerpublic int countCollaboratedProjects(String userName, String keyword)
countCollaboratedProjects in interface ProjectHandlerpublic int countNotEmptyProjects(List<String> memberships, String keyword)
countNotEmptyProjects in interface ProjectHandlerpublic <T> List<T> selectProjectField(ProjectQuery query, String fieldName)
selectProjectField in interface ProjectHandlerCopyright © 2003–2021 eXo Platform SAS. All rights reserved.