Package com.logicaldoc.webservice.rest
Interface BookmarkService
-
- All Known Implementing Classes:
RestBookmarkService
,RestBookmarkSwagger
@Consumes({"application/xml","application/json"}) @Produces("application/json") public interface BookmarkService
Bookmark Web Service definition interface for REST Marco Meschieri - LogicalDOC- Since:
- 7.6.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WSBookmark
bookmarkDocument(long docId)
WSBookmark
bookmarkFolder(long folderId)
void
deleteBookmark(long bookmarkId)
WSBookmark[]
getBookmarks()
WSBookmark
saveBookmark(WSBookmark bookmark)
void
unbookmarkDocument(long docId)
void
unbookmarkFolder(long folderId)
-
-
-
Method Detail
-
saveBookmark
@POST @Path("/saveBookmark") WSBookmark saveBookmark(WSBookmark bookmark) throws Exception
- Throws:
Exception
-
bookmarkDocument
@GET @Path("/bookmarkDocument") WSBookmark bookmarkDocument(@QueryParam("docId") long docId) throws Exception
- Throws:
Exception
-
bookmarkFolder
@GET @Path("/bookmarkFolder") WSBookmark bookmarkFolder(@QueryParam("folderId") long folderId) throws Exception
- Throws:
Exception
-
getBookmarks
@GET @Path("/getBookmarks") WSBookmark[] getBookmarks() throws Exception
- Throws:
Exception
-
deleteBookmark
@DELETE @Path("/deleteBookmark") void deleteBookmark(@QueryParam("bookmarkId") long bookmarkId) throws Exception
- Throws:
Exception
-
unbookmarkDocument
@DELETE @Path("/unbookmarkDocument") void unbookmarkDocument(@QueryParam("docId") long docId) throws Exception
- Throws:
Exception
-
-