public final class ReferenceItemDAO extends Object implements IReferenceItemDAO
| Constructor and Description |
|---|
ReferenceItemDAO() |
| 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 |
deleteAll(int nIdReference,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deletes the records associated to a Reference
|
void |
insert(ReferenceItem referenceItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
ReferenceItem |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
ReferenceItem |
loadReferenceItemByName(int nIdReference,
String sItemName,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdReferenceItemsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the referenceItem objects and returns them as a list
|
List<ReferenceItem> |
selectReferenceItemsList(int idReference,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the referenceItem objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectReferenceItemsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the referenceItem objects and returns them as a referenceList
|
List<ReferenceItem> |
selectReferenceItemsTranslatedList(int idReference,
String strLang,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the translated referenceItem objects and returns them as a list
|
void |
store(ReferenceItem referenceItem,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(ReferenceItem referenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IReferenceItemDAOreferenceItem - instance of the ReferenceItem object to insertplugin - the Pluginpublic ReferenceItem load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IReferenceItemDAOnKey - The identifier of the referenceItemplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IReferenceItemDAOnKey - The identifier of the ReferenceItem to deleteplugin - the Pluginpublic void deleteAll(int nIdReference,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAll in interface IReferenceItemDAOnIdReference - The Reference identifier of the Reference Items to deletepublic void store(ReferenceItem referenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IReferenceItemDAOreferenceItem - the reference of the ReferenceItemplugin - the Pluginpublic List<ReferenceItem> selectReferenceItemsList(int idReference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectReferenceItemsList in interface IReferenceItemDAOplugin - the Pluginpublic List<ReferenceItem> selectReferenceItemsTranslatedList(int idReference, String strLang, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectReferenceItemsTranslatedList in interface IReferenceItemDAOidReference - the identifier of the referencestrLang - the languageplugin - the Pluginpublic List<Integer> selectIdReferenceItemsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdReferenceItemsList in interface IReferenceItemDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectReferenceItemsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectReferenceItemsReferenceList in interface IReferenceItemDAOplugin - the Pluginpublic ReferenceItem loadReferenceItemByName(int nIdReference, String sItemName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadReferenceItemByName in interface IReferenceItemDAOnIdReference - The identifier of the reference of referenceitemssItemName - The name of referenceitemplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.