1 16 package com.blandware.atleap.persistence.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.core.PageDAO; 22 import com.blandware.atleap.persistence.exception.DeleteException; 23 24 import java.util.Map ; 25 26 33 public interface TestimonialDAO extends PageDAO { 34 35 37 45 public Long createTestimonial(Testimonial testimonial, Map linkedObjects); 46 47 53 public Testimonial retrieveTestimonial(Long testimonialId); 54 55 61 public Testimonial retrieveTestimonialLite(Long testimonialId); 62 63 70 public void updateTestimonial(Testimonial testimonial, Map linkedObjects); 71 72 79 public void deleteTestimonial(Testimonial testimonial) throws DeleteException; 80 81 83 89 public PartialCollection listTestimonials(QueryInfo queryInfo); 90 91 92 97 public Testimonial getRandomTestimonial(); 98 99 101 107 public Testimonial findTestimonialByUri(String testimonialUri); 108 109 } 110 | Popular Tags |