Interface IFriendlyUrlDAO
-
- All Known Implementing Classes:
FriendlyUrlDAO
public interface IFriendlyUrlDAOIFriendlyUrlDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdFriendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete all record from the tablevoidinsert(FriendlyUrl friendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.FriendlyUrlload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableList<FriendlyUrl>selectFriendlyUrlsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the friendlyUrl objects and returns them as a Listvoidstore(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 inssertplugin- 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 FriendlyUrlplugin- 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 deleteplugin- 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 friendlyUrlplugin- the Plugin- Returns:
- The instance of the friendlyUrl
-
selectFriendlyUrlsList
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
-
deleteAll
void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all record from the table- Parameters:
plugin- the Plugin
-
-