Class NewsLetterArchivePortletHome
- java.lang.Object
-
- fr.paris.lutece.portal.business.portlet.PortletHome
-
- fr.paris.lutece.plugins.newsletter.business.portlet.NewsLetterArchivePortletHome
-
- All Implemented Interfaces:
fr.paris.lutece.portal.business.portlet.PortletHomeInterface
public class NewsLetterArchivePortletHome extends fr.paris.lutece.portal.business.portlet.PortletHomeThis class provides instances management methods for NewsLetterArchivePortlet objects
-
-
Constructor Summary
Constructors Constructor Description NewsLetterArchivePortletHome()Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.ArrayList<java.lang.Integer>findSendingsInPortlet(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns all the sendings associated with a given portlet.fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOgetDAO()Returns the instance of the portlet DAO singletonstatic fr.paris.lutece.portal.business.portlet.PortletHomegetInstance()Returns the instance of NewsLetterArchive Portletjava.lang.StringgetPortletTypeId()Returns the identifier of the portlet typestatic voidinsertSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Associates a new sending to a given portlet.static voidremoveSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)De-associate a sending from a given portlet.-
Methods inherited from class fr.paris.lutece.portal.business.portlet.PortletHome
create, findByPrimaryKey, findByType, getAliasList, getLastModifiedPortlet, getPortletListByStyle, getPortletsByRoleKey, getPortletsListbyName, getPortletType, getStylesList, getUsedOrdersForColumns, getXslFile, getXslSource, hasAlias, invalidate, invalidate, notifyListeners, remove, update, updatePosition, updateStatus
-
-
-
-
Method Detail
-
getPortletTypeId
public java.lang.String getPortletTypeId()
Returns the identifier of the portlet type- Returns:
- the portlet type identifier
-
getInstance
public static fr.paris.lutece.portal.business.portlet.PortletHome getInstance()
Returns the instance of NewsLetterArchive Portlet- Returns:
- the Archive Portlet instance
-
getDAO
public fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAO getDAO()
Returns the instance of the portlet DAO singleton- Returns:
- the instance of the DAO singleton
-
insertSending
public static void insertSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Associates a new sending to a given portlet.- Parameters:
nPortletId- the identifier of the portlet.nSendingId- the identifier of the sending.
-
removeSending
public static void removeSending(int nPortletId, int nSendingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)De-associate a sending from a given portlet.- Parameters:
nPortletId- the identifier of the portlet.nSendingId- the identifier of the sending.
-
findSendingsInPortlet
public static java.util.ArrayList<java.lang.Integer> findSendingsInPortlet(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns all the sendings associated with a given portlet.- Parameters:
nPortletId- the identifier of the portlet.- Returns:
- a Set of Integer containing the identifiers.
-
-