Class ExportFormatHome


  • public final class ExportFormatHome
    extends java.lang.Object
    This class provides instances management methods (create, find, ...) for ExportFormat objects
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void create​(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Creation of an instance of ExportFormat
      static ExportFormat findByPrimaryKey​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Returns an instance of a ExportFormat whose identifier is specified in parameter
      static java.util.List<ExportFormat> getList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Loads the data of all the exportFormat and returns them in a list
      static fr.paris.lutece.util.ReferenceList getListExport​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the export format returns them in a reference list
      static void remove​(int nIdExport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove the ExportFormat whose identifier is specified in parameter
      static void update​(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update of the ExportFormat which is specified in parameter
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static void create​(ExportFormat exportFormat,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Creation of an instance of ExportFormat
        Parameters:
        exportFormat - The instance of the ExportFormat which contains the informations to store
        plugin - the Plugin
      • update

        public static void update​(ExportFormat exportFormat,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update of the ExportFormat which is specified in parameter
        Parameters:
        exportFormat - The instance of the ExportFormat which contains the informations to update
        plugin - the Plugin
      • remove

        public static void remove​(int nIdExport,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove the ExportFormat whose identifier is specified in parameter
        Parameters:
        nIdExport - The exportFormat Id
        plugin - the Plugin
      • findByPrimaryKey

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

        public static java.util.List<ExportFormat> getList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Loads the data of all the exportFormat and returns them in a list
        Parameters:
        plugin - the Plugin
        Returns:
        the list which contains the data of all the ExportFormat
      • getListExport

        public static fr.paris.lutece.util.ReferenceList getListExport​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the export format returns them in a reference list
        Parameters:
        plugin - the plugin
        Returns:
        a reference list of export format