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
 void deleteByListRecordId(java.util.List<java.lang.Integer> lListRecordId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete list of record fields by list of record id
 int getCountByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          return the number of record field who verify the filter
 java.util.List<RecordField> getRecordFieldListByRecordIdList(java.util.List<java.lang.Integer> lIdRecordList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load full record field data (except binary file data) of given list of Record id * /!
 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
 java.util.List<RecordField> selectSpecificList(java.util.List<java.lang.Integer> lEntryId, java.lang.Integer nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load full record field data (except binary file data) /!
 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

deleteByListRecordId

public void deleteByListRecordId(java.util.List<java.lang.Integer> lListRecordId,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Delete list of record fields by list of record id

Specified by:
deleteByListRecordId in interface IRecordFieldDAO
Parameters:
lListRecordId - list of record id
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

getRecordFieldListByRecordIdList

public java.util.List<RecordField> getRecordFieldListByRecordIdList(java.util.List<java.lang.Integer> lIdRecordList,
                                                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Load full record field data (except binary file data) of given list of Record id * /!\ include record data

Specified by:
getRecordFieldListByRecordIdList in interface IRecordFieldDAO
plugin - the plugin
Returns:
list of record

selectSpecificList

public java.util.List<RecordField> selectSpecificList(java.util.List<java.lang.Integer> lEntryId,
                                                      java.lang.Integer nIdRecord,
                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IRecordFieldDAO
Load full record field data (except binary file data) /!\ record data is NOT load, only the id

Specified by:
selectSpecificList in interface IRecordFieldDAO
Parameters:
lEntryId - List entry to load
nIdRecord - the record Id
plugin - the plugin
Returns:
list of record

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 © 2011 Mairie de Paris. All Rights Reserved.