fr.paris.lutece.plugins.form.business
Interface IRegularExpressionDAO

All Known Implementing Classes:
RegularExpressionDAO

public interface IRegularExpressionDAO

IFormDAO Interface


Method Summary
 void delete(int nIdRegularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 fr.paris.lutece.util.ReferenceList getListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the regular expression returns them in a reference list
 void insert(RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 boolean isAssociateToAQuestion(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nIdExpression)
          true if there is a question associate to the regular expression
 RegularExpression load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the regular expression from the table
 java.util.List<RegularExpression> selectListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the regularExpression and returns them in a list
 java.util.List<RegularExpression> selectListRegularExpressionByIdField(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the regularExpression associate to the field and returns them in a list
 void store(RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the regularExpression in the table
 

Method Detail

insert

void insert(RegularExpression regularExpression,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
regularExpression - instance of the RegularExpression object to insert
plugin - the plugin

store

void store(RegularExpression regularExpression,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the regularExpression in the table

Parameters:
regularExpression - instance of the RegularExpression object to update
plugin - the plugin

delete

void delete(int nIdRegularExpression,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Parameters:
nIdRegularExpression - The identifier of the regularExpression
plugin - the plugin

load

RegularExpression load(int nKey,
                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the regular expression from the table

Parameters:
nKey - The identifier of the regular expression
plugin - the plugin
Returns:
the instance of the RegularExpression

selectListRegularExpression

java.util.List<RegularExpression> selectListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the regularExpression and returns them in a list

Parameters:
plugin - the plugin
Returns:
the list of regular expression

selectListRegularExpressionByIdField

java.util.List<RegularExpression> selectListRegularExpressionByIdField(int nIdField,
                                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the regularExpression associate to the field and returns them in a list

Parameters:
nIdField - the id of field
plugin - the plugin
Returns:
the list of regular expression

getListRegularExpression

fr.paris.lutece.util.ReferenceList getListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the regular expression returns them in a reference list

Parameters:
plugin - the plugin
Returns:
a reference list of regular expression

isAssociateToAQuestion

boolean isAssociateToAQuestion(fr.paris.lutece.portal.service.plugin.Plugin plugin,
                               int nIdExpression)
true if there is a question associate to the regular expression

Parameters:
plugin - the plugin
nIdExpression - the key of the regular expression
Returns:
true if there is a question associate to the regular expression


Copyright © 2008 Mairie de Paris. All Rights Reserved.