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

java.lang.Object
  extended by fr.paris.lutece.plugins.dbpage.business.DbPageDatabaseTypeHome

public final class DbPageDatabaseTypeHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for DbPageDatabaseType objects


Method Summary
static DbPageDatabaseType create(DbPageDatabaseType dbPageDatabaseType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of dbPageDatabaseType
static DbPageDatabaseType findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a dbPageDatabaseType whose identifier is specified in parameter
static java.util.List findDbPageDatabaseTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a collection of dbPageDatabaseTypes objects
static java.util.List findTypeComboList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns a ReferenceList of Types
static void remove(int nDbPageDatabaseTypeId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the DbPageDatabaseType whose identifier is specified in parameter
static DbPageDatabaseType update(DbPageDatabaseType dbPageDatabaseType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the dbPageDatabaseType which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static DbPageDatabaseType create(DbPageDatabaseType dbPageDatabaseType,
                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of dbPageDatabaseType

Parameters:
dbPageDatabaseType - The instance of the dbPageDatabaseType which contains the informations to store
Returns:
The instance of dbPageDatabaseType which has been created with its primary key.

update

public static DbPageDatabaseType update(DbPageDatabaseType dbPageDatabaseType,
                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the dbPageDatabaseType which is specified in parameter

Parameters:
dbPageDatabaseType - The instance of the dbPageDatabaseType which contains the data to store
Returns:
The instance of the dbPageDatabaseType which has been updated

remove

public static void remove(int nDbPageDatabaseTypeId,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the DbPageDatabaseType whose identifier is specified in parameter

Parameters:
nDbPageDatabaseTypeId - The DbPageDatabaseType Id

findByPrimaryKey

public static DbPageDatabaseType findByPrimaryKey(int nKey,
                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a dbPageDatabaseType whose identifier is specified in parameter

Parameters:
plugin - The plugin object
nKey - The Primary key of the dbPageDatabaseType
Returns:
An instance of dbPageDatabaseType

findDbPageDatabaseTypesList

public static java.util.List findDbPageDatabaseTypesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a collection of dbPageDatabaseTypes objects

Parameters:
plugin - The plugin object
Returns:
A collection of dbPageDatabaseTypes

findTypeComboList

public static java.util.List findTypeComboList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns a ReferenceList of Types

Parameters:
plugin - The plugin object
Returns:
A ReferenceList of types


Copyright © 2007 Mairie de Paris. All Rights Reserved.