fr.paris.lutece.plugins.greetingscard.business
Class GreetingsCardTemplateDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.greetingscard.business.GreetingsCardTemplateDAO
All Implemented Interfaces:
IGreetingsCardTemplateDAO

public final class GreetingsCardTemplateDAO
extends java.lang.Object
implements IGreetingsCardTemplateDAO

This class provides Data Access methods for GreetingsCardTemplate objects


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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

insert

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

Specified by:
insert in interface IGreetingsCardTemplateDAO
Parameters:
greetingsCardTemplate - The Instance of the GreetingsCardTemplate object
plugin - The plugin

delete

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

Specified by:
delete in interface IGreetingsCardTemplateDAO
Parameters:
nIdGCT - The indentifier of the object GreetingsCardTemplate
plugin - The plugin

load

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

Specified by:
load in interface IGreetingsCardTemplateDAO
Parameters:
nIdGCT - The indentifier of the object GreetingsCardTemplate
plugin - The plugin
Returns:
The Instance of the object GreetingsCardTemplate

store

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

Specified by:
store in interface IGreetingsCardTemplateDAO
Parameters:
greetingsCardTemplate - The instance of the GreetingsCardTemplate to update
plugin - The plugin

findAll

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

Specified by:
findAll in interface IGreetingsCardTemplateDAO
Parameters:
plugin - The plugin
Returns:
A collection of objects


Copyright © 2012 Mairie de Paris. All Rights Reserved.