Class BlogPortletDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.blog.business.portlet.BlogPortletDAO
-
- All Implemented Interfaces:
IBlogPortletDAO,fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
public final class BlogPortletDAO extends java.lang.Object implements IBlogPortletDAO
this class provides Data Access methods for BlogsPortlet objects
-
-
Constructor Summary
Constructors Constructor Description BlogPortletDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nPortletId)Delete record from tablevoidinsert(fr.paris.lutece.portal.business.portlet.Portlet portlet)Insert a new record in the table.fr.paris.lutece.portal.business.portlet.Portletload(int nIdPortlet)load the data of dbpagePortlet from the tablefr.paris.lutece.util.ReferenceListselectBlogPortletReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)java.util.Collection<fr.paris.lutece.util.ReferenceItem>selectPortletByType(int nDocumentId, PortletOrder pOrder, PortletFilter pFilter)Load the list of portletvoidstore(fr.paris.lutece.portal.business.portlet.Portlet portlet)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Insert a new record in the table.- Specified by:
insertin interfaceIBlogPortletDAO- Specified by:
insertin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
portlet- The Instance of the Portlet
-
delete
public void delete(int nPortletId)
Delete record from table- Specified by:
deletein interfaceIBlogPortletDAO- Specified by:
deletein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nPortletId- The indentifier of the Portlet
-
store
public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Update the record in the table- Specified by:
storein interfaceIBlogPortletDAO- Specified by:
storein interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
portlet- The reference of the portlet
-
load
public fr.paris.lutece.portal.business.portlet.Portlet load(int nIdPortlet)
load the data of dbpagePortlet from the table- Specified by:
loadin interfaceIBlogPortletDAO- Specified by:
loadin interfacefr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO- Parameters:
nIdPortlet- The identifier of the portlet- Returns:
- portlet The instance of the object portlet
-
selectBlogPortletReferenceList
public fr.paris.lutece.util.ReferenceList selectBlogPortletReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
- Specified by:
selectBlogPortletReferenceListin interfaceIBlogPortletDAO- Returns:
-
selectPortletByType
public java.util.Collection<fr.paris.lutece.util.ReferenceItem> selectPortletByType(int nDocumentId, PortletOrder pOrder, PortletFilter pFilter)Load the list of portlet- Specified by:
selectPortletByTypein interfaceIBlogPortletDAO- Parameters:
nDocumentId- the document IDpOrder- order of the portletspFilter- the filter- Returns:
- The Collection of the ReferenceItem
-
-