public final class RecordHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
copy(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy an instance of record
|
static int |
create(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record
|
static Boolean |
direcytoryRecordListHasWorkflow(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Test if the given directory record list has a worflow
|
static Record |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a recordwhose identifier is specified in parameter
|
static int |
getCountRecord(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Count record who verify the filter
|
static Integer |
getDirectoryIdByRecordId(Integer nRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get directory id by by record id
|
static List<Record> |
getListRecord(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the record who verify the filter and returns them in a list
|
static List<Integer> |
getListRecordId(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the record who verify the filter and returns them in a list
|
static List<Record> |
loadListByListId(List<Integer> lIdList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a list of record
|
static void |
remove(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the record whose identifier is specified in parameter
|
static void |
removeByIdDirectory(Integer nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Deprecated.
This function does not remove the associated files
|
static void |
update(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record
|
static void |
updateWidthRecordField(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record which is specified in parameter
|
public static int create(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record - The instance of the record which contains the informations to storeplugin - the Pluginpublic static int copy(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record - The instance of the record who must copyplugin - the Pluginpublic static void updateWidthRecordField(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record - The instance of the record which contains the informations to updateplugin - the Pluginpublic static void update(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record - The instance of the record which contains the informations to updateplugin - the Pluginpublic static void remove(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord - The recordIdplugin - the Pluginpublic static void removeByIdDirectory(Integer nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - The directory idplugin - The pluginpublic static Record findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The formResponse primary keyplugin - the Pluginpublic static Boolean direcytoryRecordListHasWorkflow(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory - directory Idplugin - the pluginpublic static List<Record> loadListByListId(List<Integer> lIdList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listId - list of record idplugin - the pluginpublic static List<Record> getListRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginpublic static int getCountRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginpublic static List<Integer> getListRecordId(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter - the filterplugin - the pluginCopyright © 2014 Mairie de Paris. All rights reserved.