Class LabelServiceImpl
java.lang.Object
org.exoplatform.task.service.impl.LabelServiceImpl
- All Implemented Interfaces:
LabelService
-
Constructor Summary
ConstructorsConstructorDescriptionLabelServiceImpl(LabelStorage labelStorage, DAOHandler daoHandler, ProjectStorage projectStorage, org.exoplatform.services.listener.ListenerService listenerService) -
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)
-
Constructor Details
-
LabelServiceImpl
public LabelServiceImpl(LabelStorage labelStorage, DAOHandler daoHandler, ProjectStorage projectStorage, org.exoplatform.services.listener.ListenerService listenerService)
-
-
Method Details
-
findLabelsByUser
- Specified by:
findLabelsByUserin interfaceLabelService
-
findLabelsByProject
public List<LabelDto> findLabelsByProject(long projectId, org.exoplatform.services.security.Identity currentUser, int offset, int limit) - Specified by:
findLabelsByProjectin interfaceLabelService
-
findLabelsByTask
public List<LabelDto> findLabelsByTask(TaskDto task, long projectId, org.exoplatform.services.security.Identity currentUser, int offset, int limit) - Specified by:
findLabelsByTaskin interfaceLabelService
-
getLabel
- Specified by:
getLabelin interfaceLabelService
-
createLabel
- Specified by:
createLabelin interfaceLabelService
-
updateLabel
public LabelDto updateLabel(LabelDto label, List<Label.FIELDS> fields) throws EntityNotFoundException - Specified by:
updateLabelin interfaceLabelService- Throws:
EntityNotFoundException
-
updateLabel
- Specified by:
updateLabelin interfaceLabelService- Throws:
EntityNotFoundException
-
removeLabel
public void removeLabel(long labelId) - Specified by:
removeLabelin interfaceLabelService
-
addTaskToLabel
- Specified by:
addTaskToLabelin interfaceLabelService- Throws:
EntityNotFoundException
-
removeTaskFromLabel
- Specified by:
removeTaskFromLabelin interfaceLabelService- Throws:
EntityNotFoundException
-