public interface IRecordService
Modifier and Type | Method and Description |
---|---|
int |
copy(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copy an instance of record
|
int |
create(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record
|
Boolean |
directoryRecordListHasWorkflow(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Test if the given directory record list has a worflow
|
Record |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a recordwhose identifier is specified in parameter
|
int |
getCountRecord(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Count record who verify the filter
|
Integer |
getDirectoryIdByRecordId(Integer nRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get directory id by by record id
|
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
|
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
|
List<Record> |
loadListByListId(List<Integer> lIdList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load a list of record
|
void |
remove(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the record whose identifier is specified in parameter
|
void |
update(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record
|
void |
updateWidthRecordField(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the record which is specified in parameter
|
@Transactional(value="directory.transactionManager") 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 Plugin@Transactional(value="directory.transactionManager") int copy(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
record
- The instance of the record who must copyplugin
- the Plugin@Transactional(value="directory.transactionManager") 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 Plugin@Transactional(value="directory.transactionManager") 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 Plugin@Transactional(value="directory.transactionManager") void remove(int nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdRecord
- The recordIdplugin
- the PluginRecord findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The formResponse primary keyplugin
- the PluginBoolean directoryRecordListHasWorkflow(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDirectory
- directory Idplugin
- the pluginList<Record> loadListByListId(List<Integer> lIdList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
lIdList
- list of record idplugin
- the pluginList<Record> getListRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginint getCountRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginList<Integer> getListRecordId(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
filter
- the filterplugin
- the pluginCopyright © 2017 City of Paris. All rights reserved.