|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.business.FieldDAO
public final class FieldDAO
This class provides Data Access methods for Field objects
| Constructor Summary | |
|---|---|
FieldDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
deleteVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an association between field and a regular expression |
int |
insert(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
void |
insertVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert an association between field and a regular expression |
boolean |
isRegularExpressionIsUse(int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
verify if the regular expresssion is use |
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> |
selectFieldListByIdEntry(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the field of the entry and returns them in a list |
java.util.List<java.lang.Integer> |
selectListRegularExpressionKeyByIdField(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the key of all the regularExpression associate to the field and returns them in a list |
void |
store(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the field 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 int insert(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
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)
IFieldDAO
load in interface IFieldDAOnId - The identifier of the fieldplugin - the plugin
public void delete(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
delete in interface IFieldDAOnIdField - The identifier of the fieldplugin - the plugin
public void store(Field field,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
store in interface IFieldDAOfield - instance of the Field object to updateplugin - the plugin
public java.util.List<Field> selectFieldListByIdEntry(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
selectFieldListByIdEntry in interface IFieldDAOnIdEntry - the id of the entryplugin - the plugin
public void deleteVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
deleteVerifyBy in interface IFieldDAOnIdField - The identifier of the fieldnIdExpression - The identifier of the regular expressionplugin - the plugin
public void insertVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
insertVerifyBy in interface IFieldDAOnIdField - The identifier of the fieldnIdExpression - The identifier of the regular expressionplugin - the plugin
public java.util.List<java.lang.Integer> selectListRegularExpressionKeyByIdField(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
selectListRegularExpressionKeyByIdField in interface IFieldDAOnIdField - the id of the fieldplugin - the plugin
public boolean isRegularExpressionIsUse(int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFieldDAO
isRegularExpressionIsUse in interface IFieldDAOnIdExpression - The identifier of the expressionplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||