|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.mailinglist.MailingListHome
public final class MailingListHome
This class provides instances management methods (create, find, ...) for MailingList objects
Method Summary | |
---|---|
static void |
addFilterToMailingList(MailingListUsersFilter filter,
int nId)
Add an new user filter to a mailing list |
static MailingList |
create(MailingList mailingList)
Creation of an instance of mailingList |
static void |
deleteFilterToMailingList(MailingListUsersFilter filter,
int nId)
Remove an user filter from a mailing list |
static java.util.Collection<MailingList> |
findAll()
Loads the data of all the mailingLists and returns them in form of a collection |
static MailingList |
findByPrimaryKey(int nKey)
Returns an instance of a mailingList whose identifier is specified in parameter |
static java.util.Collection<MailingList> |
findByWorkgroup(java.lang.String strWorkgroup)
Find all mailing lists visible by a workgroup |
static void |
remove(int nMailingListId)
Remove the mailingList whose identifier is specified in parameter |
static MailingList |
update(MailingList mailingList)
Update of the mailingList 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 MailingList create(MailingList mailingList)
mailingList
- The instance of the MailingList which contains the informations to store
public static MailingList update(MailingList mailingList)
mailingList
- The instance of the MailingList which contains the data to store
public static void remove(int nMailingListId)
nMailingListId
- The mailingList Idpublic static MailingList findByPrimaryKey(int nKey)
nKey
- The mailingList primary key
public static java.util.Collection<MailingList> findAll()
public static java.util.Collection<MailingList> findByWorkgroup(java.lang.String strWorkgroup)
strWorkgroup
- The workgroup
public static void addFilterToMailingList(MailingListUsersFilter filter, int nId)
filter
- The filter to addnId
- The Id of the mailing listpublic static void deleteFilterToMailingList(MailingListUsersFilter filter, int nId)
filter
- The filter to removenId
- The Id of the mailing list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |