Interface IPortletTypeDAO

  • All Known Implementing Classes:
    PortletTypeDAO

    public interface IPortletTypeDAO
    IPortletTypeDAO Interface
    • Method Detail

      • insert

        void insert​(PortletType portletType)
        Insert a new record in the table PortletType
        Parameters:
        portletType - The portlet Type object
      • load

        PortletType load​(java.lang.String strPortletTypeId)
        Load the data of PortletType from the table
        Parameters:
        strPortletTypeId - The identifier of PortletType
        Returns:
        The instance of the PortletType
      • delete

        void delete​(java.lang.String strPortletTypeId)
        Delete a record from the table
        Parameters:
        strPortletTypeId - The POrtletTYpe identifier
      • selectPortletTypeId

        java.lang.String selectPortletTypeId​(java.lang.String strPluginHomeClass)
        Returns the portlet type identifier
        Parameters:
        strPluginHomeClass - the name of the portlet type
        Returns:
        the identifier of the portlet type
      • selectNbPortletTypeByPortlet

        int selectNbPortletTypeByPortlet​(java.lang.String strPortletTypeId)
        Returns the portlet count for a given provider
        Parameters:
        strPortletTypeId - The provider's identifier
        Returns:
        nCount
      • selectPortletsTypesList

        ReferenceList selectPortletsTypesList​(java.util.Locale locale)
        Return a Reference List of portletType
        Parameters:
        locale - The locale
        Returns:
        list The reference List
      • selectPortletTypesList

        java.util.List<PortletType> selectPortletTypesList()
        Returns the list of the portlet types
        Returns:
        the list of the portlet types