public class AutomaticExportConfigDAO extends Object implements IAutomaticExportConfigDAO
Constructor and Description |
---|
AutomaticExportConfigDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nId)
Remove a configuration from the database by its id
|
List<AutomaticExportConfig> |
findAll(boolean bLoadColumns)
Get the list of every configuration
|
AutomaticExportConfig |
findById(int nId)
Get a configuration from its id
|
void |
insert(AutomaticExportConfig config)
Insert a new configuration into the database.
|
void |
update(AutomaticExportConfig config)
Update a configuration.
|
public AutomaticExportConfig findById(int nId)
findById
in interface IAutomaticExportConfigDAO
nId
- The id of the configurationpublic List<AutomaticExportConfig> findAll(boolean bLoadColumns)
findAll
in interface IAutomaticExportConfigDAO
bLoadColumns
- True to load columns of configurations, false to
ignore thempublic void insert(AutomaticExportConfig config)
insert
in interface IAutomaticExportConfigDAO
config
- The configuration to updatepublic void update(AutomaticExportConfig config)
update
in interface IAutomaticExportConfigDAO
config
- The configuration to updatepublic void delete(int nId)
delete
in interface IAutomaticExportConfigDAO
nId
- The id of the configuration to removeCopyright © 2018 City of Paris. All rights reserved.