Class ModeDAO
- java.lang.Object
-
- fr.paris.lutece.portal.business.style.ModeDAO
-
-
Constructor Summary
Constructors Constructor Description ModeDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nModeId)Delete a record from the tableReferenceListgetModesList()Returns the list of the modes in form of a reference listvoidinsert(Mode mode)Insert a new record in the table.Modeload(int nIdMode)load the data of Level from the tablejava.util.Collection<Mode>selectModesList()Returns a list of all the modesvoidstore(Mode mode)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(Mode mode)
Insert a new record in the table.
-
load
public Mode load(int nIdMode)
load the data of Level from the table
-
delete
public void delete(int nModeId)
Delete a record from the table
-
store
public void store(Mode mode)
Update the record in the table
-
selectModesList
public java.util.Collection<Mode> selectModesList()
Returns a list of all the modes- Specified by:
selectModesListin interfaceIModeDAO- Returns:
- A collection of modes objects
-
getModesList
public ReferenceList getModesList()
Returns the list of the modes in form of a reference list- Specified by:
getModesListin interfaceIModeDAO- Returns:
- the modes list in form of a ReferenceList object
-
-