Package org.exoplatform.task.dao.jpa
Class LabelDAOImpl
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<E,K>
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<Label,,Long> LabelHandler
-
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 TypeMethodDescriptionvoidvoidvoidorg.exoplatform.commons.utils.ListAccess<Label>findLabels(LabelQuery query) org.exoplatform.commons.utils.ListAccess<Label>findLabelsByProject(long projectId) org.exoplatform.commons.utils.ListAccess<Label>findLabelsByTask(long taskId, long projectId) org.exoplatform.commons.utils.ListAccess<Label>findLabelsByUser(String username) Methods inherited from class org.exoplatform.task.dao.jpa.CommonJPADAO
buildPath, buildQuery, buildSingleCondition, cloneEntities, cloneEntity, create, find, findEntities, getCacheMethods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, createAll, 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, find, findAll, update, updateAll
-
Constructor Details
-
LabelDAOImpl
public LabelDAOImpl()
-
-
Method Details
-
delete
-
deleteAll
-
deleteAll
public void deleteAll() -
findLabelsByUser
- Specified by:
findLabelsByUserin interfaceLabelHandler- Parameters:
username- user name- Returns:
- List of labels
-
findLabelsByProject
- Specified by:
findLabelsByProjectin interfaceLabelHandler
-
findLabelsByTask
public org.exoplatform.commons.utils.ListAccess<Label> findLabelsByTask(long taskId, long projectId) - Specified by:
findLabelsByTaskin interfaceLabelHandler
-
findLabels
- Specified by:
findLabelsin interfaceLabelHandler
-