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

All Known Implementing Classes:
GreetingsCardTemplateDAO

public interface IGreetingsCardTemplateDAO

Interface for GreetingsCardTemplateDAO


Method Summary
 void delete(int nIdGCT, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 java.util.Collection<GreetingsCardTemplate> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Finds all objects of this type
 void insert(GreetingsCardTemplate greetingsCardTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 GreetingsCardTemplate load(int nIdGCT, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          load the data of GreetingsCardTemplate from the table
 void store(GreetingsCardTemplate greetingsCardTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
greetingsCardTemplate - The Instance of the GreetingsCardTemplate object
plugin - The plugin

store

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

Parameters:
greetingsCardTemplate - The instance of the GreetingsCardTemplate to update
plugin - The plugin

load

GreetingsCardTemplate load(int nIdGCT,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
load the data of GreetingsCardTemplate from the table

Parameters:
nIdGCT - The indentifier of the object GreetingsCardTemplate
plugin - The plugin
Returns:
The Instance of the object GreetingsCardTemplate

delete

void delete(int nIdGCT,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdGCT - The indentifier of the object GreetingsCardTemplate
plugin - The plugin

findAll

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

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


Copyright © 2009 Mairie de Paris. All Rights Reserved.