Interface IFriendlyUrlDAO
- All Known Implementing Classes:
FriendlyUrlDAO
public interface IFriendlyUrlDAO
IFriendlyUrlDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectFriendlyUrlsList(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 Details
-
insert
Insert a new record in the table.- Parameters:
friendlyUrl- instance of the FriendlyUrl object to inssertplugin- the Plugin
-
store
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
Load the data from the table- Parameters:
nKey- The identifier of the friendlyUrlplugin- the Plugin- Returns:
- The instance of the friendlyUrl
-
selectFriendlyUrlsList
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
-