|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.search.solr.business.field.FieldDAO
public final class FieldDAO
This class provides Data Access methods for Field objects
| Constructor Summary | |
|---|---|
FieldDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nFieldId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
Field |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the field from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
java.util.List<Field> |
selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the fields and returns them as a List |
void |
store(Field field,
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 FieldDAO()
| Method Detail |
|---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The Plugin
public void insert(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFieldDAOfield - instance of the Field object to insertplugin - The plugin
public Field load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFieldDAOnId - The identifier of the fieldplugin - The plugin
public void delete(int nFieldId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFieldDAOnFieldId - The identifier of the fieldplugin - The plugin
public void store(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFieldDAOfield - The reference of the fieldplugin - The pluginpublic java.util.List<Field> selectFieldsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldsList in interface IFieldDAOplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||