fr.paris.lutece.portal.business.right
Class LevelDAO

java.lang.Object
  extended by fr.paris.lutece.portal.business.right.LevelDAO
All Implemented Interfaces:
ILevelDAO

public final class LevelDAO
extends java.lang.Object
implements ILevelDAO

This class provides Data Access methods for Level objects


Constructor Summary
LevelDAO()
           
 
Method Summary
 void delete(int nIdLevel)
          Delete a record from the table
 void insert(Level level)
          Insert a new record in the table.
 Level load(int nIdLevel)
          load the data of Level from the table
 java.util.Collection<Level> selectLevelsList()
          Returns a list of all the right level
 void store(Level level)
          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

LevelDAO

public LevelDAO()
Method Detail

insert

public void insert(Level level)
Insert a new record in the table.

Specified by:
insert in interface ILevelDAO
Parameters:
level - The level object

load

public Level load(int nIdLevel)
load the data of Level from the table

Specified by:
load in interface ILevelDAO
Parameters:
nIdLevel - The indentifier of the object Level
Returns:
The Instance of the object Level

delete

public void delete(int nIdLevel)
Delete a record from the table

Specified by:
delete in interface ILevelDAO
Parameters:
nIdLevel - The indentifier of the object Level

store

public void store(Level level)
Update the record in the table

Specified by:
store in interface ILevelDAO
Parameters:
level - The instance of the Level to update

selectLevelsList

public java.util.Collection<Level> selectLevelsList()
Returns a list of all the right level

Specified by:
selectLevelsList in interface ILevelDAO
Returns:
A collection of right level objects


Copyright © 2010 Mairie de Paris. All Rights Reserved.