|
||||||||||
| 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 |
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 |
int |
selectCountByFilter(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<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 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 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 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 java.util.List<Record> selectListByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListByFilter in interface IRecordDAOfilter - the filterplugin - the plugin
public int selectCountByFilter(RecordFieldFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectCountByFilter in interface IRecordDAOfilter - 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 IRecordDAOfilter - the filterplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||