fr.paris.lutece.plugins.seo.business
Interface IUrlRewriterRuleDAO

All Known Implementing Classes:
UrlRewriterRuleDAO

public interface IUrlRewriterRuleDAO

IUrlRewriterRuleDAO Interface


Method Summary
 void delete(int nIdUrlRewriterRule, 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 nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 java.util.Collection<UrlRewriterRule> selectUrlRewriterRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the urlRewriterRule objects and returns them as a collection
 void store(UrlRewriterRule urlRewriterRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
urlRewriterRule - instance of the UrlRewriterRule object to inssert
plugin - the Plugin

store

void store(UrlRewriterRule urlRewriterRule,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table

Parameters:
urlRewriterRule - the reference of the UrlRewriterRule
plugin - the Plugin

delete

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

Parameters:
nIdUrlRewriterRule - int identifier of the UrlRewriterRule to delete
plugin - the Plugin

load

UrlRewriterRule load(int nKey,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Parameters:
nKey - The identifier of the urlRewriterRule
plugin - the Plugin
Returns:
The instance of the urlRewriterRule

selectUrlRewriterRulesList

java.util.Collection<UrlRewriterRule> selectUrlRewriterRulesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the urlRewriterRule objects and returns them as a collection

Parameters:
plugin - the Plugin
Returns:
The collection which contains the data of all the urlRewriterRule objects


Copyright © 2012 Mairie de Paris. All Rights Reserved.