Class SoapBookmarkService
- java.lang.Object
-
- com.logicaldoc.webservice.AbstractService
-
- com.logicaldoc.webservice.soap.endpoint.SoapBookmarkService
-
- All Implemented Interfaces:
BookmarkService
- Direct Known Subclasses:
RestBookmarkService
public class SoapBookmarkService extends AbstractService implements BookmarkService
Bookmark Web Service Implementation- Since:
- 7.6.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SoapBookmarkService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSBookmark
bookmarkDocument(String sid, long docId)
WSBookmark
bookmarkFolder(String sid, long folderId)
void
deleteBookmark(String sid, long bookmarkId)
WSBookmark[]
getBookmarks(String sid)
Retrieves all the bookmarks of the current userWSBookmark
saveBookmark(String sid, WSBookmark bookmark)
void
unbookmarkDocument(String sid, long docId)
void
unbookmarkFolder(String sid, long folderId)
-
Methods inherited from class com.logicaldoc.webservice.AbstractService
convertDateToString, convertStringToDate, getContext, getMessageContext, isValidateSession, setContext, setMessageContext, setValidateSession
-
-
-
-
Method Detail
-
saveBookmark
public WSBookmark saveBookmark(String sid, WSBookmark bookmark) throws Exception
- Specified by:
saveBookmark
in interfaceBookmarkService
- Throws:
Exception
-
bookmarkDocument
public WSBookmark bookmarkDocument(String sid, long docId) throws Exception
- Specified by:
bookmarkDocument
in interfaceBookmarkService
- Throws:
Exception
-
bookmarkFolder
public WSBookmark bookmarkFolder(String sid, long folderId) throws Exception
- Specified by:
bookmarkFolder
in interfaceBookmarkService
- Throws:
Exception
-
getBookmarks
public WSBookmark[] getBookmarks(String sid) throws Exception
Description copied from interface:BookmarkService
Retrieves all the bookmarks of the current user- Specified by:
getBookmarks
in interfaceBookmarkService
- Parameters:
sid
- identifier of the session- Returns:
- array of bookmarks
- Throws:
Exception
- error in the server application
-
deleteBookmark
public void deleteBookmark(String sid, long bookmarkId) throws Exception
- Specified by:
deleteBookmark
in interfaceBookmarkService
- Throws:
Exception
-
unbookmarkDocument
public void unbookmarkDocument(String sid, long docId) throws Exception
- Specified by:
unbookmarkDocument
in interfaceBookmarkService
- Throws:
Exception
-
unbookmarkFolder
public void unbookmarkFolder(String sid, long folderId) throws Exception
- Specified by:
unbookmarkFolder
in interfaceBookmarkService
- Throws:
Exception
-
-