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 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)-
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 AuthenticationException, WebserviceException, PersistenceException, PermissionException
- Specified by:
saveBookmarkin interfaceBookmarkService- Throws:
AuthenticationExceptionWebserviceExceptionPersistenceExceptionPermissionException
-
bookmarkDocument
public WSBookmark bookmarkDocument(String sid, long docId) throws AuthenticationException, WebserviceException, PersistenceException, PermissionException
- Specified by:
bookmarkDocumentin interfaceBookmarkService- Throws:
AuthenticationExceptionWebserviceExceptionPersistenceExceptionPermissionException
-
bookmarkFolder
public WSBookmark bookmarkFolder(String sid, long folderId) throws AuthenticationException, PermissionException, WebserviceException, PersistenceException
- Specified by:
bookmarkFolderin interfaceBookmarkService- Throws:
AuthenticationExceptionPermissionExceptionWebserviceExceptionPersistenceException
-
getBookmarks
public WSBookmark[] getBookmarks(String sid) throws AuthenticationException, WebserviceException, PersistenceException
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:
AuthenticationException- Invalid sessionWebserviceException- Error in the webservicePersistenceException- Error in the database
-
deleteBookmark
public void deleteBookmark(String sid, long bookmarkId) throws AuthenticationException, WebserviceException, PersistenceException
- Specified by:
deleteBookmarkin interfaceBookmarkService- Throws:
AuthenticationExceptionWebserviceExceptionPersistenceException
-
unbookmarkDocument
public void unbookmarkDocument(String sid, long docId) throws AuthenticationException, WebserviceException, PersistenceException
- Specified by:
unbookmarkDocumentin interfaceBookmarkService- Throws:
AuthenticationExceptionWebserviceExceptionPersistenceException
-
unbookmarkFolder
public void unbookmarkFolder(String sid, long folderId) throws AuthenticationException, WebserviceException, PersistenceException
- Specified by:
unbookmarkFolderin interfaceBookmarkService- Throws:
AuthenticationExceptionWebserviceExceptionPersistenceException
-
-