public final class RecordFieldHome extends Object
| Modifier and Type | Method and Description |
|---|---|
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 |
findByFile(int nIdFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a Record field whose file identifier is specified in parameter
|
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 |
findMaxNumber(int nIdEntry,
int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the max number from a given id directory
|
static int |
getCountRecordField(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the number of record field who verify the filter
|
static 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 List<RecordField> |
getRecordFieldListByRecordIdList(List<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 List<RecordField> |
getRecordFieldSpecificList(List<Integer> lEntryId,
Integer nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
Map<Integer,Field> mapFieldEntry)
Load full record field data (except binary file data) /!
|
static boolean |
isNumberOnARecordField(int nIdEntry,
int nIdDirectory,
int nNumber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the given number is already on a record field or not.
|
static void |
remove(int nIdRecordField,
boolean bRemoveAsynchronousFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record field whose identifier is specified in parameter
|
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,
boolean bRemoveByAsynchronousFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all record field who verify the filter
|
static void |
removeByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all record field who verify the filter
|
static void |
removeByListRecordId(List<Integer> lListRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deprecated.
This function does not remove the associated files
|
static List<RecordField> |
selectValuesList(List<Integer> lEntryId,
Integer nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load values of record field
|
static void |
update(RecordField recordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record field which is specified in parameter
|
static void |
updateValue(String strNewValue,
Integer nIdRecordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the value of a record field
|
public static void create(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
recordField - The instance of the record field which contains the informations to storeplugin - the Pluginpublic static void copy(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
recordField - The instance of the record field which contains the informations to storeplugin - the Pluginpublic static void update(RecordField recordField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
recordField - The instance of the record fields which contains the informations to updateplugin - the Pluginpublic static void remove(int nIdRecordField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecordField - The identifier of the record fieldplugin - the Pluginpublic static void remove(int nIdRecordField,
boolean bRemoveAsynchronousFiles,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecordField - The identifier of the record fieldbRemoveAsynchronousFiles - true if it must remove the asynchronous files, false otherwiseplugin - the Pluginpublic static RecordField findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The entry primary keyplugin - the Pluginpublic static RecordField findByFile(int nIdFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFile - The entry primary keyplugin - the Pluginpublic static void removeByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginpublic static void removeByFilter(RecordFieldFilter filter, boolean bRemoveByAsynchronousFiles, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterbRemoveByAsynchronousFiles - True to remove by asynchronous filesplugin - the pluginpublic static void removeByListRecordId(List<Integer> lListRecordId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
lListRecordId - the list of record idplugin - the pluginpublic static List<RecordField> getRecordFieldList(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginpublic static List<RecordField> getRecordFieldListByRecordIdList(List<Integer> lIdRecordList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
lIdRecordList - the list of record idplugin - the pluginpublic static List<RecordField> getRecordFieldSpecificList(List<Integer> lEntryId, Integer nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin, Map<Integer,Field> mapFieldEntry)
lEntryId - List entry to loadnIdRecord - the record Idplugin - the pluginmapFieldEntry - a map containing all fields associated to the list of entrypublic static int getCountRecordField(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginpublic static int findMaxNumber(int nIdEntry,
int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry - the id of the entrynIdDirectory - the id directoryplugin - Pluginpublic static boolean isNumberOnARecordField(int nIdEntry,
int nIdDirectory,
int nNumber,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdEntry - the id entrynIdDirectory - the id directorynNumber - the number to checkplugin - Pluginpublic static List<RecordField> selectValuesList(List<Integer> lEntryId, Integer nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
lEntryId - List entry to loadnIdRecord - The record Idplugin - The pluginCopyright © 2017 City of Paris. All rights reserved.