fr.paris.lutece.plugins.directory.business
Class RecordFieldDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.RecordFieldDAO
All Implemented Interfaces:
IRecordFieldDAO

public final class RecordFieldDAO
extends java.lang.Object
implements IRecordFieldDAO

This class provides Data Access methods for Response objects


Constructor Summary
RecordFieldDAO()
           
 
Method Summary
 void delete(int nIdRecordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the record field whose identifier is specified in parameter
 int getCountByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          return the number of record field who verify the filter
 void insert(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record field in the table.
 RecordField load(int nIdRecordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the record field from the table
 java.util.List<RecordField> selectListByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the record field who verify the filter and returns them in a list
 void store(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record field in the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordFieldDAO

public RecordFieldDAO()
Method Detail

insert

public void insert(RecordField recordField,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Insert a new record field in the table.

Specified by:
insert in interface IRecordFieldDAO
Parameters:
recordField - instance of the RecordField object to insert
plugin - the plugin

load

public RecordField load(int nIdRecordField,
                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Load the data of the record field from the table

Specified by:
load in interface IRecordFieldDAO
Parameters:
nIdRecordField - The identifier of the entry
plugin - the plugin
Returns:
the instance of the Record Field

delete

public void delete(int nIdRecordField,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Delete the record field whose identifier is specified in parameter

Specified by:
delete in interface IRecordFieldDAO
Parameters:
nIdRecordField - The identifier of the record field
plugin - the plugin

store

public void store(RecordField recordField,
                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Update the record field in the table

Specified by:
store in interface IRecordFieldDAO
Parameters:
recordField - instance of the record field object to update
plugin - the plugin

selectListByFilter

public java.util.List<RecordField> selectListByFilter(RecordFieldFilter filter,
                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Load the data of all the record field who verify the filter and returns them in a list

Specified by:
selectListByFilter in interface IRecordFieldDAO
Parameters:
filter - the filter
plugin - the plugin
Returns:
the list of record field

getCountByFilter

public int getCountByFilter(RecordFieldFilter filter,
                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
return the number of record field who verify the filter

Specified by:
getCountByFilter in interface IRecordFieldDAO
Parameters:
filter - the filter
plugin - the plugin
Returns:
the number of record field who verify the filter


Copyright © 2009 Mairie de Paris. All Rights Reserved.