Class ReferenceItemFieldDao
java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.ReferenceItemFieldDao
- All Implemented Interfaces:
IReferenceItemFieldDao
class ReferenceItemFieldDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByIdField(int idField, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove records in the table.voiddeleteByIdItem(int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Remove records in the table.voidinsert(int idField, int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.loadFieldByItem(int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) load records from the table.loadItemByField(int idField, fr.paris.lutece.portal.service.plugin.Plugin plugin) load record from the table.
-
Constructor Details
-
ReferenceItemFieldDao
public ReferenceItemFieldDao()
-
-
Method Details
-
insert
public void insert(int idField, int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IReferenceItemFieldDaoInsert a new record in the table.- Specified by:
insertin interfaceIReferenceItemFieldDao- Parameters:
idField- the id of theFieldidReferenceItem- the id of theReferenceItemplugin- the plugin
-
deleteByIdItem
public void deleteByIdItem(int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IReferenceItemFieldDaoRemove records in the table.- Specified by:
deleteByIdItemin interfaceIReferenceItemFieldDao- Parameters:
idReferenceItem- the id of theReferenceItemplugin- the plugin
-
deleteByIdField
public void deleteByIdField(int idField, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IReferenceItemFieldDaoRemove records in the table.- Specified by:
deleteByIdFieldin interfaceIReferenceItemFieldDao- Parameters:
idField- the id of the Fieldplugin- the plugin
-
loadFieldByItem
public List<Integer> loadFieldByItem(int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IReferenceItemFieldDaoload records from the table.- Specified by:
loadFieldByItemin interfaceIReferenceItemFieldDao- Parameters:
idReferenceItem- the id of theReferenceItemplugin- the plugin
-
loadItemByField
Description copied from interface:IReferenceItemFieldDaoload record from the table.- Specified by:
loadItemByFieldin interfaceIReferenceItemFieldDao- Parameters:
idField- the id of the fieldplugin- the plugin
-