|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGreetingsCardArchiveDAO
Method Summary | |
---|---|
GreetingsCardArchive |
findById(int nIdArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a greetings card archive from the database |
java.util.Collection<GreetingsCardArchive> |
findByTemplateIdAndYear(int nIdGreetingsCardTemplate,
int nYear,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of greetings cards archives of a greetings card template |
java.util.Collection<GreetingsCardArchive> |
findByYear(int year,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of greetings cards archives of a given year |
java.util.Collection<java.lang.Integer> |
getYearList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of every year archived |
void |
insert(GreetingsCardArchive greetingsCardArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates a greetings card in the database |
void |
remove(int nIdArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a greetings card archive |
void |
removeAllArchives(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove every archive from the database |
void |
removeByIdTemplate(int nGreetingsCardTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove every archive associated to a greetings card template |
void |
update(GreetingsCardArchive greetingsCardArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a greetings card archive |
Method Detail |
---|
void insert(GreetingsCardArchive greetingsCardArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardArchive
- GreetingsCardarchive to inserplugin
- The pluginGreetingsCardArchive findById(int nIdArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchive
- Id of the archive to loadplugin
- The plugin
java.util.Collection<GreetingsCardArchive> findByTemplateIdAndYear(int nIdGreetingsCardTemplate, int nYear, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdGreetingsCardTemplate
- The greetings card template identifiernYear
- Year of the archives. If the year is 0, then it is ignoredplugin
- The plugin
java.util.Collection<GreetingsCardArchive> findByYear(int year, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByYear
- The yearplugin
- The plugin
void update(GreetingsCardArchive greetingsCardArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardArchive
- Greetings card archive to updateplugin
- The pluginvoid remove(int nIdArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchive
- Id of the archive to removeplugin
- The pluginvoid removeAllArchives(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginvoid removeByIdTemplate(int nGreetingsCardTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nGreetingsCardTemplate
- Id of the templateplugin
- The pluginjava.util.Collection<java.lang.Integer> getYearList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |