Class EntryTypeDAO

    • 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 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