|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.greetingscard.business.GreetingsCardArchiveHome
public class GreetingsCardArchiveHome
Constructor Summary | |
---|---|
GreetingsCardArchiveHome()
|
Method Summary | |
---|---|
static GreetingsCardArchive |
findById(int nIdArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a greetings card archive from the database |
static 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 |
static 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 |
static fr.paris.lutece.util.ReferenceList |
getYearList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of every year archived |
static void |
insert(GreetingsCardArchive greetingsCardArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates a greetings card in the database |
static void |
remove(int nIdArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a greetings card archive |
static void |
removeAllArchives(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove every archive from the database |
static void |
removeByIdTemplate(int nGreetingsCardTemplate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove every archive associated to a greetings card template |
static void |
update(GreetingsCardArchive greetingsCardArchive,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a greetings card archive |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GreetingsCardArchiveHome()
Method Detail |
---|
public static void insert(GreetingsCardArchive greetingsCardArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardArchive
- GreetingsCardarchive to inserplugin
- The pluginpublic static GreetingsCardArchive findById(int nIdArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchive
- Id of the archive to loadplugin
- The plugin
public static 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
public static java.util.Collection<GreetingsCardArchive> findByYear(int year, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByYear
- The yearplugin
- The plugin
public static void update(GreetingsCardArchive greetingsCardArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
greetingsCardArchive
- Greetings card archive to updateplugin
- The pluginpublic static void remove(int nIdArchive, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdArchive
- Id of the archive to removeplugin
- The pluginpublic static void removeAllArchives(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginpublic static void removeByIdTemplate(int nGreetingsCardTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nGreetingsCardTemplate
- Id of the templateplugin
- The pluginpublic static fr.paris.lutece.util.ReferenceList 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 |