public final class NewsLetterArchivePortletDAO extends Object implements INewsLetterArchivePortletDAO
| Constructor and Description |
|---|
NewsLetterArchivePortletDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nPortletId)
Deletes a record from the table.
|
ArrayList<Integer> |
findSendingsInPortlet(int nPortletId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the sendings associated with a given portlet.
|
void |
insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Inserts a new record in the table.
|
void |
insertSending(int nPortletId,
int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Associates a new sending to a given portlet.
|
fr.paris.lutece.portal.business.portlet.Portlet |
load(int nPortletId)
Loads the data of the portlet from the table.
|
void |
removeSending(int nPortletId,
int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
De-associate a sending from a given portlet.
|
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Updates the record in the table.
|
public void insert(fr.paris.lutece.portal.business.portlet.Portlet portlet)
insert in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - the object to be insertedpublic void delete(int nPortletId)
delete in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - the portlet idpublic fr.paris.lutece.portal.business.portlet.Portlet load(int nPortletId)
load in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOnPortletId - the portlet idpublic void store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
store in interface fr.paris.lutece.portal.business.portlet.IPortletInterfaceDAOportlet - the instance of Portlet class to be updatedpublic void insertSending(int nPortletId,
int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insertSending in interface INewsLetterArchivePortletDAOnPortletId - the identifier of the portlet.nSendingId - the identifier of the sending.plugin - the pluginpublic void removeSending(int nPortletId,
int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
removeSending in interface INewsLetterArchivePortletDAOnPortletId - the identifier of the portlet.nSendingId - the identifier of the sending.plugin - the pluginpublic ArrayList<Integer> findSendingsInPortlet(int nPortletId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
findSendingsInPortlet in interface INewsLetterArchivePortletDAOnPortletId - the identifier of the portlet.plugin - the pluginCopyright © 2023 City of Paris. All rights reserved.