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.IPortletInterfaceDAOInterface for document portlet DAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancheckIsAliasPortlet(int nPortletId)Tests if is a portlet is portlet type aliasjava.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 categoryjava.util.List<java.lang.Integer>selectPortletsByDocumentId(int nDocumentId)Find all portlets that contain the document
-
-
-
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 IDstrCodeDocumentType- the codepOrder- the order of the portletspFilter- 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
-
-