Interface ThemeImageServiceLocal
-
- All Superinterfaces:
BaseImageService<NewThemeImageParams>,BaseImageServiceLocal<ThemeImage,NewThemeImageParams>,Service,ThemeImageService
- All Known Implementing Classes:
ThemeImageServiceImpl
public interface ThemeImageServiceLocal extends ThemeImageService, BaseImageServiceLocal<ThemeImage,NewThemeImageParams>
Local interface forThemeImageService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetImageUrl(Theme theme, ThemeImageType type, String name)Returns the URL for the given theme imagebyte[]readImageContent(Long themeId, ThemeImageType type, String name)Reads a theme image by type and nameThemeImagesaveImage(Theme theme, ThemeImageType type, String name, InputStream in, String contentType)Saves an image for the given theme, type and name for the given input, returning the image id-
Methods inherited from interface org.cyclos.services.system.BaseImageService
remove, removeAll, save, saveName
-
Methods inherited from interface org.cyclos.impl.system.BaseImageServiceLocal
find, getImageNature, readContent, readContentByKey
-
Methods inherited from interface org.cyclos.services.contentmanagement.ThemeImageService
getImageVO, list
-
-
-
-
Method Detail
-
getImageUrl
String getImageUrl(Theme theme, ThemeImageType type, String name)
Returns the URL for the given theme image
-
readImageContent
byte[] readImageContent(Long themeId, ThemeImageType type, String name)
Reads a theme image by type and name
-
saveImage
ThemeImage saveImage(Theme theme, ThemeImageType type, String name, InputStream in, String contentType)
Saves an image for the given theme, type and name for the given input, returning the image id
-
-