fr.paris.lutece.plugins.dbpage.business
Class DbPageDatabaseTypeDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.dbpage.business.DbPageDatabaseTypeDAO
All Implemented Interfaces:
IDbPageDatabaseTypeDAO

public final class DbPageDatabaseTypeDAO
extends java.lang.Object
implements IDbPageDatabaseTypeDAO

This class provides Data Access methods for DbPageDatabaseType objects


Constructor Summary
DbPageDatabaseTypeDAO()
           
 
Method Summary
 void delete(int nDbPageDatabaseTypeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(DbPageDatabaseType dbPageDatabaseType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 DbPageDatabaseType load(int nDbPageDatabaseTypeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of DbPageDatabaseType from the table
 java.util.List<DbPageDatabaseType> selectDbPageDatabaseTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load a database type list
 fr.paris.lutece.util.ReferenceList selectTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of types
 void store(DbPageDatabaseType dbPageDatabaseType, 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
 

Constructor Detail

DbPageDatabaseTypeDAO

public DbPageDatabaseTypeDAO()
Method Detail

insert

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

Specified by:
insert in interface IDbPageDatabaseTypeDAO
Parameters:
dbPageDatabaseType - The dbPageDatabaseType object

load

public DbPageDatabaseType load(int nDbPageDatabaseTypeId,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of DbPageDatabaseType from the table

Specified by:
load in interface IDbPageDatabaseTypeDAO
Parameters:
nDbPageDatabaseTypeId - The identifier of DbPageDatabaseType
plugin - The Plugin Object
Returns:
the instance of the DbPageDatabaseType

delete

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

Specified by:
delete in interface IDbPageDatabaseTypeDAO
Parameters:
nDbPageDatabaseTypeId - The DbPageDatabaseType Id

store

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

Specified by:
store in interface IDbPageDatabaseTypeDAO
Parameters:
dbPageDatabaseType - The reference of dbPageDatabaseType

selectDbPageDatabaseTypeList

public java.util.List<DbPageDatabaseType> selectDbPageDatabaseTypeList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a database type list

Specified by:
selectDbPageDatabaseTypeList in interface IDbPageDatabaseTypeDAO
Parameters:
plugin - The Plugin Object
Returns:
the type list

selectTypesList

public fr.paris.lutece.util.ReferenceList selectTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of types

Specified by:
selectTypesList in interface IDbPageDatabaseTypeDAO
Returns:
The ReferenceList of the Types


Copyright © 2008 Mairie de Paris. All Rights Reserved.