|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileManager
Handle persistent files
Method Summary | |
---|---|
PersistentFile |
find(java.lang.Integer id)
|
PersistentFile |
merge(FileParameter fileParameter)
Stores a file in the database and return the persistent instance |
PersistentFile |
merge(PersistentFile file)
Stores a file in the database and return the persistent instance |
PersistentFile |
remove(java.lang.Integer id)
Removes a persistent file from the database |
Method Detail |
---|
PersistentFile merge(FileParameter fileParameter)
fileParameter
- the uploaded parameter file
PersistentFile merge(PersistentFile file)
file
- the modified file to store
PersistentFile find(java.lang.Integer id)
id
- the persistent file id
EntityNotFoundException
- if there is no persistent file with the provided id.PersistentFile remove(java.lang.Integer id)
id
- the file id to remove
EntityNotFoundException
- if there is no persistent file with the provided id.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |