Package ch.tocco.nice2.web.core.api
Interface UploadService
- All Known Implementing Classes:
UploadServiceImpl
public interface UploadService
-
Method Summary
Modifier and TypeMethodDescriptiongetBinaryByUploadUuid(UUID uuid) Same asgetUpload(java.lang.String)but instead of passing a uri the uuid of the upload will be passed.Returns anUploadcontaining the uploaded file.
-
Method Details
-
getUpload
Returns anUploadcontaining the uploaded file.- Parameters:
id- The id of the upload (which has probably been returned by the UploadServlet).- Returns:
- an
Upload. - Throws:
UploadServiceException- if something goes wrong.
-
getBinaryByUploadUuid
Same asgetUpload(java.lang.String)but instead of passing a uri the uuid of the upload will be passed.- Parameters:
uuid- The uuid of theTemp_uploadentity- Returns:
- an
Binaryrepresenting the requested file. - Throws:
UploadServiceException- if the file can't be found.
-