|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISendingNewsLetterDAO
The skeleton data access methods for SendingNewsletter
| Method Summary | |
|---|---|
void |
delete(int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record in the database |
java.util.List |
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 the sendings corresponding to a list of ids. |
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 |
| Method Detail |
|---|
void insert(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
sending - the object to be insertedplugin - the Plugin
void delete(int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSendingId - the sending Identifierplugin - the Plugin
SendingNewsLetter load(int nSendingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nSendingId - the sending identifierplugin - the Plugin
void store(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
sending - an instance of the class SendingNewsLetterplugin - the Plugin
SendingNewsLetter selectLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsletterId - the newsletter id for wich we need the last sendingplugin - the plugin
java.util.List findAllSendings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the plugin
java.util.ArrayList<SendingNewsLetter> findSendingsByIds(java.util.ArrayList<java.lang.Integer> listId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
listId - A list of id corresponding to sent newslettersplugin - the plugin
java.util.List<SendingNewsLetter> selectAllLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsletterId - the newsletter id for wich we need the last sendingplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||