public class ResourceExtenderDTOFilter extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
WILDCARD_ID_RESOURCE
The Constant WILDCARD_ID_RESOURCE.
|
| Constructor and Description |
|---|
ResourceExtenderDTOFilter()
Instantiates a new resource extender dto filter.
|
ResourceExtenderDTOFilter(String strExtenderType,
String strIdExtendableResource,
String strExtendableResourceType)
Instantiates a new resource extender dto filter.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildSQLQuery(String strSQL)
Builds the sql query.
|
boolean |
containsAttributeName()
Contains attribute name.
|
boolean |
containsFilterExtendableResourceType()
Contains extendable resource type.
|
boolean |
containsFilterExtenderType()
Contains extender type.
|
boolean |
containsFilterIdExtendableResource()
Contains id extendable resource.
|
boolean |
containsFilterIdExtender()
Contains id extender.
|
String |
getFilterExtendableResourceType() |
String |
getFilterExtenderType() |
String |
getFilterIdExtendableResource() |
int |
getFilterIdExtender() |
String |
getSortedAttributeName()
Gets the sorted attribute name.
|
void |
init(javax.servlet.http.HttpServletRequest request)
Init.
|
boolean |
isAscSort()
Checks if is asc sort.
|
boolean |
isWideSearch()
Return true if the search is wide, false otherwise
|
void |
setAscSort(boolean bAscSort)
Sets the asc sort.
|
void |
setFilterExtendableResourceType(String strExtendableResourceType) |
void |
setFilterExtenderType(String strExtenderType) |
void |
setFilterIdExtendableResource(String strIdExtendableResource) |
void |
setFilterIdExtender(int nIdExtender) |
void |
setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil)
Sets the filter values.
|
void |
setSortedAttributeName(String strSortedAttributeName)
Sets the sorted attribute name.
|
void |
setWideSearch(boolean isWideSearch)
Set true if the search is wide, false otherwise
|
public static final String WILDCARD_ID_RESOURCE
public ResourceExtenderDTOFilter()
public ResourceExtenderDTOFilter(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType)
strExtenderType - the str extender typestrIdExtendableResource - the str id extendable resourcestrExtendableResourceType - the str extendable resource typepublic void init(javax.servlet.http.HttpServletRequest request)
request - the requestpublic int getFilterIdExtender()
public void setFilterIdExtender(int nIdExtender)
nIdExtender - the nIdExtender to setpublic boolean containsFilterIdExtender()
public String getFilterExtenderType()
public void setFilterExtenderType(String strExtenderType)
strExtenderType - the strExtenderType to setpublic boolean containsFilterExtenderType()
public String getFilterIdExtendableResource()
public void setFilterIdExtendableResource(String strIdExtendableResource)
strIdExtendableResource - the strIdExtendableResource to setpublic boolean containsFilterIdExtendableResource()
public String getFilterExtendableResourceType()
public void setFilterExtendableResourceType(String strExtendableResourceType)
strExtendableResourceType - the extendableResourceType to setpublic boolean containsFilterExtendableResourceType()
public void setWideSearch(boolean isWideSearch)
isWideSearch - true if the search is wide, false otherwisepublic boolean isWideSearch()
public String getSortedAttributeName()
public void setSortedAttributeName(String strSortedAttributeName)
strSortedAttributeName - the new sorted attribute namepublic boolean containsAttributeName()
public boolean isAscSort()
public void setAscSort(boolean bAscSort)
bAscSort - the new asc sortpublic String buildSQLQuery(String strSQL)
strSQL - the str sqlpublic void setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil)
daoUtil - the new filter valuesCopyright © 2015 City of Paris. All rights reserved.