Class MailingList
- java.lang.Object
-
- fr.paris.lutece.portal.business.mailinglist.MailingList
-
public class MailingList extends Object
This class represents a mailing list composed by admin users. All members of those mailing lists are dynamically retreived by filters based on roles and workgroups.
-
-
Constructor Summary
Constructors Constructor Description MailingList()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Returns the DescriptionCollection<MailingListUsersFilter>getFilters()Returns filters of the mailing listintgetId()Returns the IdStringgetName()Returns the NameStringgetWorkgroup()Returns the Workgroupstatic voidinit()Initialize the rulevoidsetDescription(String strDescription)Sets the DescriptionvoidsetId(int nId)Sets the IdvoidsetName(String strName)Sets the NamevoidsetWorkgroup(String strWorkgroup)Sets the Workgroup
-
-
-
Method Detail
-
init
public static void init()
Initialize the rule
-
getId
public int getId()
Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId)
Sets the Id- Parameters:
nId- The Id
-
getName
public String getName()
Returns the Name- Returns:
- The Name
-
setName
public void setName(String strName)
Sets the Name- Parameters:
strName- The Name
-
getDescription
public String getDescription()
Returns the Description- Returns:
- The Description
-
setDescription
public void setDescription(String strDescription)
Sets the Description- Parameters:
strDescription- The Description
-
getWorkgroup
public String getWorkgroup()
Returns the Workgroup- Returns:
- The Workgroup
-
setWorkgroup
public void setWorkgroup(String strWorkgroup)
Sets the Workgroup- Parameters:
strWorkgroup- The Workgroup
-
getFilters
public Collection<MailingListUsersFilter> getFilters()
Returns filters of the mailing list- Returns:
- A collection of users filters
-
-