public interface UploadManager
| Modifier and Type | Method and Description |
|---|---|
Upload |
getUpload(UserIdentity user,
String id)
Retrieves a previous file uploaded by an user.
|
Upload |
storeUpload(UserIdentity user,
String filename,
InputStream is)
Stores a file uploaded by an user.
|
Upload storeUpload(UserIdentity user, String filename, InputStream is) throws IOException
user - the user.filename - the upload filename.is - the upload data.IOException - if an error occurs.Upload getUpload(UserIdentity user, String id) throws NoSuchElementException
user - the user.id - the upload id.NoSuchElementException - if there is no upload
for this parameters.