|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.service.mailinglist.AdminMailingListService
public final class AdminMailingListService
AdminMailingListService
Field Summary | |
---|---|
static String |
ALL_ROLES
|
Method Summary | |
---|---|
static boolean |
checkFilter(MailingListUsersFilter filter,
int nIdMailingList)
Check if the filter already exists or not in a mailing list |
static ReferenceList |
getMailingLists(AdminUser user)
Returns a list of all mailing list visible by the user |
static Collection<Recipient> |
getRecipients(int nIdMailingList)
Returns all the recipient of a given mailing list |
static Collection<Recipient> |
getRecipients(String strWorkgroup,
String strRole)
Gets all recipients corresponding to a filter based on a Workgroup and a role |
static Collection<MailingList> |
getUserMailingLists(AdminUser user)
Returns a list of all mailing list visible by the user |
static List<MailingList> |
getUserMailingListsByFilter(AdminUser user,
MailingListFilter filter)
Gets the user mailing lists by filter. |
static void |
init()
Initialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ALL_ROLES
Method Detail |
---|
public static void init()
public static ReferenceList getMailingLists(AdminUser user)
user
- The user
public static Collection<MailingList> getUserMailingLists(AdminUser user)
user
- The user
public static List<MailingList> getUserMailingListsByFilter(AdminUser user, MailingListFilter filter)
user
- the userfilter
- the filter
public static Collection<Recipient> getRecipients(int nIdMailingList)
nIdMailingList
- The mailing list Id
public static Collection<Recipient> getRecipients(String strWorkgroup, String strRole)
strWorkgroup
- The workgroupstrRole
- The role
public static boolean checkFilter(MailingListUsersFilter filter, int nIdMailingList)
filter
- the filternIdMailingList
- the id mailing list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |