Class XslExportDAO

java.lang.Object
fr.paris.lutece.portal.business.xsl.XslExportDAO
All Implemented Interfaces:
IXslExportDAO

@ApplicationScoped public final class XslExportDAO extends Object implements IXslExportDAO
This class provides Data Access methods for XSL objects
  • Constructor Details

    • XslExportDAO

      public XslExportDAO()
  • Method Details

    • insert

      public void insert(XslExport xslExport)
      Insert a new record in the table.
      Specified by:
      insert in interface IXslExportDAO
      Parameters:
      xslExport - instance of the XslExport object to insert
    • load

      public XslExport load(int nId)
      Load the data of the XslExport from the table
      Specified by:
      load in interface IXslExportDAO
      Parameters:
      nId - The identifier of the xsl
      Returns:
      the instance of the XslExport
    • delete

      public void delete(int nIdXslExport)
      Delete a record from the table
      Specified by:
      delete in interface IXslExportDAO
      Parameters:
      nIdXslExport - The identifier of the directory xsl
    • store

      public void store(XslExport xslExport)
      Update the xslExport in the table
      Specified by:
      store in interface IXslExportDAO
      Parameters:
      xslExport - instance of the XslExport object to update
    • selectList

      public List<XslExport> selectList()
      Get the list of Xsl Export.
      Specified by:
      selectList in interface IXslExportDAO
      Returns:
      The list of all Xsl Export.
    • selectListByPlugin

      public List<XslExport> selectListByPlugin(Plugin plugin)
      Get the list of Xsl Export associated to a specified plugin.
      Specified by:
      selectListByPlugin in interface IXslExportDAO
      Parameters:
      plugin - The plugin
      Returns:
      The list of Xsl Export associated with the given plugin.