| Modifier and Type | Method and Description |
|---|---|
java.util.List<RawFileVO> |
listTemp(java.lang.String guestKey,
CustomFieldVO customField)
Lists the temporary files owned by the current user or guest.
|
RawFileVO |
load(@NotNull java.lang.Long id)
Loads a vo by id
|
SerializableInputStream |
readContent(@NotNull java.lang.Long id)
Reads the contents of the given file
|
void |
remove(@NotNull java.lang.Long id)
Removes the given file
|
void |
removeAll(@NotNull java.util.List<java.lang.Long> ids)
Removes the files with the given ids
|
void |
saveName(@NotNull java.lang.Long id,
java.lang.String name)
Saves the name of the given file
|
RawFileVO |
saveTemp(java.lang.String guestKey,
CustomFieldVO customFieldVO,
java.lang.String name,
java.lang.String contentType,
SerializableInputStream content)
Saves the given file content.
|
java.util.List<RawFileVO> listTemp(java.lang.String guestKey, CustomFieldVO customField) throws FrameworkException
FrameworkExceptionRawFileVO load(@NotNull @NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionSerializableInputStream readContent(@NotNull @NotNull java.lang.Long id) throws FrameworkException
FrameworkExceptionvoid remove(@NotNull
@NotNull java.lang.Long id)
throws FrameworkException
FrameworkExceptionvoid removeAll(@NotNull
@NotNull java.util.List<java.lang.Long> ids)
throws FrameworkException
FrameworkExceptionvoid saveName(@NotNull
@NotNull java.lang.Long id,
java.lang.String name)
throws FrameworkException
FrameworkExceptionRawFileVO saveTemp(java.lang.String guestKey, CustomFieldVO customFieldVO, java.lang.String name, java.lang.String contentType, SerializableInputStream content) throws FrameworkException
CustomFieldType.FILE custom field then it must be specified
through the customFieldVO parameter and it must contains also the nature to allow load the correct
custom field sub-class.FrameworkException