public final class SendingNewsLetterHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static SendingNewsLetter |
create(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of a newsletter sending
|
static List<SendingNewsLetter> |
findAllLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the last sending performed for the newsletter of given id
|
static List<SendingNewsLetter> |
findAllSendings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the sendings in the database.
|
static SendingNewsLetter |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an object SendingNewsLetter from its identifier
|
static SendingNewsLetter |
findLastSendingForNewsletterId(int newsletterId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the last sending performed for the newsletter of given id
|
static ArrayList<SendingNewsLetter> |
findSendingsByIds(ArrayList<Integer> listId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the sendings in the database.
|
static void |
remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove an entry of a newsletter sending
|
static SendingNewsLetter |
update(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the sendingNewsLetter which is specified in parameter
|
public static SendingNewsLetter create(SendingNewsLetter sending, fr.paris.lutece.portal.service.plugin.Plugin plugin)
sending - The object to insert in the databaseplugin - the pluginpublic static void remove(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - the primary key of the sending newsletterplugin - the pluginpublic static SendingNewsLetter update(SendingNewsLetter sending, fr.paris.lutece.portal.service.plugin.Plugin plugin)
sending - the object which contains the data to storeplugin - the pluginpublic static SendingNewsLetter findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the primary key of the sending newsletterplugin - the pluginpublic static SendingNewsLetter findLastSendingForNewsletterId(int newsletterId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsletterId - the newsletter id for wich we need the last sendingplugin - the pluginpublic static List<SendingNewsLetter> findAllLastSendingForNewsletterId(int newsletterId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
newsletterId - the newsletter id for wich we need the last sendingplugin - the pluginpublic static List<SendingNewsLetter> findAllSendings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginpublic static ArrayList<SendingNewsLetter> findSendingsByIds(ArrayList<Integer> listId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
listId - A list of sent newslettersplugin - the pluginCopyright © 2014 Mairie de Paris. All rights reserved.