Class AliasPortletDAO

    • Constructor Detail

      • AliasPortletDAO

        public AliasPortletDAO()
    • Method Detail

      • insert

        public void insert​(Portlet portlet)
        Insert a new record in the table. NB : The portlet identifier will already been obtained by the portlet girl
        Specified by:
        insert in interface IAliasPortletDAO
        Specified by:
        insert in interface IPortletInterfaceDAO
        Parameters:
        portlet - the portlet to insert in the database
      • delete

        public void delete​(int nPortletId)
        Delete a record from the table
        Specified by:
        delete in interface IAliasPortletDAO
        Specified by:
        delete in interface IPortletInterfaceDAO
        Parameters:
        nPortletId - the identifier of the portlet to be deleted
      • load

        public Portlet load​(int nIdPortlet)
        Load the data of a portlet from the database
        Specified by:
        load in interface IAliasPortletDAO
        Specified by:
        load in interface IPortletInterfaceDAO
        Parameters:
        nIdPortlet - the portlet identifier
        Returns:
        the object Portlet initialized with the data of the database
      • selectPortletsByTypeList

        public ReferenceList selectPortletsByTypeList​(java.lang.String strPortletTypeId)
        Select portlets by type
        Specified by:
        selectPortletsByTypeList in interface IAliasPortletDAO
        Parameters:
        strPortletTypeId - The type Id
        Returns:
        A list of portlets
      • selectAliasId

        public int selectAliasId​(int nIdPortlet)
        Select the Alias Id
        Specified by:
        selectAliasId in interface IAliasPortletDAO
        Parameters:
        nIdPortlet - The portlet Id
        Returns:
        The alias Id