NP - The parameter used to identify saving new imagespublic interface BaseImageService<NP> extends Service
| Modifier and Type | Method and Description |
|---|---|
void |
remove(@NotNull java.lang.Long id)
Removes the given image
|
void |
removeAll(@NotNull java.util.Collection<java.lang.Long> ids)
Removes all the given image
|
ImageVO |
save(NP param,
java.lang.String name,
SerializableInputStream contents,
java.lang.String contentType)
Saves the given image for the given parameter (which depends on each image type), returning the descriptor
|
void |
saveName(@NotNull java.lang.Long id,
java.lang.String name)
Saves the name of the given image
|
void remove(@NotNull
@NotNull java.lang.Long id)
throws FrameworkException
FrameworkExceptionvoid removeAll(@NotNull
@NotNull java.util.Collection<java.lang.Long> ids)
throws FrameworkException
FrameworkExceptionImageVO save(NP param, java.lang.String name, SerializableInputStream contents, java.lang.String contentType) throws FrameworkException
FrameworkExceptionvoid saveName(@NotNull
@NotNull java.lang.Long id,
java.lang.String name)
throws FrameworkException
FrameworkException