Interface ITranslationItemDAO
-
- All Known Implementing Classes:
TranslationItemDAO
public interface ITranslationItemDAOITranslationItemDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteAllFromReferenceId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a list of records linked to a ReferencevoiddeleteAllFromReferenceItemId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a list of records linked to a ReferenceItemvoidinsert(TranslationItem translationItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.TranslationItemload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<TranslationItem>selectTranslationItems(int nIdReference, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the TranslationItems objects in a reference and returns them as a listvoidstore(TranslationItem translationItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(TranslationItem translationItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
translationItem- instance of the TranslationItem object to insertplugin- the Plugin
-
store
void store(TranslationItem translationItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
translationItem- the reference of the TranslationItemplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the TranslationItem to deleteplugin- the Plugin
-
deleteAllFromReferenceId
void deleteAllFromReferenceId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a list of records linked to a Reference- Parameters:
nId- The identifier of the Referenceplugin- the Plugin
-
deleteAllFromReferenceItemId
void deleteAllFromReferenceItemId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a list of records linked to a ReferenceItem- Parameters:
nId- The identifier of the ReferenceItemplugin- the Plugin
-
load
TranslationItem load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the TranslationItemplugin- the Plugin- Returns:
- The instance of the TranslationItem
-
selectTranslationItems
java.util.List<TranslationItem> selectTranslationItems(int nIdReference, 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- Parameters:
nIdReference- the reference idplugin- the Plugin- Returns:
- The list which contains the data of all the TranslationItem objects
-
-