fr.paris.lutece.plugins.document.business.portlet
Interface IDocumentListPortletDAO

All Superinterfaces:
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
All Known Implementing Classes:
DocumentListPortletDAO

public interface IDocumentListPortletDAO
extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO


Method Summary
 boolean checkIsAliasPortlet(int nPortletId)
          Tests if is a portlet is portlet type alias
 void delete(int nPortletId)
          Deletes records for a portlet identifier in the tables portlet_articles_list, published_article_portlet, auto_publishing
 void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Insert a new record in the table portlet_articles_list
 fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
          Loads the data of Document List Portlet whose identifier is specified in parameter
 java.util.Collection selectDocumentTypeListByCodeAndCategory(int nDocumentId, java.lang.String strCodeDocumentType)
          Load the list of documentTypes
 void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
          Update the record in the table
 

Method Detail

delete

void delete(int nPortletId)
Deletes records for a portlet identifier in the tables portlet_articles_list, published_article_portlet, auto_publishing

Specified by:
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - the portlet identifier

insert

void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table portlet_articles_list

Specified by:
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - the instance of the Portlet object to insert

load

fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
Loads the data of Document List Portlet whose identifier is specified in parameter

Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - The Portlet identifier
Returns:
theDocumentListPortlet object

selectDocumentTypeListByCodeAndCategory

java.util.Collection selectDocumentTypeListByCodeAndCategory(int nDocumentId,
                                                             java.lang.String strCodeDocumentType)
Load the list of documentTypes

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

store

void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table

Specified by:
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - A portlet

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


Copyright © 2010 Mairie de Paris. All Rights Reserved.