public final class UrlRewriterRuleDAO extends Object implements IUrlRewriterRuleDAO
Constructor and Description |
---|
UrlRewriterRuleDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nUrlRewriterRuleId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(UrlRewriterRule urlRewriterRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
UrlRewriterRule |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the urlRewriterRule from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
Collection<UrlRewriterRule> |
selectUrlRewriterRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the urlRewriterRules and returns them as a collection
|
void |
store(UrlRewriterRule urlRewriterRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Pluginpublic void insert(UrlRewriterRule urlRewriterRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IUrlRewriterRuleDAO
urlRewriterRule
- instance of the UrlRewriterRule object to insertplugin
- The pluginpublic UrlRewriterRule load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IUrlRewriterRuleDAO
nId
- The identifier of the urlRewriterRuleplugin
- The pluginpublic void delete(int nUrlRewriterRuleId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IUrlRewriterRuleDAO
nUrlRewriterRuleId
- The identifier of the urlRewriterRuleplugin
- The pluginpublic void store(UrlRewriterRule urlRewriterRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IUrlRewriterRuleDAO
urlRewriterRule
- The reference of the urlRewriterRuleplugin
- The pluginpublic Collection<UrlRewriterRule> selectUrlRewriterRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectUrlRewriterRulesList
in interface IUrlRewriterRuleDAO
plugin
- The pluginCopyright © 2015 City of Paris. All rights reserved.