Interface IDocumentPortletDAO

  • All Superinterfaces:
    fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    All Known Implementing Classes:
    DocumentPortletDAO

    public interface IDocumentPortletDAO
    extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
    Interface for document portlet DAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean checkIsAliasPortlet​(int nPortletId)
      Tests if is a portlet is portlet type alias
      java.util.Collection<fr.paris.lutece.util.ReferenceItem> selectByDocumentOdAndDocumentType​(int nDocumentId, java.lang.String strCodeDocumentType, PortletOrder pOrder, PortletFilter pFilter)
      Returns a list of couple id_portlet/name filtered by documentType and category
      java.util.List<java.lang.Integer> selectPortletsByDocumentId​(int nDocumentId)
      Find all portlets that contain the document
      • Methods inherited from interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

        delete, insert, load, store
    • Method Detail

      • selectByDocumentOdAndDocumentType

        java.util.Collection<fr.paris.lutece.util.ReferenceItem> selectByDocumentOdAndDocumentType​(int nDocumentId,
                                                                                                   java.lang.String strCodeDocumentType,
                                                                                                   PortletOrder pOrder,
                                                                                                   PortletFilter pFilter)
        Returns a list of couple id_portlet/name filtered by documentType and category
        Parameters:
        nDocumentId - the Document ID
        strCodeDocumentType - the code
        pOrder - the order of the portlets
        pFilter - The portlet filter
        Returns:
        A collection of referenceItem
      • checkIsAliasPortlet

        boolean checkIsAliasPortlet​(int nPortletId)
        Tests if is a portlet is portlet type alias
        Parameters:
        nPortletId - The identifier of the document
        Returns:
        true if the portlet is alias, false otherwise
      • selectPortletsByDocumentId

        java.util.List<java.lang.Integer> selectPortletsByDocumentId​(int nDocumentId)
        Find all portlets that contain the document
        Parameters:
        nDocumentId - the document id
        Returns:
        all portlets id that contain the document