Class EntryTextHome


  • public final class EntryTextHome
    extends Object
    class EntryTextHome
    • Method Detail

      • load

        public static IEntry load​(IEntry entry,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Returns an instance of a EntryText whose identifier is specified in parameter
        Parameters:
        entry - The EntryText to load
        plugin - the Plugin
        Returns:
        an instance of EntryText
      • create

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

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

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