|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.newsletter.business.SendingNewsLetterHome
public final class SendingNewsLetterHome
This class provides instances management methods (create, find, ...) for SendingNewsLetter objects
| Method Summary | |
|---|---|
static SendingNewsLetter |
create(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create an instance of a newsletter sending |
static java.util.List |
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 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. |
static SendingNewsLetter |
update(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of the sendingNewsLetter which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SendingNewsLetter create(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
sending - The object to insert in the databaseplugin - the plugin
public static SendingNewsLetter update(SendingNewsLetter sending,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
sending - the object which contains the data to storeplugin - the plugin
public static SendingNewsLetter findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - the primary key of the sending newsletterplugin - the plugin
public 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 plugin
public static java.util.List findAllSendings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the plugin
public static java.util.ArrayList<SendingNewsLetter> findSendingsByIds(java.util.ArrayList<java.lang.Integer> listId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
listId - A list of sent newslettersplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||