Class CategoryMcpTool

java.lang.Object
io.meeds.mcp.server.tool.CategoryMcpTool
All Implemented Interfaces:
io.meeds.mcp.server.plugin.McpToolPlugin

@Service public class CategoryMcpTool extends Object implements io.meeds.mcp.server.plugin.McpToolPlugin
  • Constructor Details

    • CategoryMcpTool

      public CategoryMcpTool()
  • Method Details

    • getCategoryTree

      public CategoryTreeModel getCategoryTree()
    • getCategoriesOfContent

      public List<CategoryModel> getCategoriesOfContent(String contentType, String contentId)
    • removeContentFromCategory

      public void removeContentFromCategory(long categoryId, String contentType, String contentId) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException
      Throws:
      IllegalAccessException
      org.exoplatform.commons.exception.ObjectNotFoundException
    • addContentToCategory

      public void addContentToCategory(long categoryId, String contentType, String contentId)