|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.business.NewsLetterTemplateDAO
public final class NewsLetterTemplateDAO
This class provides Data Access methods for NewsLetter's templates objects
| Constructor Summary | |
|---|---|
NewsLetterTemplateDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nNewsLetterTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a record from the table |
void |
insert(NewsLetterTemplate newsletter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
NewsLetterTemplate |
load(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loads the data of the newsletter's template from the table |
fr.paris.lutece.util.ReferenceList |
selectTemplatesByRef(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of all templates |
List<NewsLetterTemplate> |
selectTemplatesCollectionByType(String strTopicType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a list of templates depending on the given type |
Collection<NewsLetterTemplate> |
selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of all templates |
fr.paris.lutece.util.ReferenceList |
selectTemplatesListByType(String strTopicType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of all templates |
Collection<NewsLetterTemplate> |
selectTemplatesListByWorkgoup(String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of temmplates associated with a given workgroup |
void |
store(NewsLetterTemplate newsLetterTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a given record in the table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewsLetterTemplateDAO()
| Method Detail |
|---|
public Collection<NewsLetterTemplate> selectTemplatesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesList in interface INewsLetterTemplateDAOplugin - The plugin
public fr.paris.lutece.util.ReferenceList selectTemplatesListByType(String strTopicType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesListByType in interface INewsLetterTemplateDAOstrTopicType - the topic type of templatesplugin - The plugin
public List<NewsLetterTemplate> selectTemplatesCollectionByType(String strTopicType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesCollectionByType in interface INewsLetterTemplateDAOstrTopicType - the topic type of templates to getplugin - The plugin
public void insert(NewsLetterTemplate newsletter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface INewsLetterTemplateDAOnewsletter - The Instance of the object NewsLetterTemplateplugin - the plugin
public NewsLetterTemplate load(int nTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface INewsLetterTemplateDAOnTemplateId - the template identifierplugin - the plugin
public void store(NewsLetterTemplate newsLetterTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface INewsLetterTemplateDAOnewsLetterTemplate - The Instance of the object NewsLetterTemplateplugin - the plugin
public void delete(int nNewsLetterTemplateId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface INewsLetterTemplateDAOnNewsLetterTemplateId - the template identifierplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectTemplatesByRef(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesByRef in interface INewsLetterTemplateDAOplugin - The plugin
public Collection<NewsLetterTemplate> selectTemplatesListByWorkgoup(String strWorkgroupKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTemplatesListByWorkgoup in interface INewsLetterTemplateDAOstrWorkgroupKey - The key of the workgroupplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||