|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.service.record.RecordService
public class RecordService
RecordService
Field Summary | |
---|---|
static String |
BEAN_SERVICE
|
Constructor Summary | |
---|---|
RecordService()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BEAN_SERVICE
Constructor Detail |
---|
public RecordService()
Method Detail |
---|
@Transactional(value="directory.transactionManager") public int copy(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
copy
in interface IRecordService
record
- The instance of the record who must copyplugin
- the Plugin
@Transactional(value="directory.transactionManager") public int create(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
create
in interface IRecordService
record
- The instance of the record which contains the informations to storeplugin
- the Plugin
@Transactional(value="directory.transactionManager") public void remove(int nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove
in interface IRecordService
nIdRecord
- The recordIdplugin
- the Plugin@Transactional(value="directory.transactionManager") public void update(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update
in interface IRecordService
record
- The instance of the record which contains the informations to updateplugin
- the Plugin@Transactional(value="directory.transactionManager") public void updateWidthRecordField(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
updateWidthRecordField
in interface IRecordService
record
- The instance of the record which contains the informations to updateplugin
- the Pluginpublic Boolean directoryRecordListHasWorkflow(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
directoryRecordListHasWorkflow
in interface IRecordService
nIdDirectory
- directory Idplugin
- the plugin
public Record findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findByPrimaryKey
in interface IRecordService
nKey
- The formResponse primary keyplugin
- the Plugin
public int getCountRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getCountRecord
in interface IRecordService
filter
- the filterplugin
- the plugin
public Integer getDirectoryIdByRecordId(Integer nRecordId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getDirectoryIdByRecordId
in interface IRecordService
nRecordId
- the record idplugin
- the plugin
public List<Record> getListRecord(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getListRecord
in interface IRecordService
filter
- the filterplugin
- the plugin
public List<Integer> getListRecordId(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
getListRecordId
in interface IRecordService
filter
- the filterplugin
- the plugin
public List<Record> loadListByListId(List<Integer> lIdList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadListByListId
in interface IRecordService
plugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |