|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.directory.business.RecordDAO
public final class RecordDAO
This class provides Data Access methods for record objects
Constructor Summary | |
---|---|
RecordDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteRecordByDirectoryId(java.lang.Integer nDirectoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete list of record by directory id |
java.lang.Boolean |
direcytoryRecordListHasWorkflow(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Test if directory one or more directory record has a workflow |
java.lang.Integer |
getDirectoryIdByRecordId(java.lang.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 |
java.util.List<Record> |
loadList(java.util.List<java.lang.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 |
java.util.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 |
java.util.List<java.lang.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordDAO()
Method Detail |
---|
public int insert(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IRecordDAO
record
- instance of the record object to insertplugin
- the plugin
public Record load(int nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IRecordDAO
nIdRecord
- The identifier of the recordplugin
- the plugin
public java.lang.Boolean direcytoryRecordListHasWorkflow(int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
direcytoryRecordListHasWorkflow
in interface IRecordDAO
nIdDirectory
- plugin
- the plugin
public java.util.List<Record> loadList(java.util.List<java.lang.Integer> listId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAO
loadList
in interface IRecordDAO
listId
- list of record idplugin
- the plugin
public void delete(int nIdRecord, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IRecordDAO
nIdRecord
- The identifier of the recordplugin
- the pluginpublic void deleteRecordByDirectoryId(java.lang.Integer nDirectoryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAO
deleteRecordByDirectoryId
in interface IRecordDAO
nDirectoryId
- the directory idplugin
- the pluginpublic void store(Record record, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IRecordDAO
record
- instance of the record object to updateplugin
- the pluginpublic java.util.List<Record> selectListByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter
in interface IRecordDAO
filter
- the filterplugin
- the plugin
public java.lang.Integer getDirectoryIdByRecordId(java.lang.Integer nRecordId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAO
getDirectoryIdByRecordId
in interface IRecordDAO
nRecordId
- the record idplugin
- the plugin
public int selectCountByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter
in interface IRecordDAO
filter
- the filterplugin
- the plugin
public java.util.List<java.lang.Integer> selectListIdByFilter(RecordFieldFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListIdByFilter
in interface IRecordDAO
filter
- the filterplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |