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
Modifier and TypeMethodDescriptionbooleancheckIsAliasPortlet(int nPortletId) Tests if is a portlet is portlet type aliasCollection<fr.paris.lutece.util.ReferenceItem>selectByDocumentOdAndDocumentType(int nDocumentId, String strCodeDocumentType, PortletOrder pOrder, PortletFilter pFilter) Returns a list of couple id_portlet/name filtered by documentType and categoryselectPortletsByDocumentId(int nDocumentId) Find all portlets that contain the documentMethods inherited from interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
delete, insert, load, store
-
Method Details
-
selectByDocumentOdAndDocumentType
Collection<fr.paris.lutece.util.ReferenceItem> selectByDocumentOdAndDocumentType(int nDocumentId, 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
Find all portlets that contain the document- Parameters:
nDocumentId- the document id- Returns:
- all portlets id that contain the document
-