|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.business.portlet.NewsLetterArchivePortletDAO
public final class NewsLetterArchivePortletDAO
This class provides Data Access methods for NewsLetterArchivePortlet objects
| Constructor Summary | |
|---|---|
NewsLetterArchivePortletDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nPortletId)
Deletes a record from the table. |
java.util.Set<java.lang.Integer> |
findSendingsInPortlet(int nPortletId)
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)
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)
De-associate a sending from a given portlet. |
void |
store(fr.paris.lutece.portal.business.portlet.Portlet portlet)
Updates the record in the table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NewsLetterArchivePortletDAO()
| Method Detail |
|---|
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 id
public 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 updated
public void insertSending(int nPortletId,
int nSendingId)
insertSending in interface INewsLetterArchivePortletDAOnPortletId - the identifier of the portlet.nSendingId - the identifier of the sending.
public void removeSending(int nPortletId,
int nSendingId)
removeSending in interface INewsLetterArchivePortletDAOnPortletId - the identifier of the portlet.nSendingId - the identifier of the sending.public java.util.Set<java.lang.Integer> findSendingsInPortlet(int nPortletId)
findSendingsInPortlet in interface INewsLetterArchivePortletDAOnPortletId - the identifier of the portlet.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||