Class SoapBookmarkClient
- java.lang.Object
-
- com.logicaldoc.webservice.soap.client.SoapClient<BookmarkService>
-
- com.logicaldoc.webservice.soap.client.SoapBookmarkClient
-
- All Implemented Interfaces:
BookmarkService
public class SoapBookmarkClient extends SoapClient<BookmarkService> implements BookmarkService
Bookmark Web Service client.- Since:
- 7.6.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SoapBookmarkClient(String endpoint)SoapBookmarkClient(String endpoint, int gzipThreshold, boolean log, int timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WSBookmarkbookmarkDocument(String sid, long docId)WSBookmarkbookmarkFolder(String sid, long folderId)voiddeleteBookmark(String sid, long bookmarkId)WSBookmark[]getBookmarks(String sid)Retrieves all the bookmarks of the current userWSBookmarksaveBookmark(String sid, WSBookmark bookmark)voidunbookmarkDocument(String sid, long docId)voidunbookmarkFolder(String sid, long folderId)
-
-
-
Constructor Detail
-
SoapBookmarkClient
public SoapBookmarkClient(String endpoint, int gzipThreshold, boolean log, int timeout) throws IOException
- Throws:
IOException
-
SoapBookmarkClient
public SoapBookmarkClient(String endpoint) throws IOException
- Throws:
IOException
-
-
Method Detail
-
saveBookmark
public WSBookmark saveBookmark(String sid, WSBookmark bookmark) throws Exception
- Specified by:
saveBookmarkin interfaceBookmarkService- Throws:
Exception
-
bookmarkDocument
public WSBookmark bookmarkDocument(String sid, long docId) throws Exception
- Specified by:
bookmarkDocumentin interfaceBookmarkService- Throws:
Exception
-
bookmarkFolder
public WSBookmark bookmarkFolder(String sid, long folderId) throws Exception
- Specified by:
bookmarkFolderin interfaceBookmarkService- Throws:
Exception
-
getBookmarks
public WSBookmark[] getBookmarks(String sid) throws Exception
Description copied from interface:BookmarkServiceRetrieves all the bookmarks of the current user- Specified by:
getBookmarksin 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:
deleteBookmarkin interfaceBookmarkService- Throws:
Exception
-
unbookmarkDocument
public void unbookmarkDocument(String sid, long docId) throws Exception
- Specified by:
unbookmarkDocumentin interfaceBookmarkService- Throws:
Exception
-
unbookmarkFolder
public void unbookmarkFolder(String sid, long folderId) throws Exception
- Specified by:
unbookmarkFolderin interfaceBookmarkService- Throws:
Exception
-
-