Class SoapBookmarkClient
java.lang.Object
com.logicaldoc.webservice.soap.client.SoapClient<BookmarkService>
com.logicaldoc.webservice.soap.client.SoapBookmarkClient
- All Implemented Interfaces:
- BookmarkService
Bookmark Web Service client.
- Since:
- 7.6.3
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructorsConstructorDescriptionSoapBookmarkClient(String endpoint) SoapBookmarkClient(String endpoint, int gzipThreshold, boolean log, int timeout) 
- 
Method SummaryModifier and TypeMethodDescriptionbookmarkDocument(String sid, long docId) bookmarkFolder(String sid, long folderId) voiddeleteBookmark(String sid, long bookmarkId) getBookmarks(String sid) Retrieves all the bookmarks of the current usersaveBookmark(String sid, WSBookmark bookmark) voidunbookmarkDocument(String sid, long docId) voidunbookmarkFolder(String sid, long folderId) 
- 
Constructor Details- 
SoapBookmarkClient
- 
SoapBookmarkClient
 
- 
- 
Method Details- 
saveBookmarkpublic WSBookmark saveBookmark(String sid, WSBookmark bookmark) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException, UnexistingResourceException - Specified by:
- saveBookmarkin interface- BookmarkService
- Throws:
- AuthenticationException
- PermissionException
- WebserviceException
- PersistenceException
- UnexistingResourceException
 
- 
bookmarkDocumentpublic WSBookmark bookmarkDocument(String sid, long docId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException, UnexistingResourceException - Specified by:
- bookmarkDocumentin interface- BookmarkService
- Throws:
- AuthenticationException
- PermissionException
- WebserviceException
- PersistenceException
- UnexistingResourceException
 
- 
bookmarkFolderpublic WSBookmark bookmarkFolder(String sid, long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException - Specified by:
- bookmarkFolderin interface- BookmarkService
- Throws:
- AuthenticationException
- PermissionException
- WebserviceException
- PersistenceException
 
- 
getBookmarkspublic List<WSBookmark> getBookmarks(String sid) throws AuthenticationException, WebserviceException, PersistenceException Description copied from interface:BookmarkServiceRetrieves all the bookmarks of the current user- Specified by:
- getBookmarksin interface- BookmarkService
- Parameters:
- sid- identifier of the session or an API Key
- Returns:
- list of bookmarks
- Throws:
- AuthenticationException- Invalid session
- WebserviceException- Error in the webservice
- PersistenceException- Error in the database
 
- 
deleteBookmarkpublic void deleteBookmark(String sid, long bookmarkId) throws AuthenticationException, WebserviceException, PersistenceException - Specified by:
- deleteBookmarkin interface- BookmarkService
- Throws:
- AuthenticationException
- WebserviceException
- PersistenceException
 
- 
unbookmarkDocumentpublic void unbookmarkDocument(String sid, long docId) throws AuthenticationException, WebserviceException, PersistenceException - Specified by:
- unbookmarkDocumentin interface- BookmarkService
- Throws:
- AuthenticationException
- WebserviceException
- PersistenceException
 
- 
unbookmarkFolderpublic void unbookmarkFolder(String sid, long folderId) throws AuthenticationException, WebserviceException, PersistenceException - Specified by:
- unbookmarkFolderin interface- BookmarkService
- Throws:
- AuthenticationException
- WebserviceException
- PersistenceException
 
 
-