|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface INewsletterDocumentDAO
Interface for NewsletterDocumentDAO
| Method Summary | |
|---|---|
void |
associateNewsLetterDocumentCategory(int nTopicId,
int nDocumentCategoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associate a new category to a newsletter topic |
void |
associateNewsLetterDocumentPortlet(int nTopicId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associate a new portlet to a newsletter topic |
void |
createDocumentTopic(NewsletterDocument topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new newsletter document topic into the database |
void |
deleteDocumentTopic(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a newsletter document topic from the database |
void |
deleteNewsLetterDocumentCategories(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the relationship between a topic and the list of documents |
void |
deleteNewsLetterDocumentPortlet(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the relationship between a topic and the list of portlets |
NewsletterDocument |
findByPrimaryKey(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get a newsletter document 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 |
List<Integer> |
getPublishedDocumentsIdsListByPortletIds(int[] nPortletsIds,
Date datePublishing,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of id of published documents associated with a given collection of portlets. |
fr.paris.lutece.util.ReferenceList |
selectDocumentListPortlets()
Returns the list of the portlets which are document portlets |
Collection<fr.paris.lutece.plugins.document.business.Document> |
selectDocumentsByDateAndCategory(int nCategoryId,
Timestamp dateLastSending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select the list of documents published since the last sending of the newsletter |
int[] |
selectNewsletterCategoryIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of categories linked to the newsletter |
int[] |
selectNewsletterPortletsIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the list of document list portlets linked to the newsletter |
void |
updateDocumentTopic(NewsletterDocument topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a newsletter document topic |
| Method Detail |
|---|
NewsletterDocument findByPrimaryKey(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTopic - the id of the topic to getplugin - The plugin
void updateDocumentTopic(NewsletterDocument topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
topic - The topic to updateplugin - The plugin
void deleteDocumentTopic(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdTopic - The id of the newsletter document topic to removeplugin - The plugin
void createDocumentTopic(NewsletterDocument topic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
topic - The newsletter document topic to insertplugin - the plugin
Collection<fr.paris.lutece.plugins.document.business.Document> selectDocumentsByDateAndCategory(int nCategoryId,
Timestamp dateLastSending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nCategoryId - The id of the categorydateLastSending - the date of the last newsletter sendingplugin - the document Plugin
fr.paris.lutece.util.ReferenceList selectDocumentListPortlets()
void associateNewsLetterDocumentCategory(int nTopicId,
int nDocumentCategoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - the topic idnDocumentCategoryId - the document category identifierplugin - the newsletter document plugin
void deleteNewsLetterDocumentCategories(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - the topic idplugin - the newsletter document plugin
int[] selectNewsletterCategoryIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - the topic idplugin - the newsletter document plugin
void associateNewsLetterDocumentPortlet(int nTopicId,
int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - the topic idnPortletId - the portlet identifierplugin - the newsletter document plugin
void deleteNewsLetterDocumentPortlet(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - the topic idplugin - the newsletter document plugin
int[] selectNewsletterPortletsIds(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - the topic idplugin - the newsletter document plugin
List<Integer> getPublishedDocumentsIdsListByPortletIds(int[] nPortletsIds,
Date datePublishing,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nPortletsIds - The list of portlet ids.datePublishing - TODOplugin - The document plugin
boolean findTemplate(int nIdNewsletterTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdNewsletterTemplate - The id of the templateplugin - The newsletter plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||