public interface ICalendarPortletDAO
extends fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO
Modifier and Type | Method and Description |
---|---|
List<AgendaResource> |
findAgendaBetween(int nPortletId,
Date dateBegin,
Date dateEnd)
Finds the agenda which has events between the start and the end date
|
List<AgendaResource> |
findAgendasInPortlet(int nPortletId)
Returns all the agendas associated with a given portlet.
|
Date |
getBeginDate(int nPortletId)
The beginning date of event display
|
Date |
getEndDate(int nPortletId)
The finishing date of the event display
|
int |
getRepetitionDays(int nPortletId)
Returns the number of following days the event should be displayed
|
void |
insertAgendaInterval(int nPortletId,
String strAgendaId,
String dDateBegin,
String dDateEnd)
Associates a new agenda to a given portlet.
|
void |
insertCalendar(int nPortletId,
String strAgendaId,
int nDays)
Inserts a calendar which will be displayed for the future n days
|
void |
removeAgenda(int nPortletId,
String strAgendaId)
De-associate an agenda from a given portlet.
|
void insertAgendaInterval(int nPortletId, String strAgendaId, String dDateBegin, String dDateEnd)
strAgendaId
- The identifier of the agendadDateBegin
- The beginning datedDateEnd
- The end datenPortletId
- the identifier of the portlet.void removeAgenda(int nPortletId, String strAgendaId)
strAgendaId
- The identifier of an agenda resourcenPortletId
- the identifier of the portlet.List<AgendaResource> findAgendasInPortlet(int nPortletId)
nPortletId
- the identifier of the portlet.List<AgendaResource> findAgendaBetween(int nPortletId, Date dateBegin, Date dateEnd)
nPortletId
- The id of the portletdateBegin
- The starting datedateEnd
- The finishing dateDate getBeginDate(int nPortletId)
nPortletId
- The id of the portletDate getEndDate(int nPortletId)
nPortletId
- The id of the portletint getRepetitionDays(int nPortletId)
nPortletId
- The id of the portletvoid insertCalendar(int nPortletId, String strAgendaId, int nDays)
nPortletId
- The id of the portletstrAgendaId
- The id of the calendarnDays
- The number of days the events are displayedCopyright © 2015 City of Paris. All rights reserved.