get label by id with user and validate label exists on link to mindmap

This commit is contained in:
Ezequiel Bergamaschi
2014-02-11 02:04:09 -03:00
parent c7674825a6
commit e9ca68732e
6 changed files with 29 additions and 14 deletions

View File

@@ -17,7 +17,7 @@ public interface LabelManager {
List<Label> getAllLabels(@NotNull final User user);
@Nullable
Label getLabelById(int id);
Label getLabelById(int id, @NotNull final User user);
@Nullable
Label getLabelByTitle(@NotNull final String title, @NotNull final User user);