|
||||||||||
| 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(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 |
| 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 IRecordDAOrecord - 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 IRecordDAOnIdRecord - The identifier of the recordplugin - the plugin
public Boolean direcytoryRecordListHasWorkflow(int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
direcytoryRecordListHasWorkflow in interface IRecordDAOnIdDirectory - The id of the directoryplugin - the plugin
public List<Record> loadList(List<Integer> listId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAO
loadList in interface IRecordDAOlistId - list of record idplugin - the plugin
public void delete(int nIdRecord,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IRecordDAOnIdRecord - The identifier of the recordplugin - the plugin
public void deleteRecordByDirectoryId(Integer nDirectoryId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAO
deleteRecordByDirectoryId in interface IRecordDAOnDirectoryId - the directory idplugin - the plugin
public void store(Record record,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IRecordDAOrecord - instance of the record object to updateplugin - the plugin
public List<Record> selectListByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface IRecordDAOfilter - the filterplugin - the plugin
public Integer getDirectoryIdByRecordId(Integer nRecordId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IRecordDAO
getDirectoryIdByRecordId in interface IRecordDAOnRecordId - the record idplugin - the plugin
public int selectCountByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter in interface IRecordDAOfilter - the filterplugin - the plugin
public List<Integer> selectListIdByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListIdByFilter in interface IRecordDAOfilter - the filterplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||