Class MailingListFilter
- java.lang.Object
-
- fr.paris.lutece.portal.business.mailinglist.MailingListFilter
-
- All Implemented Interfaces:
java.io.Serializable
public class MailingListFilter extends java.lang.Object implements java.io.SerializableMailingListFilter- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MailingListFilter()Instantiates a new mailing list filter.MailingListFilter(MailingListFilter filter)Instantiates a new mailing list filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringbuildSQLQuery(java.lang.String strSQL)Builds the sql query.booleancontainsDescription()Contains description.booleancontainsName()Contains name.booleancontainsWorkgroup()Contains workgroup.java.lang.StringgetDescription()Returns the Descriptionjava.lang.StringgetName()Returns the Namejava.lang.StringgetWorkgroup()Returns the WorkgroupbooleanisWideSearch()Return true if the search is wide, false otherwisevoidsetDescription(java.lang.String strDescription)Sets the DescriptionvoidsetFilterValues(DAOUtil daoUtil)Sets the filter values.voidsetName(java.lang.String strName)Sets the NamevoidsetWideSearch(boolean isWideSearch)Set true if the search is wide, false otherwisevoidsetWorkgroup(java.lang.String strWorkgroup)Sets the Workgroup
-
-
-
Constructor Detail
-
MailingListFilter
public MailingListFilter()
Instantiates a new mailing list filter.
-
MailingListFilter
public MailingListFilter(MailingListFilter filter)
Instantiates a new mailing list filter.- Parameters:
filter- the filter
-
-
Method Detail
-
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
-
containsName
public boolean containsName()
Contains name.- Returns:
- true, if successful
-
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
-
containsDescription
public boolean containsDescription()
Contains description.- Returns:
- true, if successful
-
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
-
containsWorkgroup
public boolean containsWorkgroup()
Contains workgroup.- Returns:
- true, if successful
-
setWideSearch
public void setWideSearch(boolean isWideSearch)
Set true if the search is wide, false otherwise- Parameters:
isWideSearch- true if the search is wide, false otherwise
-
isWideSearch
public boolean isWideSearch()
Return true if the search is wide, false otherwise- Returns:
- true if the search is wide, false otherwise
-
buildSQLQuery
public java.lang.String buildSQLQuery(java.lang.String strSQL)
Builds the sql query.- Parameters:
strSQL- the str sql- Returns:
- the string
-
setFilterValues
public void setFilterValues(DAOUtil daoUtil)
Sets the filter values.- Parameters:
daoUtil- the new filter values
-
-