java.lang.Object
fr.paris.lutece.plugins.quicklinks.business.EntryDAO
All Implemented Interfaces:
IEntryDAO

@ApplicationScoped public class EntryDAO extends Object implements IEntryDAO
Class EntryDAO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Deletes the Entry whose identifier is specified in parameter
    findByFilter(EntryFilter entryFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find all Entry specified by filter
    insert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert the Entry
    load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of the entry type from the table
    int
    newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Calculate a new primary key to add a new Entry
    void
    store(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the Entry

    Methods inherited from class java.lang.Object

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

    • EntryDAO

      public EntryDAO()
  • Method Details

    • newPrimaryKey

      public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Calculate a new primary key to add a new Entry
      Parameters:
      plugin - The Plugin using this data access service
      Returns:
      The new key.
    • load

      public IEntry load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the entry type from the table
      Specified by:
      load in interface IEntryDAO
      Parameters:
      nId - the id of the entry
      plugin - the plugin
      Returns:
      the instance of the EntryType
    • delete

      public void delete(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Deletes the Entry whose identifier is specified in parameter
      Specified by:
      delete in interface IEntryDAO
      Parameters:
      nId - The identifier of the Entry
      plugin - The Plugin
    • insert

      public IEntry insert(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert the Entry
      Specified by:
      insert in interface IEntryDAO
      Parameters:
      entry - The Entry object
      plugin - The Plugin
      Returns:
      The Entry
    • store

      public void store(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the Entry
      Specified by:
      store in interface IEntryDAO
      Parameters:
      entry - The Entry object
      plugin - The Plugin
    • findByFilter

      public Collection<IEntry> findByFilter(EntryFilter entryFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find all Entry specified by filter
      Specified by:
      findByFilter in interface IEntryDAO
      Parameters:
      entryFilter - The EntryFilter object
      plugin - the Plugin
      Returns:
      the instance of the EntryType