Interface IFieldDAO
-
- All Known Implementing Classes:
FieldDAO
public interface IFieldDAOIFieldDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteVerifyBy(int nIdField, int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete an association between field and a regular expressionintinsert(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.voidinsertVerifyBy(int nIdField, int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)insert an association between field and a regular expressionbooleanisRegularExpressionIsUse(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)verify if the regular expression is useFieldload(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the Field from the tablejava.util.List<Field>loadByCode(java.lang.String code, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load all Fields by codejava.util.List<Field>loadMultipleByEntryIdList(java.util.List<java.lang.Integer> idList, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load all the fields by list of id_enrty.java.util.List<Field>selectFieldListByIdEntry(int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the field of the entry and returns them in a listjava.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 listvoidstore(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the field in the table
-
-
-
Method Detail
-
insert
int insert(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
field- instance of the Field object to insertplugin- the plugin- Returns:
- the new field create
-
store
void store(Field field, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the field in the table- Parameters:
field- instance of the Field object to updateplugin- the plugin
-
delete
void delete(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdField- The identifier of the fieldplugin- the plugin
-
load
Field load(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the Field from the table- Parameters:
nIdField- The identifier of the fieldplugin- the plugin- Returns:
- the instance of the Field
-
selectFieldListByIdEntry
java.util.List<Field> selectFieldListByIdEntry(int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the field of the entry and returns them in a list- Parameters:
idEntry- the id of the entryplugin- the plugin- Returns:
- the list of field
-
deleteVerifyBy
void deleteVerifyBy(int nIdField, int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete an association between field and a regular expression- Parameters:
nIdField- The identifier of the fieldnIdExpression- The identifier of the regular expressionplugin- the plugin
-
insertVerifyBy
void insertVerifyBy(int nIdField, int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)insert an association between field and a regular expression- Parameters:
nIdField- The identifier of the fieldnIdExpression- The identifier of the regular expressionplugin- the plugin
-
selectListRegularExpressionKeyByIdField
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- Parameters:
nIdField- the id of the fieldplugin- the plugin- Returns:
- the list of regular expression key
-
isRegularExpressionIsUse
boolean isRegularExpressionIsUse(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)verify if the regular expression is use- Parameters:
nIdExpression- The identifier of the regular expressionplugin- the plugin- Returns:
- true if the regular expression is use
-
loadMultipleByEntryIdList
java.util.List<Field> loadMultipleByEntryIdList(java.util.List<java.lang.Integer> idList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all the fields by list of id_enrty.- Parameters:
idList-plugin-- Returns:
-
loadByCode
java.util.List<Field> loadByCode(java.lang.String code, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load all Fields by code- Parameters:
code-plugin-- Returns:
-
-