| Constructor and Description |
|---|
FieldDAO() |
| Modifier and Type | Method and Description |
|---|---|
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
|
Field |
loadByValue(int nIdEntry,
String strValue,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Field from the table by value
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
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
|
List<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
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic int insert(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Field load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public Field loadByValue(int nIdEntry, String strValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByValue in interface IFieldDAOnIdEntry - the entry idstrValue - the field valueplugin - the pluginpublic void delete(int nIdField,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void store(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public List<Field> selectFieldListByIdEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFieldListByIdEntry in interface IFieldDAOnIdEntry - the id of the entryplugin - the pluginpublic void deleteVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteVerifyBy in interface IFieldDAOnIdField - The identifier of the fieldnIdExpression - The identifier of the regular expressionplugin - the pluginpublic void insertVerifyBy(int nIdField,
int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertVerifyBy in interface IFieldDAOnIdField - The identifier of the fieldnIdExpression - The identifier of the regular expressionplugin - the pluginpublic List<Integer> selectListRegularExpressionKeyByIdField(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListRegularExpressionKeyByIdField in interface IFieldDAOnIdField - the id of the fieldplugin - the pluginpublic boolean isRegularExpressionIsUse(int nIdExpression,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
isRegularExpressionIsUse in interface IFieldDAOnIdExpression - The identifier of the expressionplugin - the pluginCopyright © 2015 City of Paris. All rights reserved.