Update of /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl In directory james.mmbase.org:/tmp/cvs-serv31309/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl
Modified Files: NewsletterPublicationCAOImpl.java Log Message: CMSC-743,Newsletter: possibility to send a test email See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl See also: http://www.mmbase.org/jira/browse/CMSC-743 Index: NewsletterPublicationCAOImpl.java =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Portlets/portlets-newsletter/src/java/com/finalist/newsletter/cao/impl/NewsletterPublicationCAOImpl.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -b -r1.2 -r1.3 --- NewsletterPublicationCAOImpl.java 11 Apr 2008 07:11:25 -0000 1.2 +++ NewsletterPublicationCAOImpl.java 16 Apr 2008 03:55:11 -0000 1.3 @@ -58,4 +58,9 @@ return pubs; } + + public Publication getPublication(int number) { + Node newsletterPublicationNode = cloud.getNode(number); + return convert(newsletterPublicationNode); + } } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs