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

All Known Implementing Classes:
FriendlyUrlDAO

public interface IFriendlyUrlDAO

IFriendlyUrlDAO Interface


Method Summary
 void delete(int nIdFriendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(FriendlyUrl friendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 FriendlyUrl load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 java.util.List<FriendlyUrl> selectFriendlyUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all the friendlyUrl objects and returns them as a List
 void store(FriendlyUrl friendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Update the record in the table
 

Method Detail

insert

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

Parameters:
friendlyUrl - instance of the FriendlyUrl object to inssert
plugin - the Plugin

store

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

Parameters:
friendlyUrl - the reference of the FriendlyUrl
plugin - the Plugin

delete

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

Parameters:
nIdFriendlyUrl - int identifier of the FriendlyUrl to delete
plugin - the Plugin

load

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

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

selectFriendlyUrlsList

java.util.List<FriendlyUrl> selectFriendlyUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the friendlyUrl objects and returns them as a List

Parameters:
plugin - the Plugin
Returns:
The List which contains the data of all the friendlyUrl objects


Copyright © 2012 Mairie de Paris. All Rights Reserved.