public class FavoriteFilter extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL
The Constant ALL.
|
| Constructor and Description |
|---|
FavoriteFilter()
CONSTRUCTOR INIT
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildSQLQuery(String strSQL)
Builds the sql query.
|
boolean |
containsExtendableResourceType()
Contains Id ExtendableResource.
|
boolean |
containsIdExtendableResource()
Contains Id ExtendableResource.
|
boolean |
containsIdFavorite()
Contains IdFavorite.
|
String |
getExtendableResourceType()
GET ExtendableResourceType
|
String |
getIdExtendableResource()
Get Id ExtendableResource
|
int |
getIdFavorite()
Get Id favorite
|
boolean |
isWideSearch()
Check if the filter is applied to a wide search or not.
|
void |
setExtendableResourceType(String strExtendableResourceType)
SET the extendable resource type
|
void |
setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil)
Sets the filter values.
|
void |
setIdExtendableResource(String strIdExtendableResource)
Set Id ExtendableResource
|
void |
setIdFavorite(int nIdFavorite)
Set the Id favorite
|
void |
setIsWideSearch(boolean bIsWideSearch)
Set true if the filter is applied to a wide search.
|
public static final int ALL
public String getIdExtendableResource()
public void setIdExtendableResource(String strIdExtendableResource)
strIdExtendableResource - the Id ExtendableResourcepublic String getExtendableResourceType()
public void setExtendableResourceType(String strExtendableResourceType)
strExtendableResourceType - the resource typepublic int getIdFavorite()
public void setIdFavorite(int nIdFavorite)
nIdFavorite - Id favoritepublic boolean isWideSearch()
public void setIsWideSearch(boolean bIsWideSearch)
bIsWideSearch - true if it a wide search, false otherwisepublic boolean containsIdFavorite()
public boolean containsIdExtendableResource()
public boolean containsExtendableResourceType()
public String buildSQLQuery(String strSQL)
strSQL - the str sqlpublic void setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil)
daoUtil - the new filter valuesCopyright © 2018 City of Paris. All rights reserved.