Package org.cyclos.services.banking
Interface VoucherTemplateImageService
-
- All Superinterfaces:
BaseImageService<NewVoucherTemplateImageParams>,Service
- All Known Subinterfaces:
VoucherTemplateImageServiceLocal
public interface VoucherTemplateImageService extends BaseImageService<NewVoucherTemplateImageParams>
Service for manipulating voucher template images. The parameter for saving images is an object containing the template identifier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VoucherTemplateImageVOgetImageVO(@NotNull Long voucherTemplateId, String name)Returns the image VO for the image with the given data, or throws anEntityNotFoundExceptionif the given image doesn't existList<VoucherTemplateImageVO>list(@NotNull Long voucherTemplateId)Lists the given images for the given template-
Methods inherited from interface org.cyclos.services.system.BaseImageService
remove, removeAll, save, saveName
-
-
-
-
Method Detail
-
getImageVO
VoucherTemplateImageVO getImageVO(@NotNull @NotNull Long voucherTemplateId, 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<VoucherTemplateImageVO> list(@NotNull @NotNull Long voucherTemplateId) throws FrameworkException
Lists the given images for the given template- Throws:
FrameworkException
-
-