|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.seo.business.UrlRewriterRuleDAO
public final class UrlRewriterRuleDAO
This class provides Data Access methods for UrlRewriterRule objects
Constructor Summary | |
---|---|
UrlRewriterRuleDAO()
|
Method Summary | |
---|---|
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 |
java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UrlRewriterRuleDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The Plugin
public 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 plugin
public 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 java.util.Collection<UrlRewriterRule> selectUrlRewriterRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectUrlRewriterRulesList
in interface IUrlRewriterRuleDAO
plugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |