@Override public Image save(Image image) { try { return imageDao.save(image); } catch (DaoException e) { logger.error("Dao layer messed up"); } return image; }
@Override public List<Image> getAll() { return imageDao.getAll(); }
@Transactional(readOnly = true) @Override public List<Image> searchImages(ImageSearchRequest searchRequest) { return imageDao.searchImages(searchRequest); }
@Override public void delete(Image image) { imageDao.delete(image); }
@Transactional(readOnly = true) @Override public Image get(Long id) { return imageDao.get(id); }