Class MailingList
- java.lang.Object
-
- fr.paris.lutece.portal.business.mailinglist.MailingList
-
public class MailingList extends java.lang.ObjectThis 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 java.lang.StringgetDescription()Returns the Descriptionjava.util.Collection<MailingListUsersFilter>getFilters()Returns filters of the mailing listintgetId()Returns the Idjava.lang.StringgetName()Returns the Namejava.lang.StringgetWorkgroup()Returns the Workgroupstatic voidinit()Initialize the rulevoidsetDescription(java.lang.String strDescription)Sets the DescriptionvoidsetId(int nId)Sets the IdvoidsetName(java.lang.String strName)Sets the NamevoidsetWorkgroup(java.lang.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 java.lang.String getName()
Returns the Name- Returns:
- The Name
-
setName
public void setName(java.lang.String strName)
Sets the Name- Parameters:
strName- The Name
-
getDescription
public java.lang.String getDescription()
Returns the Description- Returns:
- The Description
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the Description- Parameters:
strDescription- The Description
-
getWorkgroup
public java.lang.String getWorkgroup()
Returns the Workgroup- Returns:
- The Workgroup
-
setWorkgroup
public void setWorkgroup(java.lang.String strWorkgroup)
Sets the Workgroup- Parameters:
strWorkgroup- The Workgroup
-
getFilters
public java.util.Collection<MailingListUsersFilter> getFilters()
Returns filters of the mailing list- Returns:
- A collection of users filters
-
-