public final class RecordDAO extends Object implements IRecordDAO
| Constructor and Description |
|---|
RecordDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteRecordByDirectoryId(Integer nDirectoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete list of record by directory id
|
Boolean |
direcytoryRecordListHasWorkflow(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Test if directory one or more directory record has a workflow
|
Integer |
getDirectoryIdByRecordId(Integer nRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get directory id by record id
|
int |
insert(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Record |
load(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the record from the table
|
List<Record> |
loadList(List<Integer> listId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a list of record
|
int |
selectCountByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Count record who verify the filter
|
List<Record> |
selectListByFilter(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
|
List<Integer> |
selectListIdByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the record id who verify the filter and returns them in a list
|
void |
store(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int insert(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IRecordDAOrecord - instance of the record object to insertplugin - the pluginpublic Record load(int nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IRecordDAOnIdRecord - The identifier of the recordplugin - the pluginpublic Boolean direcytoryRecordListHasWorkflow(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
direcytoryRecordListHasWorkflow in interface IRecordDAOnIdDirectory - The id of the directoryplugin - the pluginpublic List<Record> loadList(List<Integer> listId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAOloadList in interface IRecordDAOlistId - list of record idplugin - the pluginpublic void delete(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IRecordDAOnIdRecord - The identifier of the recordplugin - the pluginpublic void deleteRecordByDirectoryId(Integer nDirectoryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAOdeleteRecordByDirectoryId in interface IRecordDAOnDirectoryId - the directory idplugin - the pluginpublic void store(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IRecordDAOrecord - instance of the record object to updateplugin - the pluginpublic List<Record> selectListByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface IRecordDAOfilter - the filterplugin - the pluginpublic Integer getDirectoryIdByRecordId(Integer nRecordId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAOgetDirectoryIdByRecordId in interface IRecordDAOnRecordId - the record idplugin - the pluginpublic int selectCountByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter in interface IRecordDAOfilter - the filterplugin - the pluginpublic List<Integer> selectListIdByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListIdByFilter in interface IRecordDAOfilter - the filterplugin - the pluginCopyright © 2014 Mairie de Paris. All rights reserved.