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

java.lang.Object
  extended by fr.paris.lutece.plugins.directory.business.RecordFieldHome

public final class RecordFieldHome
extends java.lang.Object

This class provides instances management methods (create, find, ...) for Record field objects


Method Summary
static void copy(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Copy of an instance of record field
static void create(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Creation of an instance of record field
static RecordField findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns an instance of a Record field whose identifier is specified in parameter
static int getCountRecordField(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          return the number of record field who verify the filter
static java.util.List<RecordField> getRecordFieldList(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
static 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 * /!
static java.util.List<RecordField> getRecordFieldSpecificList(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) /!
static void remove(int nIdRecordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the record field whose identifier is specified in parameter
static void removeByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          remove all record field who verify the filter
static void removeByListRecordId(java.util.List<java.lang.Integer> lListRecordId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove list of record field by list of record id
static void update(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update of the record field which is specified in parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(RecordField recordField,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record field

Parameters:
recordField - The instance of the record field which contains the informations to store
plugin - the Plugin

copy

public static void copy(RecordField recordField,
                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy of an instance of record field

Parameters:
recordField - The instance of the record field which contains the informations to store
plugin - the Plugin

update

public static void update(RecordField recordField,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record field which is specified in parameter

Parameters:
recordField - The instance of the record fields which contains the informations to update
plugin - the Plugin

remove

public static void remove(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

findByPrimaryKey

public static RecordField findByPrimaryKey(int nKey,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Record field whose identifier is specified in parameter

Parameters:
nKey - The entry primary key
plugin - the Plugin
Returns:
an instance of Record field

removeByFilter

public static void removeByFilter(RecordFieldFilter filter,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all record field who verify the filter

Parameters:
filter - the filter
plugin - the plugin

removeByListRecordId

public static void removeByListRecordId(java.util.List<java.lang.Integer> lListRecordId,
                                        fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove list of record field by list of record id

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

getRecordFieldList

public static java.util.List<RecordField> getRecordFieldList(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

public static 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

getRecordFieldSpecificList

public static java.util.List<RecordField> getRecordFieldSpecificList(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

getCountRecordField

public static int getCountRecordField(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.