remove classes of relationship

This commit is contained in:
Ezequiel Bergamaschi
2014-02-05 02:10:12 -03:00
committed by Ezequiel Bergamaschi
parent f3cc90d9d0
commit d089b471fc
11 changed files with 0 additions and 204 deletions

View File

@@ -1,15 +0,0 @@
package com.wisemapping.service;
import com.wisemapping.exceptions.WiseMappingException;
import com.wisemapping.model.Label;
import com.wisemapping.model.LabelMindmap;
import com.wisemapping.model.Mindmap;
import org.jetbrains.annotations.NotNull;
public interface LabelMindmapService {
void removeLabelFromMindmap(@NotNull final LabelMindmap labelMindmap) throws WiseMappingException;
LabelMindmap getLabelMindmap(int labelId, int mindmapId);
}

View File

@@ -1,25 +0,0 @@
package com.wisemapping.service;
import com.wisemapping.dao.LabelMindmapManager;
import com.wisemapping.exceptions.WiseMappingException;
import com.wisemapping.model.LabelMindmap;
import org.jetbrains.annotations.NotNull;
public class LabelMindmapServiceImpl implements LabelMindmapService {
private LabelMindmapManager labelMindmapManager;
public void setLabelMindmapManager(LabelMindmapManager labelMindmapManager) {
this.labelMindmapManager = labelMindmapManager;
}
@Override
public void removeLabelFromMindmap(@NotNull LabelMindmap labelMindmap) throws WiseMappingException {
this.labelMindmapManager.removeLabelMindmap(labelMindmap);
}
@Override
public LabelMindmap getLabelMindmap(int labelId, int mindmapId) {
return this.labelMindmapManager.getLabelMindmap(labelId, mindmapId);
}
}