fr.paris.lutece.plugins.greetingscard.business
Interface IGreetingsCardDAO

All Known Implementing Classes:
GreetingsCardDAO

public interface IGreetingsCardDAO

Interface for GreetingsCardDAO


Method Summary
 void delete(java.lang.String strIdGC, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 java.util.Collection<GreetingsCard> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds all objects of this type
 java.util.Collection<GreetingsCard> findByGreetingsCardTemplateId(int nIdGreetingsCardTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns the list of greetings cards of a greetings card template
 void insert(GreetingsCard greetingsCard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 GreetingsCard load(java.lang.String strIdGC, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load the data of GreetingsCard from the table
 void store(GreetingsCard greetingsCard, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

void insert(GreetingsCard greetingsCard,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
greetingsCard - The Instance of the GreetingsCard object
plugin - The plugin

delete

void delete(java.lang.String strIdGC,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
strIdGC - The indentifier of the object GreetingsCard
plugin - The plugin

load

GreetingsCard load(java.lang.String strIdGC,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of GreetingsCard from the table

Parameters:
strIdGC - The identifier of the object GreetingsCard
plugin - The plugin
Returns:
The Instance of the object GreetingsCard

store

void store(GreetingsCard greetingsCard,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
greetingsCard - The instance of the GreetingsCard to update
plugin - The plugin

findAll

java.util.Collection<GreetingsCard> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all objects of this type

Parameters:
plugin - The plugin
Returns:
A collection of objects

findByGreetingsCardTemplateId

java.util.Collection<GreetingsCard> findByGreetingsCardTemplateId(int nIdGreetingsCardTemplate,
                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the list of greetings cards of a greetings card template

Parameters:
nIdGreetingsCardTemplate - The greetings card template identifier
plugin - The plugin
Returns:
A Collection of greetings cards


Copyright © 2008 Mairie de Paris. All Rights Reserved.