Interface LabelHandler

All Superinterfaces:
org.exoplatform.commons.api.persistence.GenericDAO<Label,Long>
All Known Implementing Classes:
LabelDAOImpl

public interface LabelHandler extends org.exoplatform.commons.api.persistence.GenericDAO<Label,Long>
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.commons.utils.ListAccess<Label>
     
    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>
     

    Methods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO

    count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
  • Method Details

    • findLabelsByUser

      org.exoplatform.commons.utils.ListAccess<Label> findLabelsByUser(String username)
      Parameters:
      username - user name
      Returns:
      List of labels
    • findLabelsByProject

      org.exoplatform.commons.utils.ListAccess<Label> findLabelsByProject(long projectId)
    • findLabelsByTask

      org.exoplatform.commons.utils.ListAccess<Label> findLabelsByTask(long taskId, long projectId)
    • findLabels

      org.exoplatform.commons.utils.ListAccess<Label> findLabels(LabelQuery query)