fr.paris.lutece.portal.business.mailinglist
Class MailingListFilter

java.lang.Object
  extended by fr.paris.lutece.portal.business.mailinglist.MailingListFilter
All Implemented Interfaces:
Serializable

public class MailingListFilter
extends Object
implements Serializable

MailingListFilter

See Also:
Serialized Form

Constructor Summary
MailingListFilter()
          Instantiates a new mailing list filter.
MailingListFilter(MailingListFilter filter)
          Instantiates a new mailing list filter.
 
Method Summary
 String buildSQLQuery(String strSQL)
          Builds the sql query.
 boolean containsDescription()
          Contains description.
 boolean containsName()
          Contains name.
 boolean containsWorkgroup()
          Contains workgroup.
 String getDescription()
          Returns the Description
 String getName()
          Returns the Name
 String getWorkgroup()
          Returns the Workgroup
 boolean isWideSearch()
          Return true if the search is wide, false otherwise
 void setDescription(String strDescription)
          Sets the Description
 void setFilterValues(DAOUtil daoUtil)
          Sets the filter values.
 void setName(String strName)
          Sets the Name
 void setWideSearch(boolean isWideSearch)
          Set true if the search is wide, false otherwise
 void setWorkgroup(String strWorkgroup)
          Sets the Workgroup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 String getName()
Returns the Name

Returns:
The Name

setName

public void setName(String strName)
Sets the Name

Parameters:
strName - The Name

containsName

public boolean containsName()
Contains name.

Returns:
true, if successful

getDescription

public String getDescription()
Returns the Description

Returns:
The Description

setDescription

public void setDescription(String strDescription)
Sets the Description

Parameters:
strDescription - The Description

containsDescription

public boolean containsDescription()
Contains description.

Returns:
true, if successful

getWorkgroup

public String getWorkgroup()
Returns the Workgroup

Returns:
The Workgroup

setWorkgroup

public void setWorkgroup(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 String buildSQLQuery(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


Copyright © 2014 Mairie de Paris. All Rights Reserved.