fr.paris.lutece.plugins.calendar.business.portlet
Class MiniCalendarPortletDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.calendar.business.portlet.MiniCalendarPortletDAO
All Implemented Interfaces:
IMiniCalendarPortletDAO, fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO

public final class MiniCalendarPortletDAO
extends java.lang.Object
implements IMiniCalendarPortletDAO

This class provides Data Access methods for CalendarPortlet objects


Constructor Summary
MiniCalendarPortletDAO()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MiniCalendarPortletDAO

public MiniCalendarPortletDAO()
Method Detail

insert

public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Inserts a new record in the table. Not implemented.

Specified by:
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - the object to be inserted

delete

public void delete(int nPortletId)
Deletes a record from the table.

Specified by:
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - the portlet id

load

public fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
Loads the data of the portlet from the table.

Specified by:
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
nPortletId - the portlet id
Returns:
the Portlet object

store

public void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Updates the record in the table. Not implemented.

Specified by:
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Parameters:
portlet - the instance of Portlet class to be updated

showTopEvent

public boolean showTopEvent()
Define top events are displayed or not

Specified by:
showTopEvent in interface IMiniCalendarPortletDAO
Returns:
true if shows top event else false

updateTopEvent

public void updateTopEvent(boolean top_event)
Define top events are displayed or not

Specified by:
updateTopEvent in interface IMiniCalendarPortletDAO
Parameters:
plugin - The plugin
top_event - The top_event


Copyright © 2011 Mairie de Paris. All Rights Reserved.