public final class BlogPortletDAO extends Object implements IBlogPortletDAO
| Constructor and Description |
|---|
BlogPortletDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nPortletId)
Delete record from table
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table.
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nIdPortlet)
load the data of dbpagePortlet from the table
|
fr.paris.lutece.util.ReferenceList |
selectBlogPortletReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) |
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 IBlogPortletDAOinsert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - The Instance of the Portletpublic void delete(int nPortletId)
delete in interface IBlogPortletDAOdelete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - The indentifier of the Portletpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface IBlogPortletDAOstore in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - The reference of the portletpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
load in interface IBlogPortletDAOload in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnIdPortlet - The identifier of the portletpublic fr.paris.lutece.util.ReferenceList selectBlogPortletReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectBlogPortletReferenceList in interface IBlogPortletDAOpublic Collection<fr.paris.lutece.util.ReferenceItem> selectPortletByType(int nDocumentId, PortletOrder pOrder, PortletFilter pFilter)
selectPortletByType in interface IBlogPortletDAOnDocumentId - the document IDpOrder - order of the portletsCopyright © 2020 City of Paris. All rights reserved.