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

public final class EntryHome extends Object
class EntryHome
  • Field Summary

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

    Modifier and Type
    Method
    Description
    static IEntry
    create(IEntry entry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    findByFilter(EntryFilter entryFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find all Entry corresponding to EntryFilter
    static IEntry
    findByOrder(int nIdQuicklinks, int nIdParent, int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns an instance of the IEntry whose identifier is specified in parameter
    findByParentId(int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find All Entry who have the specified parent id
    static IEntry
    findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Returns an instance of a Entry whose identifier is specified in parameter
    findByQuicklinksId(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find All Entry for a quicklinks
    static fr.paris.lutece.util.ReferenceList
    findReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Find All Entry and put them in a ReferenceList
    static IEntry
    getSpecificEntry(EntryType entryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the specific entry and return it
    static void
    goDown(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Move down an IEntry into the list
    static void
    goIn(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Set the IEntry into another parent IEntry
    static void
    goOut(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Set the IEntry out of another parent IEntry
    static void
    goUp(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Move up an IEntry into the list
    static void
    remove(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete the Entry specified by identifier
    static void
    update(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
  • Field Details

  • Method Details

    • findByPrimaryKey

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

      public static IEntry getSpecificEntry(EntryType entryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the specific entry and return it
      Parameters:
      entryType - The type of Entry
      plugin - The Plugin
      Returns:
      The new empty specific entry
    • create

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

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

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

      public static Collection<IEntry> findByQuicklinksId(int nIdQuicklinks, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find All Entry for a quicklinks
      Parameters:
      nIdQuicklinks - The Quicklinks identifier
      plugin - The Plugin using this data access service
      Returns:
      A Collection of Entry
    • findByParentId

      public static Collection<IEntry> findByParentId(int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find All Entry who have the specified parent id
      Parameters:
      nIdParent - The Quicklinks identifier
      plugin - The Plugin using this data access service
      Returns:
      A Collection of Entry
    • findReferenceList

      public static fr.paris.lutece.util.ReferenceList findReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find All Entry and put them in a ReferenceList
      Parameters:
      plugin - The Plugin using this data access service
      Returns:
      A ReferenceList
    • findByFilter

      public static Collection<IEntry> findByFilter(EntryFilter entryFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find all Entry corresponding to EntryFilter
      Parameters:
      entryFilter - The EntryFilter
      plugin - The Plugin using this data access service
      Returns:
      A Collection of Entry
    • findByOrder

      public static IEntry findByOrder(int nIdQuicklinks, int nIdParent, int nOrder, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns an instance of the IEntry whose identifier is specified in parameter
      Parameters:
      nIdQuicklinks - The quicklinks identifier
      nIdParent - The primary key of the parent IEntry
      nOrder - The order id
      plugin - The current plugin using this method
      Returns:
      An instance of the IEntry which corresponds to the parent id and order id
    • goDown

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

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

      public static void goIn(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Set the IEntry into another parent IEntry
      Parameters:
      nId - The IEntry to move
      plugin - The plugin
    • goOut

      public static void goOut(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Set the IEntry out of another parent IEntry
      Parameters:
      nId - The IEntry to move
      plugin - The plugin