public interface BaseNote
Modifier and Type | Method and Description |
---|---|
Note |
addNote(String uuid,
String text)
Add a note to a node
|
void |
deleteNote(String noteId)
Remove a note from a node
|
Note |
getNote(String nodeId)
Get note from node
|
List<NoteHistory> |
getNotesHistory(String uuid)
Retrieve a list of notes history from a node
|
List<Note> |
listNotes(String uuid)
Retrieve a list of notes from a node.
|
void |
setNote(String noteId,
String text)
Set a new text to node note.
|
Note addNote(String uuid, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- Node uuidtext
- The message textLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionNote getNote(String nodeId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
nodeId
- Node uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid deleteNote(String noteId) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
noteId
- Node uuidLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionvoid setNote(String noteId, String text) throws LockException, PathNotFoundException, AccessDeniedException, RepositoryException, DatabaseException, UnknownException, WebserviceException
noteId
- Node uuidtext
- The message textLockException
- the lock exceptionPathNotFoundException
- the path not found exceptionAccessDeniedException
- the access denied exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<Note> listNotes(String uuid) throws PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- Node uuidPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionList<NoteHistory> getNotesHistory(String uuid) throws PathNotFoundException, RepositoryException, DatabaseException, UnknownException, WebserviceException
uuid
- Node uuidPathNotFoundException
- the path not found exceptionRepositoryException
- the repository exceptionDatabaseException
- the database exceptionUnknownException
- the unknown exceptionWebserviceException
- the webservice exceptionCopyright © 2021 Open Knowledge Management System S.L.. All Rights Reserved.