Uses of Class
org.exoplatform.upload.UploadResource
Packages that use UploadResource
-
Uses of UploadResource in org.exoplatform.upload
Methods in org.exoplatform.upload that return UploadResourceModifier and TypeMethodDescriptionUploadService.createUploadResourceWithToken(String token, String uploadId, jakarta.servlet.http.HttpServletRequest request) Registers the file of a multipart request authorized by a one-time upload token instead of a user session.UploadService.getUploadResource(String uploadId) Get UploadResource by uploadId.UploadService.getUploadResource(String uploadId, String username) Returns the resource registered under the upload id only when the given user owns it.Methods in org.exoplatform.upload with parameters of type UploadResourceModifier and TypeMethodDescriptionvoidUploadService.createUploadResource(UploadResource uploadResource) Registers a resource built server side, as given: noUploadFileValidatorruns, and the resource's owner is whatever the caller set on it (UploadResource.setOwner(String)).UploadService.getLimitForResource(UploadResource upResource) Returns the limit that applies to the resource's upload: its own limit when one was set, else the service's default.booleanUploadService.isLimited(UploadResource upResource, double contentLength) Tells whether a request of the given length exceeds the limit of the resource's upload: its own limit when one was set, else the service's default; a limit of 0 means unlimited.