Class PortalComponentDAO

java.lang.Object
fr.paris.lutece.portal.business.portalcomponent.PortalComponentDAO
All Implemented Interfaces:
IPortalComponentDAO

@ApplicationScoped public final class PortalComponentDAO extends Object implements IPortalComponentDAO
This class provides Data Access methods for PortalComponent objects
  • Constructor Details

    • PortalComponentDAO

      public PortalComponentDAO()
  • Method Details

    • insert

      public void insert(PortalComponent portalComponent)
      Insert a new record in the table.
      Specified by:
      insert in interface IPortalComponentDAO
      Parameters:
      portalComponent - component The Instance of the object PortalComponent
    • load

      public PortalComponent load(int nPortalComponentId)
      load the data of PortalComponent from the table
      Specified by:
      load in interface IPortalComponentDAO
      Parameters:
      nPortalComponentId - The indentifier of the object PortalComponent
      Returns:
      The Instance of the object PortalComponent
    • delete

      public void delete(int nPortalComponentId)
      Delete a record from the table
      Specified by:
      delete in interface IPortalComponentDAO
      Parameters:
      nPortalComponentId - The indentifier of the object PortalComponent
    • store

      public void store(PortalComponent portalComponent)
      Update the record in the table
      Specified by:
      store in interface IPortalComponentDAO
      Parameters:
      portalComponent - The instance of the PortalComponent to update