|
||||||||||
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
Constructor Summary | |
---|---|
CalendarDAO()
|
Method Summary | |
---|---|
void |
deleteEvent(int nProjectId,
java.lang.String strDate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an Event from the table calendar_events |
void |
deleteProject(int nProjectId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a Project from the table calendar_projects |
void |
insertEvent(int nProjectId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new event in the table calendar_events. |
void |
insertProject(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new project in the table calendar_projects. |
SimpleEvent |
loadEvent(int nProjectId,
java.lang.String strEventDate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of SimpleEvent from the table |
AgendaResource |
loadProject(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of AgendaResource 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 nProjectId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Events |
void |
storeEvent(int nProjectId,
java.lang.String strDate,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the event in the table calendar_event |
void |
storeProject(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the project in the table calendar_project |
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 insertProject(AgendaResource agenda, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertProject
in interface ICalendarDAO
agenda
- The AgendaResource objectplugin
- The Plugin using this data access servicepublic void storeProject(AgendaResource agenda, fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeProject
in interface ICalendarDAO
agenda
- The reference of AgendaResourceplugin
- The Plugin using this data access servicepublic void deleteProject(int nProjectId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteProject
in interface ICalendarDAO
nProjectId
- The Project Idplugin
- The Plugin using this data access servicepublic void insertEvent(int nProjectId, SimpleEvent event, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertEvent
in interface ICalendarDAO
agenda
- The SimpleEvent objectplugin
- The Plugin using this data access servicepublic void storeEvent(int nProjectId, java.lang.String strDate, SimpleEvent event, fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeEvent
in interface ICalendarDAO
event
- The reference of SimpleEventnProjectId
- The identifier of the projectstrDate
- The old event dateplugin
- The Plugin using this data access servicepublic void deleteEvent(int nProjectId, java.lang.String strDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteEvent
in interface ICalendarDAO
nProjectId
- The Project Idplugin
- The Plugin using this data access servicepublic AgendaResource loadProject(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadProject
in interface ICalendarDAO
nId
- The identifier of AgendaResourceplugin
- The plugin
AppException
public java.util.List<AgendaResource> selectAgendaResourceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAgendaResourceList
in interface ICalendarDAO
plugin
- The plugin
public SimpleEvent loadEvent(int nProjectId, java.lang.String strEventDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadEvent
in interface ICalendarDAO
nId
- The identifier of SimpleEventplugin
- The plugin
AppException
public java.util.List<SimpleEvent> selectEventsList(int nProjectId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEventsList
in interface ICalendarDAO
plugin
- The pluginnProjectId
- The identifier of the project
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |