Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao In directory james.mmbase.org:/tmp/cvs-serv26484/portlets-newsletter/src/java/com/finalist/newsletter/cao
Modified Files: NewsletterSubscriptionCAO.java Log Message: CMSC-818 improve code,implement pause all. See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao See also: http://www.mmbase.org/jira/browse/CMSC-818 Index: NewsletterSubscriptionCAO.java =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/NewsletterSubscriptionCAO.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -b -r1.9 -r1.10 --- NewsletterSubscriptionCAO.java 29 Apr 2008 01:37:04 -0000 1.9 +++ NewsletterSubscriptionCAO.java 3 May 2008 14:40:59 -0000 1.10 @@ -7,6 +7,7 @@ import com.finalist.newsletter.domain.Subscription; import com.finalist.newsletter.domain.Term; +import com.finalist.newsletter.domain.Publication; public interface NewsletterSubscriptionCAO { @@ -27,4 +28,11 @@ public Subscription getSubscription(int newsletterId, int userId); Set<Term> getTerms(int id); + + public Subscription getSubscriptionById(int id); + public void createSubscription(int userId, int newsletterId); + + public void updateSubscription(Subscription subscription); + + public List<Subscription> getSubscriptionByUserIdAndStatus(int userId, Subscription.STATUS status); } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs