Uses of Record Class
io.meeds.mcp.server.tool.util.UploadToolUtils.ImageSource
Packages that use UploadToolUtils.ImageSource
-
Uses of UploadToolUtils.ImageSource in io.meeds.mcp.server.tool.util
Methods in io.meeds.mcp.server.tool.util with parameters of type UploadToolUtils.ImageSourceModifier and TypeMethodDescriptionUploadToolUtils.resolveImage(org.exoplatform.social.attachment.AttachmentService attachmentService, org.exoplatform.commons.file.services.FileService fileService, org.exoplatform.services.security.Identity aclIdentity, UploadToolUtils.ImageSource source, long maxBytes) Deprecated.UploadToolUtils.resolveImage(org.exoplatform.social.attachment.AttachmentService attachmentService, org.exoplatform.commons.file.services.FileService fileService, org.exoplatform.upload.UploadService uploadService, org.exoplatform.services.security.Identity aclIdentity, UploadToolUtils.ImageSource source, long maxBytes) Resolves an image from exactly one of four mutually exclusive sources into its raw bytes: an http(s) URL, a base64 string, an ACL-checked reference to a file already attached to a platform object (attachment_object_type+attachment_object_id), or the upload id of a file the user sent through an upload link (upload_id).
UploadToolUtils.resolveImage(AttachmentService, FileService, UploadService, Identity, ImageSource, long), which also takes an upload id and bounds and checks an attachment like the other sources; since 7.3.0, not for removal while an add-on reads a non-image attachment through this one