public class NewsletterBlogDAO extends Object implements INewsletterBlogDAO
| Constructor and Description |
|---|
NewsletterBlogDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
associateNewsLetterDocumentPortlet(int nTopicId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associate a new portlet to a newsletter topic
|
void |
associateNewsLetterDocumentTag(int nTopicId,
int nCategoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associate a new category to a newsletter topic
|
void |
createDocumentTopic(NewsletterBlog topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new newsletter blogs topic into the database
|
void |
deleteDocumentTopic(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a newsletter blogs topic from the database
|
void |
deleteNewsLetterDocumentPortlet(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the relationship between a topic and the list of portlets
|
void |
deleteNewsLetterDocumentTags(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the relationship between a topic and the list of blogs
|
NewsletterBlog |
findByPrimaryKey(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a newsletter blogs topic from its id
|
boolean |
findTemplate(int nIdNewsletterTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if a template is used by a topic
|
int[] |
selectNewsletterPortletsIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of blogs list portlets linked to the newsletter
|
int[] |
selectNewsletterTagIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of tags linked to the newsletter
|
void |
updateDocumentTopic(NewsletterBlog topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a newsletter blogs topic
|
public NewsletterBlog findByPrimaryKey(int nIdTopic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey in interface INewsletterBlogDAOnIdTopic - the id of the topic to getplugin - The pluginpublic void updateDocumentTopic(NewsletterBlog topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateDocumentTopic in interface INewsletterBlogDAOtopic - The topic to updateplugin - The pluginpublic void deleteDocumentTopic(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteDocumentTopic in interface INewsletterBlogDAOnIdTopic - The id of the newsletter blogs topic to removeplugin - The pluginpublic void createDocumentTopic(NewsletterBlog topic, fr.paris.lutece.portal.service.plugin.Plugin plugin)
createDocumentTopic in interface INewsletterBlogDAOtopic - The newsletter blogs topic to insertplugin - the pluginpublic void associateNewsLetterDocumentTag(int nTopicId,
int nCategoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
associateNewsLetterDocumentTag in interface INewsletterBlogDAOnTopicId - the topic idplugin - the newsletter blogs pluginpublic void deleteNewsLetterDocumentTags(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteNewsLetterDocumentTags in interface INewsletterBlogDAOnTopicId - the topic idplugin - the newsletter blogs pluginpublic int[] selectNewsletterTagIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNewsletterTagIds in interface INewsletterBlogDAOnTopicId - the topic idplugin - the newsletter blogs pluginpublic void associateNewsLetterDocumentPortlet(int nTopicId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
associateNewsLetterDocumentPortlet in interface INewsletterBlogDAOnTopicId - the topic idnPortletId - the portlet identifierplugin - the newsletter blogs pluginpublic void deleteNewsLetterDocumentPortlet(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteNewsLetterDocumentPortlet in interface INewsletterBlogDAOnTopicId - the topic idplugin - the newsletter blogs pluginpublic int[] selectNewsletterPortletsIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectNewsletterPortletsIds in interface INewsletterBlogDAOnTopicId - the topic idplugin - the newsletter blogs pluginpublic boolean findTemplate(int nIdNewsletterTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findTemplate in interface INewsletterBlogDAOnIdNewsletterTemplate - The id of the templateplugin - The newsletter pluginCopyright © 2018 City of Paris. All rights reserved.