ui: bookmarks
can now bookmark tokens
This commit is contained in:
@@ -21,9 +21,13 @@ public:
|
||||
virtual Id getIdForNodeWithNameHierarchy(const NameHierarchy& nameHierarchy) const;
|
||||
virtual Id getIdForEdge(
|
||||
Edge::EdgeType type, const NameHierarchy& fromNameHierarchy, const NameHierarchy& toNameHierarchy) const;
|
||||
virtual StorageEdge getEdgeById(Id edgeId) const;
|
||||
|
||||
virtual bool checkEdgeExists(Id edgeId) const;
|
||||
|
||||
virtual NameHierarchy getNameHierarchyForNodeWithId(Id id) const;
|
||||
virtual Node::NodeType getNodeTypeForNodeWithId(Id id) const;
|
||||
virtual bool checkNodeExistsByName(const std::string& serializedName) const;
|
||||
|
||||
virtual std::shared_ptr<TokenLocationCollection> getFullTextSearchLocations(
|
||||
const std::string& searchTerm, bool caseSensitive) const;
|
||||
@@ -66,6 +70,26 @@ public:
|
||||
|
||||
virtual std::shared_ptr<TokenLocationCollection> getErrorTokenLocations(std::vector<ErrorInfo>* errors) const;
|
||||
|
||||
virtual Id addNodeBookmark(const NodeBookmark& bookmark);
|
||||
virtual Id addEdgeBookmark(const EdgeBookmark& bookmark);
|
||||
virtual Id addBookmarkCategory(const BookmarkCategory& category);
|
||||
|
||||
virtual std::vector<NodeBookmark> getAllNodeBookmarks() const;
|
||||
virtual NodeBookmark getNodeBookmarkById(const Id bookmarkId) const;
|
||||
virtual bool checkNodeBookmarkExistsByTokens(const std::vector<std::string>& tokenNames) const;
|
||||
virtual void removeNodeBookmark(Id id);
|
||||
virtual void editNodeBookmark(const NodeBookmark& bookmark);
|
||||
|
||||
virtual std::vector<EdgeBookmark> getAllEdgeBookmarks() const;
|
||||
virtual EdgeBookmark getEdgeBookmarkById(const Id bookmarkId) const;
|
||||
virtual bool checkEdgeBookmarkExistsByTokens(const std::vector<std::string>& tokenNames) const;
|
||||
virtual void removeEdgeBookmark(Id id);
|
||||
virtual void editEdgeBookmark(const EdgeBookmark& bookmark);
|
||||
|
||||
virtual virtual std::vector<BookmarkCategory> getAllBookmarkCategories() const;
|
||||
virtual bool checkBookmarkCategoryExists(const std::string& name) const;
|
||||
virtual void removeBookmarkCategory(Id id);
|
||||
|
||||
protected:
|
||||
virtual void setErrorFilter(const ErrorFilter& filter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user