Interface IUrlRewriterRuleDAO
-
- All Known Implementing Classes:
UrlRewriterRuleDAO
public interface IUrlRewriterRuleDAOIUrlRewriterRuleDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdUrlRewriterRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableintgetLastId(fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the last id created (used by unit tests)voidinsert(UrlRewriterRule urlRewriterRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.UrlRewriterRuleload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.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 collectionvoidstore(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 inssertplugin- 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 UrlRewriterRuleplugin- 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 deleteplugin- 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 urlRewriterRuleplugin- 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
-
getLastId
int getLastId(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the last id created (used by unit tests)- Parameters:
plugin- the Plugin- Returns:
- The last id
-
-