public final class ReferenceDAO extends Object implements IReferenceDAO
| Constructor and Description |
|---|
ReferenceDAO() |
| 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(Reference reference,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Reference |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
int |
loadByName(String referenceName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdReferencesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the reference objects and returns them as a list
|
List<Reference> |
selectReferencesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the reference objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectReferencesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the reference objects and returns them as a referenceList
|
void |
store(Reference reference,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Reference reference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IReferenceDAOreference - instance of the Reference object to insertplugin - the Pluginpublic Reference load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IReferenceDAOnKey - The identifier of the referenceplugin - the Pluginpublic int loadByName(String referenceName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByName in interface IReferenceDAOreferenceName - The name of the referenceplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IReferenceDAOnKey - The identifier of the Reference to deleteplugin - the Pluginpublic void store(Reference reference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IReferenceDAOreference - the reference of the Referenceplugin - the Pluginpublic List<Reference> selectReferencesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectReferencesList in interface IReferenceDAOplugin - the Pluginpublic List<Integer> selectIdReferencesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdReferencesList in interface IReferenceDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectReferencesReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectReferencesReferenceList in interface IReferenceDAOplugin - the PluginCopyright © 2023 City of Paris. All rights reserved.