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

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

public final class DbPageDatabaseDAO
extends java.lang.Object
implements IDbPageDatabaseDAO

This class provides Data Access methods for DbPageDatabase objects


Constructor Summary
DbPageDatabaseDAO()
           
 
Method Summary
 void delete(int nDbPageDatabaseId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(DbPageDatabase dbPageDatabase, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 DbPageDatabase load(int nDbPageDatabaseId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of DbPageDatabase from the table
 DbPageDatabase loadByName(java.lang.String strDbPageName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of DbPageDatabase from the table
 java.util.List<DbPageDatabase> selectDbPageDatabaseList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of dbPageDatabases
 fr.paris.lutece.util.ReferenceList selectDbPagesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the list of dbpages
 void store(DbPageDatabase dbPageDatabase, 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

DbPageDatabaseDAO

public DbPageDatabaseDAO()
Method Detail

insert

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

Specified by:
insert in interface IDbPageDatabaseDAO
Parameters:
plugin - The plugin
dbPageDatabase - The dbPageDatabase object

load

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

Specified by:
load in interface IDbPageDatabaseDAO
Parameters:
plugin - The plugin
nDbPageDatabaseId - The identifier of DbPageDatabase
Returns:
the instance of the DbPageDatabase

loadByName

public DbPageDatabase loadByName(java.lang.String strDbPageName,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of DbPageDatabase from the table

Specified by:
loadByName in interface IDbPageDatabaseDAO
Parameters:
plugin - The plugin
strDbPageName - The identifier of DbPageDatabase
Returns:
the instance of the DbPageDatabase

delete

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

Specified by:
delete in interface IDbPageDatabaseDAO
Parameters:
nDbPageDatabaseId - The DbPageDatabase Id
plugin - The plugin

store

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

Specified by:
store in interface IDbPageDatabaseDAO
Parameters:
dbPageDatabase - The reference of dbPageDatabase
plugin - The plugin

selectDbPageDatabaseList

public java.util.List<DbPageDatabase> selectDbPageDatabaseList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of dbPageDatabases

Specified by:
selectDbPageDatabaseList in interface IDbPageDatabaseDAO
Parameters:
plugin - The plugin
Returns:
The List of the DbPages

selectDbPagesList

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

Specified by:
selectDbPagesList in interface IDbPageDatabaseDAO
Parameters:
plugin - The plugin
Returns:
The ReferenceList of the DbPages


Copyright © 2010 Mairie de Paris. All Rights Reserved.