|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.business.SendingNewsLetterDAO
public final class SendingNewsLetterDAO
This class provides Data Access methods for SendingNewsLetter objects
| Constructor Summary | |
|---|---|
SendingNewsLetterDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record in the database |
java.util.List<SendingNewsLetter> |
findAllSendings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the sendings in the database. |
java.util.ArrayList<SendingNewsLetter> |
findSendingsByIds(java.util.ArrayList<java.lang.Integer> listId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the sendings in the database. |
void |
insert(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table. |
SendingNewsLetter |
load(int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data from the database |
java.util.List<SendingNewsLetter> |
selectAllLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the last sending performed for the newsletter of given id |
SendingNewsLetter |
selectLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the last sending performed for the newsletter of given id |
void |
store(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update 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 SendingNewsLetterDAO()
| Method Detail |
|---|
public void insert(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ISendingNewsLetterDAOsending - the object to be insertedplugin - the Plugin
public void delete(int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface ISendingNewsLetterDAOnSendingId - the sending Identifierplugin - the Plugin
public SendingNewsLetter load(int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ISendingNewsLetterDAOnSendingId - the sending identifierplugin - the Plugin
public void store(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface ISendingNewsLetterDAOsending - an instance of the class SendingNewsLetterplugin - the Plugin
public SendingNewsLetter selectLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectLastSendingForNewsletterId in interface ISendingNewsLetterDAOnewsletterId - the newsletter id for wich we need the last sendingplugin - the plugin
public java.util.List<SendingNewsLetter> selectAllLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAllLastSendingForNewsletterId in interface ISendingNewsLetterDAOnewsletterId - the newsletter id for wich we need the last sendingplugin - the plugin
public java.util.List<SendingNewsLetter> findAllSendings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAllSendings in interface ISendingNewsLetterDAOplugin - the plugin
public java.util.ArrayList<SendingNewsLetter> findSendingsByIds(java.util.ArrayList<java.lang.Integer> listId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
findSendingsByIds in interface ISendingNewsLetterDAOlistId - A list of newsletter idplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||