Class EntryTypeDAO

  • All Implemented Interfaces:
    IEntryTypeDAO

    public class EntryTypeDAO
    extends java.lang.Object
    implements IEntryTypeDAO
    class EntryTypeDAO
    • Constructor Summary

      Constructors 
      Constructor Description
      EntryTypeDAO()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      EntryType load​(int idKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the entry type from the table
      java.util.List<EntryType> select​(java.lang.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
      java.util.List<EntryType> 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 Detail

      • EntryTypeDAO

        public EntryTypeDAO()
    • Method Detail

      • 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 java.util.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 java.util.List<EntryType> select​(java.lang.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