fr.paris.lutece.plugins.directory.business
Interface IRecordFieldDAO

All Known Implementing Classes:
RecordFieldDAO

public interface IRecordFieldDAO

interface IRecordFieldDAO


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
 

Method Detail

insert

void insert(RecordField recordField,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record field in the table.

Parameters:
recordField - instance of the RecordField object to insert
plugin - the plugin

load

RecordField load(int nIdRecordField,
                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the record field from the table

Parameters:
nIdRecordField - The identifier of the entry
plugin - the plugin
Returns:
the instance of the Record Field

delete

void delete(int nIdRecordField,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record field whose identifier is specified in parameter

Parameters:
nIdRecordField - The identifier of the record field
plugin - the plugin

deleteByListRecordId

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

Parameters:
lListRecordId - list of record id
plugin - the plugin

store

void store(RecordField recordField,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record field in the table

Parameters:
recordField - instance of the record field object to update
plugin - the plugin

selectListByFilter

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

Parameters:
filter - the filter
plugin - the plugin
Returns:
the list of record field

getRecordFieldListByRecordIdList

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 * /!\ include record data

Parameters:
nIdRecord - the Record id
plugin - the plugin
Returns:
list of record

selectSpecificList

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) /!\ record data is NOT load, only the id

Parameters:
lEntryId - List entry to load
nIdRecord - the record Id
plugin - the plugin
Returns:
list of record

getCountByFilter

int getCountByFilter(RecordFieldFilter filter,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of record field who verify the filter

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.