|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.portlet.PortletHome
fr.paris.lutece.plugins.calendar.business.portlet.CalendarPortletHome
public class CalendarPortletHome
This class provides instances management methods for CalendarPortlet objects
Constructor Summary | |
---|---|
CalendarPortletHome()
Constructor |
Method Summary | |
---|---|
static java.util.List<AgendaResource> |
findAgendaBetween(int nPortletId,
java.util.Date dateBegin,
java.util.Date dateEnd)
Returns all the agenda associated with a given portlet. |
static java.util.List<AgendaResource> |
findAgendasInPortlet(int nPortletId)
Returns all the agenda associated with a given portlet. |
static java.lang.String |
getBeginDate(int nPortletId)
Returns the beginning date of the display of corresponding events |
fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO |
getDAO()
Returns the instance of the portlet DAO singleton |
static java.lang.String |
getEndDate(int nPortletId)
Returns the last date of the display |
static fr.paris.lutece.portal.business.portlet.PortletHome |
getInstance()
Returns the instance of NewsLetterArchive Portlet |
java.lang.String |
getPortletTypeId()
Returns the identifier of the portlet type |
static int |
getRepetitionDays(int nPortletId)
Returns the number of days within which the events will occur |
static void |
insertAgendaInterval(int nPortletId,
java.lang.String strAgendaId,
java.lang.String strDateBegin,
java.lang.String strDateEnd)
Associates a new agenda to a given portlet. |
static void |
insertCalendar(int nPortletId,
java.lang.String strAgendaId,
int nDays)
Associates a new calendar to a given portlet. |
static void |
removeAgenda(int nPortletId,
java.lang.String strAgenda)
De-associate an agenda from a given portlet. |
static void |
removeAllAgendas(int nPortletId)
De-associate an agenda from a given portlet. |
Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome |
---|
create, findByPrimaryKey, findByType, getPortletListByStyle, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, remove, update, updateStatus |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalendarPortletHome()
Method Detail |
---|
public java.lang.String getPortletTypeId()
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
public static void insertAgendaInterval(int nPortletId, java.lang.String strAgendaId, java.lang.String strDateBegin, java.lang.String strDateEnd)
strAgendaId
- The identifier of the agendastrDateBegin
- The beginning datestrDateEnd
- The end datenPortletId
- The identifier of the portlet.public static void removeAgenda(int nPortletId, java.lang.String strAgenda)
nPortletId
- the identifier of the portlet.strAgenda
- the identifier of the agendapublic static void removeAllAgendas(int nPortletId)
nPortletId
- the identifier of the portlet.public static java.util.List<AgendaResource> findAgendasInPortlet(int nPortletId)
nPortletId
- the identifier of the portlet.
public static java.util.List<AgendaResource> findAgendaBetween(int nPortletId, java.util.Date dateBegin, java.util.Date dateEnd)
dateBegin
- The start datedateEnd
- The end datenPortletId
- the identifier of the portlet.
public static void insertCalendar(int nPortletId, java.lang.String strAgendaId, int nDays)
strAgendaId
- The id of the agendanDays
- The number of daysnPortletId
- the identifier of the portlet.public static java.lang.String getBeginDate(int nPortletId)
nPortletId
- The id portlet
public static java.lang.String getEndDate(int nPortletId)
nPortletId
- The id of the portlet
public static int getRepetitionDays(int nPortletId)
nPortletId
- The id of the portlet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |