From 306a2a2ada9c74ab02349a5dcaecfb6eafb00f49 Mon Sep 17 00:00:00 2001 From: Ezequiel Bergamaschi Date: Sun, 26 Jan 2014 18:21:01 -0300 Subject: [PATCH] retrieveList api for labels --- .../com/wisemapping/dao/LabelManager.java | 3 +++ .../com/wisemapping/dao/LabelManagerImpl.java | 9 +++++++ .../com/wisemapping/rest/LabelController.java | 12 ++++++++- .../com/wisemapping/rest/model/RestLabel.java | 13 ++++++++++ .../wisemapping/rest/model/RestLabelList.java | 26 +++++++++++++++++++ .../com/wisemapping/service/LabelService.java | 3 +++ .../wisemapping/service/LabelServiceImpl.java | 8 ++++++ 7 files changed, 73 insertions(+), 1 deletion(-) create mode 100644 wise-webapp/src/main/java/com/wisemapping/rest/model/RestLabelList.java diff --git a/wise-webapp/src/main/java/com/wisemapping/dao/LabelManager.java b/wise-webapp/src/main/java/com/wisemapping/dao/LabelManager.java index 017c7da1..778175ea 100644 --- a/wise-webapp/src/main/java/com/wisemapping/dao/LabelManager.java +++ b/wise-webapp/src/main/java/com/wisemapping/dao/LabelManager.java @@ -1,6 +1,7 @@ package com.wisemapping.dao; import com.wisemapping.model.Label; +import com.wisemapping.model.User; import org.jetbrains.annotations.NotNull; import java.util.List; @@ -11,4 +12,6 @@ public interface LabelManager { void saveLabel(@NotNull final Label label); + @NotNull + List