Class ReferenceItemFieldDao
- java.lang.Object
-
- fr.paris.lutece.plugins.genericattributes.business.ReferenceItemFieldDao
-
- All Implemented Interfaces:
IReferenceItemFieldDao
public class ReferenceItemFieldDao extends java.lang.Object implements IReferenceItemFieldDao
class ReferenceItemFieldDao
-
-
Constructor Summary
Constructors Constructor Description ReferenceItemFieldDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByIdField(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.java.util.List<java.lang.Integer>loadFieldByItem(int idReferenceItem, fr.paris.lutece.portal.service.plugin.Plugin plugin)load records from the table.java.lang.IntegerloadItemByField(int idField, fr.paris.lutece.portal.service.plugin.Plugin plugin)load record from the table.
-
-
-
Method Detail
-
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 java.util.List<java.lang.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
public java.lang.Integer loadItemByField(int idField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IReferenceItemFieldDaoload record from the table.- Specified by:
loadItemByFieldin interfaceIReferenceItemFieldDao- Parameters:
idField- the id of the fieldplugin- the plugin
-
-