|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.style.ModeDAO
public final class ModeDAO
This class provides Data Access methods for Mode objects
Constructor Summary | |
---|---|
ModeDAO()
|
Method Summary | |
---|---|
void |
delete(int nModeId)
Delete a record from the table |
ReferenceList |
getModesList()
Returns the list of the modes in form of a reference list |
void |
insert(Mode mode)
Insert a new record in the table. |
Mode |
load(int nIdMode)
load the data of Level from the table |
Collection<Mode> |
selectModesList()
Returns a list of all the modes |
void |
store(Mode mode)
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 |
---|
public ModeDAO()
Method Detail |
---|
public void insert(Mode mode)
insert
in interface IModeDAO
mode
- The mode objectpublic Mode load(int nIdMode)
load
in interface IModeDAO
nIdMode
- The indentifier of the object Mode
public void delete(int nModeId)
delete
in interface IModeDAO
nModeId
- The indentifier of the object Modepublic void store(Mode mode)
store
in interface IModeDAO
mode
- The instance of the Mode to updatepublic Collection<Mode> selectModesList()
selectModesList
in interface IModeDAO
public ReferenceList getModesList()
getModesList
in interface IModeDAO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |