fr.paris.lutece.plugins.document.business.portlet
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
 boolean checkIsAliasPortlet(int nPortletId)
          Tests if is a portlet is portlet type alias
 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
 List<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

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 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

List<Integer> selectPortletsByDocumentId(int nDocumentId)
Find all portlets that contain the document

Parameters:
nDocumentId - the document id
Returns:
all portlets id that contain the document


Copyright © 2013 Mairie de Paris. All Rights Reserved.