1 16 package com.blandware.atleap.service.testimonials; 17 18 import com.blandware.atleap.common.util.PartialCollection; 19 import com.blandware.atleap.common.util.QueryInfo; 20 import com.blandware.atleap.model.testimonials.Testimonial; 21 import com.blandware.atleap.persistence.exception.DeleteException; 22 import com.blandware.atleap.service.core.PageManager; 23 import com.blandware.atleap.service.exception.BeanAlreadyExistsException; 24 import com.blandware.atleap.service.exception.BeanNotFoundException; 25 26 import java.util.Map ; 27 28 38 public interface TestimonialManager extends PageManager { 39 40 42 52 public Long createTestimonial(Testimonial testimonial, Map linkedObjects) throws BeanAlreadyExistsException; 53 54 60 public Testimonial retrieveTestimonial(Long testimonialId); 61 62 68 public Testimonial retrieveTestimonialLite(Long testimonialId); 69 70 79 public void updateTestimonial(Testimonial testimonial, Map linkedObjects) throws BeanAlreadyExistsException; 80 81 88 public void updateTestimonial(Testimonial testimonial) throws BeanAlreadyExistsException; 89 90 98 public void deleteTestimonial(Long testimonialId) throws DeleteException, BeanNotFoundException; 99 100 102 108 public PartialCollection listTestimonials(QueryInfo queryInfo); 109 110 115 public Testimonial getRandomTestimonial(); 116 117 } 118 | Popular Tags |