Package org.exoplatform.task.service
Interface LabelService
- All Known Implementing Classes:
LabelServiceImpl
public interface LabelService
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTaskToLabel(TaskDto task, Long labelId) createLabel(LabelDto label) findLabelsByProject(long projectId, org.exoplatform.services.security.Identity currentUser, int offset, int limit) findLabelsByTask(TaskDto task, long projectId, org.exoplatform.services.security.Identity currentUser, int offset, int limit) findLabelsByUser(String username, int offset, int limit) getLabel(long labelId) voidremoveLabel(long labelId) voidremoveTaskFromLabel(TaskDto task, Long labelId) updateLabel(LabelDto label) updateLabel(LabelDto label, List<Label.FIELDS> fields)
-
Method Details
-
findLabelsByUser
-
findLabelsByProject
-
findLabelsByTask
-
getLabel
-
createLabel
-
updateLabel
- Throws:
EntityNotFoundException
-
updateLabel
- Throws:
EntityNotFoundException
-
removeLabel
void removeLabel(long labelId) -
addTaskToLabel
- Throws:
EntityNotFoundException
-
removeTaskFromLabel
- Throws:
EntityNotFoundException
-