Package org.exoplatform.task.storage
Interface LabelStorage
-
- All Known Implementing Classes:
LabelStorageImpl
public interface LabelStorage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTaskToLabel(TaskDto task, Long labelId)LabelDtocreateLabel(LabelDto label)List<LabelDto>findLabelsByProject(long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, int offset, int limit)List<LabelDto>findLabelsByTask(TaskDto task, long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, int offset, int limit)List<LabelDto>findLabelsByUser(String username, int offset, int limit)LabelDtogetLabel(long labelId)voidremoveLabel(long labelId)voidremoveTaskFromLabel(TaskDto task, Long labelId)LabelDtoupdateLabel(LabelDto label, List<Label.FIELDS> fields)
-
-
-
Method Detail
-
findLabelsByProject
List<LabelDto> findLabelsByProject(long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, int offset, int limit)
-
findLabelsByTask
List<LabelDto> findLabelsByTask(TaskDto task, long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, int offset, int limit)
-
getLabel
LabelDto getLabel(long labelId)
-
updateLabel
LabelDto updateLabel(LabelDto label, List<Label.FIELDS> fields) throws EntityNotFoundException
- Throws:
EntityNotFoundException
-
removeLabel
void removeLabel(long labelId)
-
addTaskToLabel
void addTaskToLabel(TaskDto task, Long labelId) throws EntityNotFoundException
- Throws:
EntityNotFoundException
-
removeTaskFromLabel
void removeTaskFromLabel(TaskDto task, Long labelId) throws EntityNotFoundException
- Throws:
EntityNotFoundException
-
-