public class BookmarkImpl extends ClientImpl implements BaseBookmark, Serializable
| Constructor and Description |
|---|
BookmarkImpl(String host)
BookmarkImpl
|
| Modifier and Type | Method and Description |
|---|---|
void |
createBookmark(String uuid,
String name) |
void |
deleteBookmark(int bookmarkId) |
List<Bookmark> |
getUserBookmarks() |
void |
renameBookmark(int bookmarkId,
String name) |
void |
setAuthorizationToken(String authorizationToken)
setAuthenticationToken
|
getClient, getClient, resource, resourcepublic BookmarkImpl(String host)
public void setAuthorizationToken(String authorizationToken)
public List<Bookmark> getUserBookmarks() throws AccessDeniedException, RepositoryException, DatabaseException, PathNotFoundException, WebserviceException, UnknowException, PrincipalAdapterException
getUserBookmarks in interface BaseBookmarkAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionWebserviceExceptionUnknowExceptionPrincipalAdapterExceptionpublic void renameBookmark(int bookmarkId,
String name)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
PathNotFoundException,
WebserviceException,
UnknowException,
PrincipalAdapterException
renameBookmark in interface BaseBookmarkAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionWebserviceExceptionUnknowExceptionPrincipalAdapterExceptionpublic void deleteBookmark(int bookmarkId)
throws AccessDeniedException,
RepositoryException,
DatabaseException,
PathNotFoundException,
WebserviceException,
UnknowException,
PrincipalAdapterException
deleteBookmark in interface BaseBookmarkAccessDeniedExceptionRepositoryExceptionDatabaseExceptionPathNotFoundExceptionWebserviceExceptionUnknowExceptionPrincipalAdapterExceptionpublic void createBookmark(String uuid, String name) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, WebserviceException, UnknowException, ItemExistsException
createBookmark in interface BaseBookmarkLockExceptionPathNotFoundExceptionAccessDeniedExceptionRepositoryExceptionDatabaseExceptionWebserviceExceptionUnknowExceptionItemExistsExceptionCopyright © 2020 Open Knowledge Management System S.L.. All Rights Reserved.