Interface IFriendlyUrlDAO

  • All Known Implementing Classes:
    FriendlyUrlDAO

    public interface IFriendlyUrlDAO
    IFriendlyUrlDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdFriendlyUrl, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      void deleteAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete all 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
      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

        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