|
||||||||||
| 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 |
deleteAllOccurrence(int nAgendaId,
int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an Event from the table calendar_events_occurrences |
void |
deleteEvent(int nAgendaId,
int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an Event from the table calendar_events |
void |
deleteOccurrence(int nOccurrenceId,
int nEventId,
int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete an Event from the table calendar_events_occurrences |
int |
getOccurrenceNumber(int nEventId)
Return the occurrence number for an event |
int |
getRepetitionDays(int nEventId)
Returns the number of following days the event should be displayed |
boolean |
hasOccurenceEvent(java.util.Calendar calendar,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return 1 if the day contains an event 0 otherwise |
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 |
fr.paris.lutece.portal.service.image.ImageResource |
loadImageResource(int nEventId)
Return the image resource corresponding to the category id |
OccurrenceEvent |
loadOccurrence(int nOccurenceId,
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> |
selectByFilter(CalendarFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Events |
java.util.List<SimpleEvent> |
selectEventsList(int nAgendaId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Events |
java.util.List<OccurrenceEvent> |
selectOccurrencesByIdList(int nAgendaI,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Occurrences ordered by occurence id |
java.util.List<OccurrenceEvent> |
selectOccurrencesList(int nAgendaId,
int nEventId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Occurrences |
java.util.List<OccurrenceEvent> |
selectOccurrencesList(int nAgendaId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of Occurrences |
java.util.List<SimpleEvent> |
selectTopEventsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the list of top 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,
boolean periodiciteUpdated)
Update the event in the table calendar_event |
void |
storeOccurrence(OccurrenceEvent occurrence,
int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the occurrence in the table calendar_events_occurrences |
void |
updateNumberOccurrence(int nEventId,
int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nNewNumberOccurrence)
UPDATE the occurrence number from the table calendar_events |
| 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,
boolean periodiciteUpdated)
throws fr.paris.lutece.portal.service.util.AppException
event - The reference of SimpleEventnAgendaId - The identifier of the agendaplugin - The Plugin using this data access serviceboolean - 1 if periodicite is to Update, 0 if not
fr.paris.lutece.portal.service.util.AppException - An AppExceptionint getRepetitionDays(int nEventId)
nEventId - The id of the event
java.util.List<OccurrenceEvent> selectOccurrencesList(int nAgendaId,
int nEventId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSortEvents - An integer used for sorting issuesplugin - The pluginnAgendaId - The identifier of the agendanEventId - The identifier of an event
java.util.List<OccurrenceEvent> selectOccurrencesList(int nAgendaId,
int nSortEvents,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSortEvents - An integer used for sorting issuesplugin - The pluginnAgendaId - The identifier of the agenda
java.util.List<OccurrenceEvent> selectOccurrencesByIdList(int nAgendaI,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSortEvents - An integer used for sorting issuesplugin - The pluginnAgendaId - The identifier of the agenda
OccurrenceEvent loadOccurrence(int nOccurenceId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nEventId - The id of the eventplugin - The plugin
void storeOccurrence(OccurrenceEvent occurrence,
int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
occurrence - The reference of OccurrenceEventnAgendaId - The identifier of the agendaplugin - The Plugin using this data access service
void deleteAllOccurrence(int nAgendaId,
int nEventId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nEventId - The id of the occurrencenAgendaId - The agenda Idplugin - The Plugin using this data access service
void deleteOccurrence(int nOccurrenceId,
int nEventId,
int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nEventId - The id of the occurrencenOccurrenceId - The occurrence Idplugin - The Plugin using this data access service
void updateNumberOccurrence(int nEventId,
int nAgendaId,
fr.paris.lutece.portal.service.plugin.Plugin plugin,
int nNewNumberOccurrence)
nEventId - The id of the occurrencenAgendaId - The agenda Idplugin - The Plugin using this data access servicenNewNumberOccurrence - the new number of occurrence for the eventint getOccurrenceNumber(int nEventId)
nEventId - The id of the event
fr.paris.lutece.portal.service.image.ImageResource loadImageResource(int nEventId)
nEventId - The event id
java.util.List<SimpleEvent> selectByFilter(CalendarFilter filter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The pluginfilter - The CalendarFilter Object
java.util.List<SimpleEvent> selectTopEventsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - The plugin
boolean hasOccurenceEvent(java.util.Calendar calendar,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
calendar - The dayplugin - The plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||