|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.RegularExpressionDAO
public final class RegularExpressionDAO
This class provides Data Access methods for ReportingFiche objects
Constructor Summary | |
---|---|
RegularExpressionDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdExpression,
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 nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the regular expression from the table |
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegularExpressionDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the plugin
public void insert(RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IRegularExpressionDAO
regularExpression
- instance of the RegularExpression object to insertplugin
- the pluginpublic RegularExpression load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IRegularExpressionDAO
nId
- The identifier of the regular expressionplugin
- the plugin
public void delete(int nIdExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IRegularExpressionDAO
nIdExpression
- The identifier of the regularExpressionplugin
- the pluginpublic void store(RegularExpression regularExpression, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IRegularExpressionDAO
regularExpression
- instance of the RegularExpression object to updateplugin
- the pluginpublic java.util.List<RegularExpression> selectListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListRegularExpression
in interface IRegularExpressionDAO
plugin
- the plugin
public java.util.List<RegularExpression> selectListRegularExpressionByIdField(int nIdField, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListRegularExpressionByIdField
in interface IRegularExpressionDAO
nIdField
- the id of fieldplugin
- the plugin
public fr.paris.lutece.util.ReferenceList getListRegularExpression(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getListRegularExpression
in interface IRegularExpressionDAO
plugin
- the plugin
public boolean isAssociateToAQuestion(fr.paris.lutece.portal.service.plugin.Plugin plugin, int nIdExpression)
isAssociateToAQuestion
in interface IRegularExpressionDAO
plugin
- the pluginnIdExpression
- the key of the regular expression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |