Class NotifygruMappingManagerDAO

java.lang.Object
fr.paris.lutece.plugins.modulenotifygrumappingmanager.business.NotifygruMappingManagerDAO
All Implemented Interfaces:
INotifygruMappingManagerDAO

@ApplicationScoped public final class NotifygruMappingManagerDAO extends Object implements INotifygruMappingManagerDAO
This class provides Data Access methods for NotifygruMappingManager objects
  • Constructor Details

    • NotifygruMappingManagerDAO

      public NotifygruMappingManagerDAO()
  • Method Details

    • insert

      public void insert(NotifygruMappingManager notifygruMappingManager, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface INotifygruMappingManagerDAO
      Parameters:
      notifygruMappingManager - instance of the NotifygruMappingManager object to insert
      plugin - the Plugin
    • load

      public NotifygruMappingManager load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface INotifygruMappingManagerDAO
      Parameters:
      nKey - The identifier of the notifygruMappingManager
      plugin - the Plugin
      Returns:
      The instance of the notifygruMappingManager
    • load

      public NotifygruMappingManager load(String strKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load.
      Specified by:
      load in interface INotifygruMappingManagerDAO
      Parameters:
      strKey - the str key
      plugin - the plugin
      Returns:
      the notifygru mapping manager
    • delete

      public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      Specified by:
      delete in interface INotifygruMappingManagerDAO
      Parameters:
      nKey - The identifier of the NotifygruMappingManager to delete
      plugin - the Plugin
    • store

      public void store(NotifygruMappingManager notifygruMappingManager, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface INotifygruMappingManagerDAO
      Parameters:
      notifygruMappingManager - the reference of the NotifygruMappingManager
      plugin - the Plugin
    • selectNotifygruMappingManagersList

      public List<NotifygruMappingManager> selectNotifygruMappingManagersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the notifygruMappingManager objects and returns them as a collection
      Specified by:
      selectNotifygruMappingManagersList in interface INotifygruMappingManagerDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The collection which contains the data of all the notifygruMappingManager objects
    • selectIdNotifygruMappingManagersList

      public List<Integer> selectIdNotifygruMappingManagersList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the notifygruMappingManager objects and returns them as a collection
      Specified by:
      selectIdNotifygruMappingManagersList in interface INotifygruMappingManagerDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The collection which contains the id of all the notifygruMappingManager objects