java.lang.Object
fr.paris.lutece.plugins.genericattributes.business.EntryTypeDAO
All Implemented Interfaces:
IEntryTypeDAO

@ApplicationScoped public class EntryTypeDAO extends Object implements IEntryTypeDAO
class EntryTypeDAO
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    load(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of the entry type from the table
    select(String strPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all entry type associated with a given plugin and returns them in a list
    selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all entry type and returns them in a list
    void
    store(EntryType entryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Updates the EntryType

    Methods inherited from class java.lang.Object

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

    • EntryTypeDAO

      public EntryTypeDAO()
  • Method Details

    • load

      public EntryType load(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the entry type from the table
      Specified by:
      load in interface IEntryTypeDAO
      Parameters:
      idKey - The identifier of the entry type
      plugin - the plugin
      Returns:
      the instance of the EntryType
    • selectAll

      public List<EntryType> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IEntryTypeDAO
      Load the data of all entry type and returns them in a list
      Specified by:
      selectAll in interface IEntryTypeDAO
      Parameters:
      plugin - the plugin
      Returns:
      the list of entry type associated with the plugin
    • select

      public List<EntryType> select(String strPlugin, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all entry type associated with a given plugin and returns them in a list
      Specified by:
      select in interface IEntryTypeDAO
      Parameters:
      strPlugin - The name of plugin to get entry types of
      plugin - the plugin
      Returns:
      the list of entry type associated with the plugin
    • store

      public void store(EntryType entryType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Description copied from interface: IEntryTypeDAO
      Updates the EntryType
      Specified by:
      store in interface IEntryTypeDAO