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


Method Summary
 boolean checkIsAliasPortlet(int nPortletId)
          Tests if is a portlet is portlet type alias
 java.util.Collection<fr.paris.lutece.util.ReferenceItem> selectDocumentTypeListByCodeAndCategory(int nDocumentId, java.lang.String strCodeDocumentType)
          Load the list of documentTypes
 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

selectDocumentTypeListByCodeAndCategory

java.util.Collection<fr.paris.lutece.util.ReferenceItem> selectDocumentTypeListByCodeAndCategory(int nDocumentId,
                                                                                                 java.lang.String strCodeDocumentType)
Load the list of documentTypes

Parameters:
strCodeDocumentType - The code
Returns:
The Collection of the DocumentTypes

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


Copyright © 2010 Mairie de Paris. All Rights Reserved.