Package org.cyclos.impl.banking
Interface VoucherTemplateImageServiceLocal
-
- All Superinterfaces:
BaseImageService<NewVoucherTemplateImageParams>,BaseImageServiceLocal<VoucherTemplateImage,NewVoucherTemplateImageParams>,Service,VoucherTemplateImageService
public interface VoucherTemplateImageServiceLocal extends VoucherTemplateImageService, BaseImageServiceLocal<VoucherTemplateImage,NewVoucherTemplateImageParams>
Local interface forVoucherTemplateImageService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetImageUrl(VoucherTemplate voucherTemplate, String name)Returns the URL for the given voucher template imagebyte[]readImageContent(Long voucherTemplateId, String name)Reads a voucher template image by nameVoucherTemplateImagesaveImage(VoucherTemplate voucherTemplate, String name, InputStream in, String contentType)Saves an image for the given template 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.banking.VoucherTemplateImageService
getImageVO, list
-
-
-
-
Method Detail
-
getImageUrl
String getImageUrl(VoucherTemplate voucherTemplate, String name)
Returns the URL for the given voucher template image
-
readImageContent
byte[] readImageContent(Long voucherTemplateId, String name)
Reads a voucher template image by name
-
saveImage
VoucherTemplateImage saveImage(VoucherTemplate voucherTemplate, String name, InputStream in, String contentType)
Saves an image for the given template and name for the given input, returning the image id
-
-