Package org.exoplatform.task.dao.jpa
Class ProjectDAOImpl
java.lang.Object
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<Project,,Long> ProjectHandler
-
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 TypeMethodDescriptionprotected jakarta.persistence.criteria.PathbuildPath(SingleCondition condition, jakarta.persistence.criteria.Root<Project> root) intcountCollaboratedProjects(String userName, String keyword) intcountNotEmptyProjects(List<String> memberships, String keyword) voidorg.exoplatform.commons.utils.ListAccess<Project> findAllByMembershipsAndKeyword(List<String> memberships, String keyword, OrderBy order) findCollaboratedProjects(String userName, String keyword, int offset, int limit) findIdentitiesByIDs(List<Long> ids) 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) removeProject(long projectId, boolean deleteChild) <T> List<T> selectProjectField(ProjectQuery query, String fieldName) Methods inherited from class org.exoplatform.task.dao.jpa.CommonJPADAO
buildCountQuery, buildQuery, buildSingleCondition, cloneEntities, cloneEntity, create, find, findEntities, getCacheMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, createAll, deleteAll, deleteAll, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, 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, deleteAll, deleteAll, find, findAll, updateAll
-
Constructor Details
-
ProjectDAOImpl
public ProjectDAOImpl()
-
-
Method Details
-
update
-
delete
-
removeProject
- Specified by:
removeProjectin interfaceProjectHandler
-
findSubProjects
- Specified by:
findSubProjectsin interfaceProjectHandler
-
findAllByMembershipsAndKeyword
public org.exoplatform.commons.utils.ListAccess<Project> findAllByMembershipsAndKeyword(List<String> memberships, String keyword, OrderBy order) - Specified by:
findAllByMembershipsAndKeywordin interfaceProjectHandler
-
findProjects
- Specified by:
findProjectsin interfaceProjectHandler
-
buildPath
protected jakarta.persistence.criteria.Path buildPath(SingleCondition condition, jakarta.persistence.criteria.Root<Project> root) - Overrides:
buildPathin classCommonJPADAO<Project,Long>
-
findCollaboratedProjects
public List<Project> findCollaboratedProjects(String userName, String keyword, int offset, int limit) - Specified by:
findCollaboratedProjectsin interfaceProjectHandler
-
findNotEmptyProjects
public List<Project> findNotEmptyProjects(List<String> memberships, String keyword, int offset, int limit) - Specified by:
findNotEmptyProjectsin interfaceProjectHandler
-
countCollaboratedProjects
- Specified by:
countCollaboratedProjectsin interfaceProjectHandler
-
countNotEmptyProjects
- Specified by:
countNotEmptyProjectsin interfaceProjectHandler
-
findIdentitiesByIDs
-
selectProjectField
- Specified by:
selectProjectFieldin interfaceProjectHandler
-