Class CommentOrLinkService
- java.lang.Object
-
- de.narimo.georepo.server.api.comments.CommentOrLinkService
-
public class CommentOrLinkService extends Object
-
-
Constructor Summary
Constructors Constructor Description CommentOrLinkService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptCommentOrWeblink(int layerId, int gfid, int commentId)intaddCommentOrWeblink(javax.servlet.ServletContext ctx, de.narimo.commons.dto.geometa.User user, String workspace, int layerId, int gfid, CommentOrWeblink commentOrWeblink, CommentOrLinkType commentOrLinkType)voiddeleteCommentOrWeblink(int layerId, int gfid, int commentOrWeblinkId)List<Weblink>getComments(de.narimo.commons.dto.geometa.User user, String workspace, int layerId, int gfid)List<Weblink>getDiffComments(de.narimo.commons.dto.geometa.User user, String workspace, int layerId)List<Weblink>getDiffWeblinks(de.narimo.commons.dto.geometa.User user, String workspace, int layerId)List<Weblink>getWeblinks(de.narimo.commons.dto.geometa.User user, String workspace, int layerId, int gfid)
-
-
-
Method Detail
-
getComments
public List<Weblink> getComments(de.narimo.commons.dto.geometa.User user, String workspace, int layerId, int gfid) throws SQLException
- Throws:
SQLException
-
getDiffComments
public List<Weblink> getDiffComments(de.narimo.commons.dto.geometa.User user, String workspace, int layerId) throws SQLException
- Throws:
SQLException
-
getWeblinks
public List<Weblink> getWeblinks(de.narimo.commons.dto.geometa.User user, String workspace, int layerId, int gfid) throws SQLException
- Throws:
SQLException
-
getDiffWeblinks
public List<Weblink> getDiffWeblinks(de.narimo.commons.dto.geometa.User user, String workspace, int layerId) throws SQLException
- Throws:
SQLException
-
addCommentOrWeblink
public int addCommentOrWeblink(javax.servlet.ServletContext ctx, de.narimo.commons.dto.geometa.User user, String workspace, int layerId, int gfid, CommentOrWeblink commentOrWeblink, CommentOrLinkType commentOrLinkType) throws SQLException- Throws:
SQLException
-
acceptCommentOrWeblink
public void acceptCommentOrWeblink(int layerId, int gfid, int commentId) throws IOException- Throws:
IOException
-
deleteCommentOrWeblink
public void deleteCommentOrWeblink(int layerId, int gfid, int commentOrWeblinkId)
-
-