|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICalendarDAO
AN interface used to access the calendar business layer
| Method Summary | |
|---|---|
void |
deleteAgenda(int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a 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 |
| Method Detail |
|---|
void deleteEvent(int nAgendaId,
int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nEventId - The id of the eventnAgendaId - The Agenda Idplugin - The Plugin using this data access service
void deleteAgenda(int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nAgendaId - The agenda Idplugin - The Plugin using this data access service
void insertEvent(int nAgendaId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
throws fr.paris.lutece.portal.service.util.AppException
nAgendaId - The agenda idevent - The eventplugin - The Plugin using this data access service
fr.paris.lutece.portal.service.util.AppException - An AppException error
void insertAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
agenda - The AgendaResource objectplugin - The Plugin using this data access service
AgendaResource loadAgenda(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - The identifier of AgendaResourceplugin - The plugin
SimpleEvent loadEvent(int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nEventId - The id of the eventplugin - The plugin
java.util.List<AgendaResource> selectAgendaResourceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin
java.util.List<SimpleEvent> selectEventsList(int nAgendaId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSortEvents - Parameter used for event sortingplugin - The pluginnAgendaId - The identifier of the agenda
void storeAgenda(AgendaResource agenda,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
agenda - The reference of AgendaResourceplugin - The Plugin using this data access service
void storeEvent(int nAgendaId,
SimpleEvent event,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
throws fr.paris.lutece.portal.service.util.AppException
event - The reference of SimpleEventnAgendaId - The identifier of the agendaplugin - The Plugin using this data access service
fr.paris.lutece.portal.service.util.AppException - An AppException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||