Class EntrySelectOptionHome

java.lang.Object
fr.paris.lutece.plugins.quicklinks.business.EntrySelectOptionHome

public final class EntrySelectOptionHome extends Object
class EntrySelectOptionHome
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns a list of all EntrySelectOption
    findByEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns a list of all EntrySelectOption
    findByPrimaryKey(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns an instance of a EntrySelectOption whose identifier is specified in parameter
    static void
    goDown(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Move down an IEntry into the list
    static void
    goUp(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Move up an IEntry into the list
    static void
    remove(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete the Entry specified by identifier
    static void
    removeByEntryId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete the all the EntrySelectOption option from an entry
    static void
    update(EntrySelectOption option, 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
  • Field Details

  • Method Details

    • create

      public static EntrySelectOption create(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Parameters:
      option - The Instance of the object Entry
      plugin - The Plugin using this data access service
      Returns:
      The EntrySelectOption
    • remove

      public static void remove(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete the Entry specified by identifier
      Parameters:
      nId - The identifier
      nIdEntry - The Entry identifier
      plugin - The Plugin using this data access service
    • removeByEntryId

      public static void removeByEntryId(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete the all the EntrySelectOption option from an entry
      Parameters:
      nId - The entry identifier
      plugin - The Plugin using this data access service
    • update

      public static void update(EntrySelectOption option, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update The Entry
      Parameters:
      option - The Entry to update
      plugin - The Plugin using this data access service
    • goDown

      public static void goDown(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Move down an IEntry into the list
      Parameters:
      nId - The id of the IEntry
      nIdEntry - The Entry identifier
      plugin - The plugin
    • goUp

      public static void goUp(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Move up an IEntry into the list
      Parameters:
      nId - The id of the IEntry
      nIdEntry - The Entry identifier
      plugin - The plugin
    • findByPrimaryKey

      public static EntrySelectOption findByPrimaryKey(int nId, int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns an instance of a EntrySelectOption whose identifier is specified in parameter
      Parameters:
      nId - The EntrySelectOption primary key
      nIdEntry - The Entry identifier
      plugin - the Plugin
      Returns:
      an instance of EntrySelectOption
    • findAll

      public static Collection<EntrySelectOption> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns a list of all EntrySelectOption
      Parameters:
      plugin - the plugin
      Returns:
      the Collection of EntrySelectOption
    • findByEntry

      public static Collection<EntrySelectOption> findByEntry(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns a list of all EntrySelectOption
      Parameters:
      nIdEntry - the entry Id
      plugin - the plugin
      Returns:
      the Collection of EntrySelectOption