public interface RawFileService extends Service
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RawFileVO> |
listTemp(java.lang.String guestKey)
Lists the temporary files owned by the current user or guest.
|
RawFileVO |
load(java.lang.Long id)
Loads a vo by id
|
SerializableInputStream |
readContent(java.lang.Long id)
Reads the contents of the given file
|
void |
remove(java.lang.Long id)
Removes the given file
|
void |
removeAll(java.util.List<java.lang.Long> ids)
Removes the files with the given ids
|
void |
saveName(java.lang.Long id,
java.lang.String name)
Saves the name of the given file
|
RawFileVO |
saveTemp(java.lang.String guestKey,
java.lang.String name,
java.lang.String contentType,
SerializableInputStream content)
Saves the given file content
|
java.util.List<RawFileVO> listTemp(java.lang.String guestKey) throws FrameworkException
FrameworkExceptionRawFileVO load(@NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionSerializableInputStream readContent(@NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionvoid remove(@NotNull
java.lang.Long id)
throws FrameworkException
FrameworkExceptionvoid removeAll(@NotNull
java.util.List<java.lang.Long> ids)
throws FrameworkException
FrameworkExceptionvoid saveName(@NotNull
java.lang.Long id,
java.lang.String name)
throws FrameworkException
FrameworkExceptionRawFileVO saveTemp(java.lang.String guestKey, java.lang.String name, java.lang.String contentType, SerializableInputStream content) throws FrameworkException
FrameworkException