Interface ThemeImageService
-
- All Superinterfaces:
BaseImageService<NewThemeImageParams>,Service
- All Known Subinterfaces:
ThemeImageServiceLocal
public interface ThemeImageService extends BaseImageService<NewThemeImageParams>
Service for manipulating theme images. The parameter for saving images is an object containing the theme identifier and the image type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThemeImageVOgetImageVO(@NotNull Long themeId, ThemeImageType type, String name)Returns the image VO for the image with the given data, or throws anEntityNotFoundExceptionif the given image doesn't existList<ThemeImageVO>list(@NotNull Long themeId, Set<ThemeImageType> types)Lists the given theme's images of the given types-
Methods inherited from interface org.cyclos.services.system.BaseImageService
remove, removeAll, save, saveName
-
-
-
-
Method Detail
-
getImageVO
ThemeImageVO getImageVO(@NotNull @NotNull Long themeId, ThemeImageType type, String name) throws FrameworkException
Returns the image VO for the image with the given data, or throws anEntityNotFoundExceptionif the given image doesn't exist- Throws:
FrameworkException
-
list
List<ThemeImageVO> list(@NotNull @NotNull Long themeId, Set<ThemeImageType> types) throws FrameworkException
Lists the given theme's images of the given types- Throws:
FrameworkException
-
-