Class MailingListFilter
java.lang.Object
fr.paris.lutece.portal.business.mailinglist.MailingListFilter
- All Implemented Interfaces:
Serializable
MailingListFilter
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new mailing list filter.MailingListFilter(MailingListFilter filter) Instantiates a new mailing list filter. -
Method Summary
Modifier and TypeMethodDescriptionbuildSQLQuery(String strSQL) Builds the sql query.booleanContains description.booleanContains name.booleanContains workgroup.Returns the DescriptiongetName()Returns the NameReturns the WorkgroupbooleanReturn true if the search is wide, false otherwisevoidsetDescription(String strDescription) Sets the DescriptionvoidsetFilterValues(DAOUtil daoUtil) Sets the filter values.voidSets the NamevoidsetWideSearch(boolean isWideSearch) Set true if the search is wide, false otherwisevoidsetWorkgroup(String strWorkgroup) Sets the Workgroup
-
Constructor Details
-
MailingListFilter
public MailingListFilter()Instantiates a new mailing list filter. -
MailingListFilter
Instantiates a new mailing list filter.- Parameters:
filter- the filter
-
-
Method Details
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
containsName
public boolean containsName()Contains name.- Returns:
- true, if successful
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the Description- Parameters:
strDescription- The Description
-
containsDescription
public boolean containsDescription()Contains description.- Returns:
- true, if successful
-
getWorkgroup
Returns the Workgroup- Returns:
- The Workgroup
-
setWorkgroup
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
Builds the sql query.- Parameters:
strSQL- the str sql- Returns:
- the string
-
setFilterValues
Sets the filter values.- Parameters:
daoUtil- the new filter values
-