Handle deleted maps propertly.
This commit is contained in:
@@ -20,6 +20,7 @@ package com.wisemapping.dao;
|
||||
|
||||
import com.wisemapping.model.*;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
@@ -38,7 +39,7 @@ public interface MindmapManager {
|
||||
|
||||
List<Mindmap> getAllMindmaps();
|
||||
|
||||
@NotNull
|
||||
@Nullable
|
||||
Mindmap getMindmapById(int mindmapId);
|
||||
|
||||
Mindmap getMindmapByTitle(final String name, final User user);
|
||||
|
Reference in New Issue
Block a user