fr.paris.lutece.plugins.document.business.portlet
Class DocumentPortletHome

java.lang.Object
  extended by fr.paris.lutece.portal.business.portlet.PortletHome
      extended by fr.paris.lutece.plugins.document.business.portlet.DocumentPortletHome
All Implemented Interfaces:
fr.paris.lutece.portal.business.portlet.PortletHomeInterface

public class DocumentPortletHome
extends fr.paris.lutece.portal.business.portlet.PortletHome


Constructor Summary
DocumentPortletHome()
          Constructor
 
Method Summary
static boolean checkIsAliasPortlet(int nPortletId)
           
static java.util.Collection<fr.paris.lutece.util.ReferenceItem> findByCodeDocumentTypeAndCategory(int nDocumentId, java.lang.String strCodeDocumentType)
          Returns a list of couple id_portlet/name filtered by documentType and category
 fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
          Returns the instance of the portlet DAO singleton
static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
          Returns the instance of DocumentPortletHome
 java.lang.String getPortletTypeId()
          Returns the identifier of the portlet type
 
Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getPortletListByStyle, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, remove, update, updateStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentPortletHome

public DocumentPortletHome()
Constructor

Method Detail

getInstance

public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
Returns the instance of DocumentPortletHome

Returns:
the DocumentPortletHome instance

getPortletTypeId

public java.lang.String getPortletTypeId()
Returns the identifier of the portlet type

Returns:
the portlet type identifier

getDAO

public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
Returns the instance of the portlet DAO singleton

Returns:
the instance of the DAO singleton

findByCodeDocumentTypeAndCategory

public static java.util.Collection<fr.paris.lutece.util.ReferenceItem> findByCodeDocumentTypeAndCategory(int nDocumentId,
                                                                                                         java.lang.String strCodeDocumentType)
Returns a list of couple id_portlet/name filtered by documentType and category

Parameters:
strCodeDocumentType - the code
Returns:
A collection of documentTypes

checkIsAliasPortlet

public static boolean checkIsAliasPortlet(int nPortletId)


Copyright © 2009 Mairie de Paris. All Rights Reserved.