|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.calendar.business.CalendarDAO
public class CalendarDAO
This DAO class used to fetch the calendars in the database
| Constructor Summary | |
|---|---|
CalendarDAO()
|
|
| Method Summary | |
|---|---|
void |
deleteAgenda(int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an agenda from the table calendar_agendas |
void |
deleteEvent(int nAgendaId,
int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an Event from the table calendar_events |
void |
insertAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new agenda in the table calendar_agendas. |
void |
insertEvent(int nAgendaId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new event in the table calendar_events. |
AgendaResource |
loadAgenda(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of AgendaResource from the table |
SimpleEvent |
loadEvent(int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of SimpleEvent from the table |
java.util.List<AgendaResource> |
selectAgendaResourceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of AgendaResources |
java.util.List<SimpleEvent> |
selectEventsList(int nAgendaId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Events |
void |
storeAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the agenda in the table calendar_agendas |
void |
storeEvent(int nAgendaId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the event in the table calendar_event |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalendarDAO()
| Method Detail |
|---|
public void insertAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertAgenda in interface ICalendarDAOagenda - The AgendaResource objectplugin - The Plugin using this data access service
public void storeAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeAgenda in interface ICalendarDAOagenda - The reference of AgendaResourceplugin - The Plugin using this data access service
public void deleteAgenda(int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAgenda in interface ICalendarDAOnAgendaId - The Agenda Idplugin - The Plugin using this data access service
public void insertEvent(int nAgendaId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertEvent in interface ICalendarDAOnAgendaId - The agenda idevent - The event to be insertedplugin - The Plugin using this data access service
public void storeEvent(int nAgendaId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeEvent in interface ICalendarDAOevent - The reference of SimpleEventnAgendaId - The identifier of the agendaplugin - The Plugin using this data access service
public void deleteEvent(int nAgendaId,
int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteEvent in interface ICalendarDAOnEventId - The id of the eventnAgendaId - The agenda Idplugin - The Plugin using this data access service
public AgendaResource loadAgenda(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadAgenda in interface ICalendarDAOnId - The identifier of AgendaResourceplugin - The plugin
public java.util.List<AgendaResource> selectAgendaResourceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAgendaResourceList in interface ICalendarDAOplugin - The plugin
public SimpleEvent loadEvent(int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadEvent in interface ICalendarDAOnEventId - The id of the eventplugin - The plugin
public java.util.List<SimpleEvent> selectEventsList(int nAgendaId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEventsList in interface ICalendarDAOnSortEvents - An integer used for sortingplugin - The pluginnAgendaId - The identifier of the agenda
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||