Class SoapBookmarkService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.webservice.soap.endpoint.SoapBookmarkService
- All Implemented Interfaces:
- BookmarkService
- Direct Known Subclasses:
- RestBookmarkService
Bookmark Web Service Implementation
- Since:
- 7.6.3
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
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) Methods inherited from class com.logicaldoc.webservice.AbstractServiceconvertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
- 
Constructor Details- 
SoapBookmarkServicepublic SoapBookmarkService()
 
- 
- 
Method Details- 
saveBookmarkpublic WSBookmark saveBookmark(String sid, WSBookmark bookmark) throws AuthenticationException, WebserviceException, PersistenceException, PermissionException, UnexistingResourceException - Specified by:
- saveBookmarkin interface- BookmarkService
- Throws:
- AuthenticationException
- WebserviceException
- PersistenceException
- PermissionException
- UnexistingResourceException
 
- 
bookmarkDocumentpublic WSBookmark bookmarkDocument(String sid, long docId) throws AuthenticationException, WebserviceException, PersistenceException, PermissionException, UnexistingResourceException - Specified by:
- bookmarkDocumentin interface- BookmarkService
- Throws:
- AuthenticationException
- WebserviceException
- PersistenceException
- PermissionException
- 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
 
 
-