|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICalendarPortletDAO
This class provides Data Access methods for CalendarPortlet objects
Method Summary | |
---|---|
java.util.List<AgendaResource> |
findAgendaBetween(int nPortletId,
java.util.Date dateBegin,
java.util.Date dateEnd)
Finds the agenda which has events between the start and the end date |
java.util.List<AgendaResource> |
findAgendasInPortlet(int nPortletId)
Returns all the agendas associated with a given portlet. |
java.lang.String |
getBeginDate(int nPortletId)
The beginning date of event display |
java.lang.String |
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,
java.lang.String strAgendaId,
java.lang.String dDateBegin,
java.lang.String dDateEnd)
Associates a new agenda to a given portlet. |
void |
insertCalendar(int nPortletId,
java.lang.String strAgendaId,
int nDays)
Inserts a calendar which will be displayed for the future n days |
void |
removeAgenda(int nPortletId,
java.lang.String strAgendaId)
De-associate an agenda from a given portlet. |
Methods inherited from interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO |
---|
delete, insert, load, store |
Method Detail |
---|
void insertAgendaInterval(int nPortletId, java.lang.String strAgendaId, java.lang.String dDateBegin, java.lang.String dDateEnd)
strAgendaId
- The identifier of the agendadDateBegin
- The beginning datedDateEnd
- The end datenPortletId
- the identifier of the portlet.void removeAgenda(int nPortletId, java.lang.String strAgendaId)
strAgendaId
- The identifier of an agenda resourcenPortletId
- the identifier of the portlet.java.util.List<AgendaResource> findAgendasInPortlet(int nPortletId)
nPortletId
- the identifier of the portlet.
java.util.List<AgendaResource> findAgendaBetween(int nPortletId, java.util.Date dateBegin, java.util.Date dateEnd)
nPortletId
- The id of the portletdateBegin
- The starting datedateEnd
- The finishing date
java.lang.String getBeginDate(int nPortletId)
nPortletId
- The id of the portlet
java.lang.String getEndDate(int nPortletId)
nPortletId
- The id of the portlet
int getRepetitionDays(int nPortletId)
nPortletId
- The id of the portlet
void insertCalendar(int nPortletId, java.lang.String strAgendaId, int nDays)
nPortletId
- The id of the portletstrAgendaId
- The id of the calendarnDays
- The number of days the events are displayed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |