|
||||||||||
| 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 List<AgendaResource> |
findAgendaBetween(int nPortletId,
Date dateBegin,
Date dateEnd)
Returns all the agenda associated with a given portlet. |
static List<AgendaResource> |
findAgendasInPortlet(int nPortletId)
Returns all the agenda associated with a given portlet. |
static Date |
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 Date |
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 |
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,
String strAgendaId,
String strDateBegin,
String strDateEnd)
Associates a new agenda to a given portlet. |
static void |
insertCalendar(int nPortletId,
String strAgendaId,
int nDays)
Associates a new calendar to a given portlet. |
static void |
removeAgenda(int nPortletId,
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, getAliasList, getLastModifiedPortlet, getPortletIdByOrderAndColumn, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, hasAlias, invalidate, invalidate, notifyListeners, 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 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,
String strAgendaId,
String strDateBegin,
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,
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 List<AgendaResource> findAgendasInPortlet(int nPortletId)
nPortletId - the identifier of the portlet.
public static List<AgendaResource> findAgendaBetween(int nPortletId,
Date dateBegin,
Date dateEnd)
dateBegin - The start datedateEnd - The end datenPortletId - the identifier of the portlet.
public static void insertCalendar(int nPortletId,
String strAgendaId,
int nDays)
strAgendaId - The id of the agendanDays - The number of daysnPortletId - the identifier of the portlet.public static Date getBeginDate(int nPortletId)
nPortletId - The id portlet
public static Date 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 | |||||||||