Constructor and Description |
---|
ErrorDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Error error,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Error |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
List<Error> |
selectErrorsList(int idAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the error objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectErrorsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the error objects and returns them as a referenceList
|
List<Integer> |
selectIdErrorsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the error objects and returns them as a list
|
void |
store(Error error,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(Error error, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Error load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Error error, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Error> selectErrorsList(int idAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectErrorsList
in interface IErrorDAO
plugin
- the Pluginpublic List<Integer> selectIdErrorsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdErrorsList
in interface IErrorDAO
plugin
- the Pluginpublic fr.paris.lutece.util.ReferenceList selectErrorsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectErrorsReferenceList
in interface IErrorDAO
plugin
- the PluginCopyright © 2018 City of Paris. All rights reserved.