public final class TranslationItemDAO extends Object implements ITranslationItemDAO
| Constructor and Description |
|---|
TranslationItemDAO() |
| 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 |
deleteAllFromReferenceId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a list of records linked to a Reference
|
void |
deleteAllFromReferenceItemId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a list of records linked to a ReferenceItem
|
void |
insert(TranslationItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
TranslationItem |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<TranslationItem> |
selectTranslationItems(int idReference,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the TranslationItems objects in a reference and returns them as a list
|
void |
store(TranslationItem item,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(TranslationItem item, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ITranslationItemDAOitem - instance of the TranslationItem object to insertplugin - the Pluginpublic TranslationItem load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ITranslationItemDAOnKey - The identifier of the TranslationItemplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ITranslationItemDAOnKey - The identifier of the TranslationItem to deleteplugin - the Pluginpublic void deleteAllFromReferenceId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAllFromReferenceId in interface ITranslationItemDAOnId - The identifier of the Referenceplugin - the Pluginpublic void deleteAllFromReferenceItemId(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAllFromReferenceItemId in interface ITranslationItemDAOnId - The identifier of the ReferenceItemplugin - the Pluginpublic void store(TranslationItem item, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ITranslationItemDAOitem - the reference of the TranslationItemplugin - the Pluginpublic List<TranslationItem> selectTranslationItems(int idReference, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectTranslationItems in interface ITranslationItemDAOidReference - the reference idplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.