Interface IPortalComponentDAO

  • All Known Implementing Classes:
    PortalComponentDAO

    public interface IPortalComponentDAO
    IPortalComponentDAO Interface
    • Method Detail

      • insert

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

        PortalComponent load​(int nPortalComponentId)
        load the data of PortalComponent from the table
        Parameters:
        nPortalComponentId - The indentifier of the object PortalComponent
        Returns:
        The Instance of the object PortalComponent
      • delete

        void delete​(int nPortalComponentId)
        Delete a record from the table
        Parameters:
        nPortalComponentId - The indentifier of the object PortalComponent
      • store

        void store​(PortalComponent portalComponent)
        Update the record in the table
        Parameters:
        portalComponent - The instance of the PortalComponent to update
      • selectXslFile

        StyleSheet selectXslFile​(int nPortalComponentId,
                                 int nIdMode)
        Returns the stylesheet of the portlet according to the mode
        Parameters:
        nPortalComponentId - the identifier of the portlet
        nIdMode - the selected mode
        Returns:
        the stylesheet