public final class DocumentListPortletDAO extends Object implements IDocumentListPortletDAO
Constructor and Description |
---|
DocumentListPortletDAO() |
Modifier and Type | Method and Description |
---|---|
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 document_list_portlet, document_published,
document_category_list_portlet
|
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
|
Collection<fr.paris.lutece.util.ReferenceItem> |
selectByDocumentIdAndDocumentType(int nDocumentId,
String strCodeDocumentType,
PortletOrder pOrder,
PortletFilter pFilter)
Load the list of documentTypes
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table
|
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert
in interface IDocumentListPortletDAO
insert
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- the instance of the Portlet object to insertpublic void delete(int nPortletId)
delete
in interface IDocumentListPortletDAO
delete
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- the portlet identifierpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load
in interface IDocumentListPortletDAO
load
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- The Portlet identifierpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface IDocumentListPortletDAO
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- A portletpublic Collection<fr.paris.lutece.util.ReferenceItem> selectByDocumentIdAndDocumentType(int nDocumentId, String strCodeDocumentType, PortletOrder pOrder, PortletFilter pFilter)
selectByDocumentIdAndDocumentType
in interface IDocumentListPortletDAO
nDocumentId
- the document IDstrCodeDocumentType
- The codepOrder
- order of the portletspFilter
- The portlet filterpublic boolean checkIsAliasPortlet(int nPortletId)
checkIsAliasPortlet
in interface IDocumentListPortletDAO
nPortletId
- The identifier of the documentCopyright © 2020 City of Paris. All rights reserved.