Class LabelStorageImpl
java.lang.Object
org.exoplatform.task.storage.impl.LabelStorageImpl
- All Implemented Interfaces:
LabelStorage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTaskToLabel(TaskDto task, Long labelId) createLabel(LabelDto label) findLabelsByProject(long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, int offset, int limit) findLabelsByTask(TaskDto task, long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, 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, List<LabelField> fields)
-
Constructor Details
-
LabelStorageImpl
-
-
Method Details
-
findLabelsByUser
- Specified by:
findLabelsByUserin interfaceLabelStorage
-
findLabelsByProject
public List<LabelDto> findLabelsByProject(long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, int offset, int limit) - Specified by:
findLabelsByProjectin interfaceLabelStorage
-
findLabelsByTask
public List<LabelDto> findLabelsByTask(TaskDto task, long projectId, org.exoplatform.services.security.Identity currentUser, ProjectStorage projectStorage, int offset, int limit) - Specified by:
findLabelsByTaskin interfaceLabelStorage
-
getLabel
- Specified by:
getLabelin interfaceLabelStorage
-
createLabel
- Specified by:
createLabelin interfaceLabelStorage
-
updateLabel
- Specified by:
updateLabelin interfaceLabelStorage- Throws:
EntityNotFoundException
-
removeLabel
public void removeLabel(long labelId) - Specified by:
removeLabelin interfaceLabelStorage
-
addTaskToLabel
- Specified by:
addTaskToLabelin interfaceLabelStorage- Throws:
EntityNotFoundException
-
removeTaskFromLabel
- Specified by:
removeTaskFromLabelin interfaceLabelStorage- Throws:
EntityNotFoundException
-