|
||||||||||
| 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,
java.lang.String strTitle,
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,
java.lang.String strTitle,
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,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Events |
void |
storeEvent(int nProjectId,
java.lang.String strDate,
java.lang.String strTitle,
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 ICalendarDAOagenda - The AgendaResource objectplugin - The Plugin using this data access service
public void storeProject(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeProject in interface ICalendarDAOagenda - The reference of AgendaResourceplugin - The Plugin using this data access service
public void deleteProject(int nProjectId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteProject in interface ICalendarDAOnProjectId - The Project Idplugin - The Plugin using this data access service
public void insertEvent(int nProjectId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertEvent in interface ICalendarDAOagenda - The SimpleEvent objectplugin - The Plugin using this data access service
java.lang.IllegalArgumentException
public void storeEvent(int nProjectId,
java.lang.String strDate,
java.lang.String strTitle,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
storeEvent in interface ICalendarDAOevent - The reference of SimpleEventnProjectId - The identifier of the projectstrDate - The old event dateplugin - The Plugin using this data access service
java.lang.IllegalArgumentException
public void deleteEvent(int nProjectId,
java.lang.String strDate,
java.lang.String strTitle,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteEvent in interface ICalendarDAOnProjectId - The Project Idplugin - The Plugin using this data access service
public AgendaResource loadProject(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadProject in interface ICalendarDAOnId - The identifier of AgendaResourceplugin - The plugin
fr.paris.lutece.portal.service.util.AppExceptionpublic java.util.List<AgendaResource> selectAgendaResourceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAgendaResourceList in interface ICalendarDAOplugin - The plugin
public SimpleEvent loadEvent(int nProjectId,
java.lang.String strEventDate,
java.lang.String strTitle,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadEvent in interface ICalendarDAOnId - The identifier of SimpleEventplugin - The plugin
fr.paris.lutece.portal.service.util.AppException
public java.util.List<SimpleEvent> selectEventsList(int nProjectId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectEventsList in interface ICalendarDAOplugin - The pluginnProjectId - The identifier of the project
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||