java.lang.Object
fr.paris.lutece.plugins.extend.modules.follow.business.FollowDAO
All Implemented Interfaces:
IFollowDAO

public class FollowDAO extends Object implements IFollowDAO
This class provides Data Access methods for follow objects.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nIdfollow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete.
    void
    deleteByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete by id hub resource.
    void
    insert(Follow follow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert.
    load(int nIdfollow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load.
    loadByFilter(FollowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    loadByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Select by id hub resource.
    void
    store(Follow follow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Store.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FollowDAO

      public FollowDAO()
  • Method Details

    • insert

      public void insert(Follow follow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert.
      Specified by:
      insert in interface IFollowDAO
      Parameters:
      follow - the Follow
      plugin - the plugin
    • load

      public Follow load(int nIdfollow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load.
      Specified by:
      load in interface IFollowDAO
      Parameters:
      nIdfollow - the n id Follow
      plugin - the plugin
      Returns:
      the Follow
    • delete

      public void delete(int nIdfollow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete.
      Specified by:
      delete in interface IFollowDAO
      Parameters:
      nIdfollow - the n id Follow
      plugin - the plugin
    • deleteByResource

      public void deleteByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete by id hub resource.
      Specified by:
      deleteByResource in interface IFollowDAO
      Parameters:
      strIdExtendableResource - the str id extendable resource
      strExtendableResourceType - the str extendable resource type
      plugin - the plugin
    • store

      public void store(Follow follow, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Store.
      Specified by:
      store in interface IFollowDAO
      Parameters:
      follow - the Follow
      plugin - the plugin
    • loadByResource

      public Follow loadByResource(String strIdExtendableResource, String strExtendableResourceType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select by id hub resource.
      Specified by:
      loadByResource in interface IFollowDAO
      Parameters:
      strIdExtendableResource - the str id extendable resource
      strExtendableResourceType - the str extendable resource type
      plugin - the plugin
      Returns:
      the Follow
    • loadByFilter

      public List<Follow> loadByFilter(FollowFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      loadByFilter in interface IFollowDAO
      Parameters:
      filter - the filter
      plugin - the plugin
      Returns:
      List Follow