public final class BlogListPortletDAO extends Object implements IBlogListPortletDAO
Constructor and Description |
---|
BlogListPortletDAO() |
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 Blogs_list_portlet
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table Blogs_list_portlet
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of Document List Portlet whose identifier is specified in parameter
|
Map<Integer,String> |
loadPages(String strPortletType)
Load the portlet template whose type is specified in parameter
|
fr.paris.lutece.util.ReferenceList |
selectBlogListPortletReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) |
int |
selectMinDocumentBlogOrder()
Get the min of document blog order
|
Collection<fr.paris.lutece.util.ReferenceItem> |
selectPortletByType(int nDocumentId,
PortletOrder pOrder,
PortletFilter pFilter)
Load the list of portlet
|
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 IBlogListPortletDAO
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 IBlogListPortletDAO
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 IBlogListPortletDAO
load
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- The Portlet identifierpublic Map<Integer,String> loadPages(String strPortletType)
loadPages
in interface IBlogListPortletDAO
public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface IBlogListPortletDAO
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- A portletpublic boolean checkIsAliasPortlet(int nPortletId)
checkIsAliasPortlet
in interface IBlogListPortletDAO
nPortletId
- The identifier of the documentpublic fr.paris.lutece.util.ReferenceList selectBlogListPortletReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBlogListPortletReferenceList
in interface IBlogListPortletDAO
public Collection<fr.paris.lutece.util.ReferenceItem> selectPortletByType(int nDocumentId, PortletOrder pOrder, PortletFilter pFilter)
selectPortletByType
in interface IBlogListPortletDAO
nDocumentId
- the document IDpOrder
- order of the portletspublic int selectMinDocumentBlogOrder()
selectMinDocumentBlogOrder
in interface IBlogListPortletDAO
Copyright © 2020 City of Paris. All rights reserved.