public final class MiniCalendarPortletDAO extends Object implements IMiniCalendarPortletDAO
Constructor and Description |
---|
MiniCalendarPortletDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nPortletId)
Deletes a record from the table.
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Inserts a new record in the table.
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of the portlet from the table.
|
boolean |
showTopEvent()
Define top events are displayed or not
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Updates the record in the table.
|
void |
updateTopEvent(boolean top_event)
Define top events are displayed or not
|
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- the object to be insertedpublic void delete(int nPortletId)
delete
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- the portlet idpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
nPortletId
- the portlet idpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store
in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
portlet
- the instance of Portlet class to be updatedpublic boolean showTopEvent()
showTopEvent
in interface IMiniCalendarPortletDAO
public void updateTopEvent(boolean top_event)
updateTopEvent
in interface IMiniCalendarPortletDAO
top_event
- The top_eventCopyright © 2018 City of Paris. All rights reserved.