Interface IAliasPortletDAO

    • Method Detail

      • insert

        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 IPortletInterfaceDAO
        Parameters:
        portlet - the portlet to insert in the database
      • delete

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

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

        void store​(Portlet portlet)
        Update the record in the table
        Specified by:
        store in interface IPortletInterfaceDAO
        Parameters:
        portlet - the portlet reference
      • selectPortletsByTypeList

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

        int selectAliasId​(int nIdPortlet)
        Select the Alias Id
        Parameters:
        nIdPortlet - The portlet Id
        Returns:
        The alias Id
      • selectAcceptAliasPortletRefList

        ReferenceList selectAcceptAliasPortletRefList()
        Select all portlets that accept alias
        Returns:
        A reference list
      • selectAcceptAliasPortletList

        java.util.Collection<Portlet> selectAcceptAliasPortletList()
        Select all portlets that accept alias
        Returns:
        A Portlet list