Uses of Class
org.exoplatform.documents.mcp.model.DocumentModel
Packages that use DocumentModel
-
Uses of DocumentModel in org.exoplatform.documents.mcp
Methods in org.exoplatform.documents.mcp that return DocumentModelModifier and TypeMethodDescriptionDocumentMcpTool.addDocumentVersion(String documentId, String content, String base64, String url, String attachmentObjectType, String attachmentObjectId, String versionSummary) Uploads updated content onto an EXISTING file, creating a NEW version of it (the previous content stays retrievable via list_document_versions / restore_document_version).DocumentMcpTool.copyDocument(String documentId, String destinationFolderId) DocumentMcpTool.createDocument(String parentFolderId, String name, String content) Creates a text-based document (markdown, HTML, plain text, CSV, JSON…) from a chat-authoredcontentstring.DocumentMcpTool.createDocumentFromTemplate(String parentFolderId, String name, String documentType) Creates a NEW EMPTY office document (Word/Excel/PowerPoint, or ODF) from the platform's blank template, by delegating to the ecmsDocumentService.DocumentMcpTool.createFolder(String parentFolderId, String name) DocumentMcpTool.duplicateDocument(String documentId, String prefix) DocumentMcpTool.getDocumentById(String documentId) DocumentMcpTool.uploadDocument(String parentFolderId, String name, String base64, String url, String attachmentObjectType, String attachmentObjectId) Uploads a real / binary document (PDF, image, office file…) from exactly one of three sources: a file/image the user attached in the chat conversation (resolved server-side as the current user viaattachment_object_type/attachment_object_id), a base64 payload, or an http(s) URL (fetched server-side behind an SSRF guard).Methods in org.exoplatform.documents.mcp that return types with arguments of type DocumentModelModifier and TypeMethodDescriptionDocumentMcpTool.getDocumentsByFolderId(String folderId, Boolean filesOnly, Boolean foldersOnly, Integer offset, Integer limit) DocumentMcpTool.listFolderChildren(String folderId, Integer offset, Integer limit) -
Uses of DocumentModel in org.exoplatform.documents.mcp.model
Subclasses of DocumentModel in org.exoplatform.documents.mcp.model