Package io.meeds.mcp.server.tool
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
-
Field Summary
Fields inherited from interface io.meeds.mcp.server.plugin.McpToolPlugin
DEFAULT_LIMIT, DEFAULT_OFFSET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContentToCategory(long categoryId, String contentType, String contentId) getCategoriesOfContent(String contentType, String contentId) voidremoveContentFromCategory(long categoryId, String contentType, String contentId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.meeds.mcp.server.plugin.McpToolPlugin
getCurrentUserAclIdentity, getCurrentUserLocale, getCurrentUserLocale, getCurrentUserName, getLocale
-
Constructor Details
-
CategoryMcpTool
public CategoryMcpTool()
-
-
Method Details
-
getCategoryTree
-
getCategoriesOfContent
-
removeContentFromCategory
public void removeContentFromCategory(long categoryId, String contentType, String contentId) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-
addContentToCategory
-