Class ResourceExtenderDTOFilter
java.lang.Object
fr.paris.lutece.plugins.extend.business.extender.ResourceExtenderDTOFilter
- All Implemented Interfaces:
Serializable
ResourceExtenderDTOFilter
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new resource extender dto filter.ResourceExtenderDTOFilter(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType) Instantiates a new resource extender dto filter. -
Method Summary
Modifier and TypeMethodDescriptionbuildSQLQuery(String strSQL) Builds the sql query.booleanContains attribute name.booleanContains extendable resource type.booleanContains extender type.booleanContains id extendable resource.booleanContains id extender.intGets the sorted attribute name.voidinit(javax.servlet.http.HttpServletRequest request) Init.booleanChecks if is asc sort.booleanShould the search include the wildcard resource IDbooleanReturn true if the search is wide, false otherwisevoidsetAscSort(boolean bAscSort) Sets the asc sort.voidsetFilterExtendableResourceType(String strExtendableResourceType) voidsetFilterExtenderType(String strExtenderType) voidsetFilterIdExtendableResource(String strIdExtendableResource) voidsetFilterIdExtender(int nIdExtender) voidsetFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil) Sets the filter values.voidsetIncludeWildcardResource(boolean includeWildcardResource) Settrueif the search should include the wildcard resource IDvoidsetSortedAttributeName(String strSortedAttributeName) Sets the sorted attribute name.voidsetWideSearch(boolean isWideSearch) Set true if the search is wide, false otherwise
-
Field Details
-
WILDCARD_ID_RESOURCE
The Constant WILDCARD_ID_RESOURCE.- See Also:
-
-
Constructor Details
-
ResourceExtenderDTOFilter
public ResourceExtenderDTOFilter()Instantiates a new resource extender dto filter. -
ResourceExtenderDTOFilter
public ResourceExtenderDTOFilter(String strExtenderType, String strIdExtendableResource, String strExtendableResourceType) Instantiates a new resource extender dto filter.- Parameters:
strExtenderType- the str extender typestrIdExtendableResource- the str id extendable resourcestrExtendableResourceType- the str extendable resource type
-
-
Method Details
-
init
public void init(javax.servlet.http.HttpServletRequest request) Init.- Parameters:
request- the request
-
getFilterIdExtender
public int getFilterIdExtender()- Returns:
- the nIdExtender
-
setFilterIdExtender
public void setFilterIdExtender(int nIdExtender) - Parameters:
nIdExtender- the nIdExtender to set
-
containsFilterIdExtender
public boolean containsFilterIdExtender()Contains id extender.- Returns:
- true, if successful
-
getFilterExtenderType
- Returns:
- the strExtenderType
-
setFilterExtenderType
- Parameters:
strExtenderType- the strExtenderType to set
-
containsFilterExtenderType
public boolean containsFilterExtenderType()Contains extender type.- Returns:
- true, if successful
-
getFilterIdExtendableResource
- Returns:
- the strIdExtendableResource
-
setFilterIdExtendableResource
- Parameters:
strIdExtendableResource- the strIdExtendableResource to set
-
containsFilterIdExtendableResource
public boolean containsFilterIdExtendableResource()Contains id extendable resource.- Returns:
- true, if successful
-
getFilterExtendableResourceType
- Returns:
- the extendableResourceType
-
setFilterExtendableResourceType
- Parameters:
strExtendableResourceType- the extendableResourceType to set
-
containsFilterExtendableResourceType
public boolean containsFilterExtendableResourceType()Contains extendable resource type.- 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
-
setIncludeWildcardResource
public void setIncludeWildcardResource(boolean includeWildcardResource) Settrueif the search should include the wildcard resource ID- Parameters:
includeWildcardResource-trueif the search should include the wildcard resource ID
-
isIncludeWildcardResource
public boolean isIncludeWildcardResource()Should the search include the wildcard resource ID- Returns:
trueif the search should include the wildcard resource ID,falseotherwise
-
getSortedAttributeName
Gets the sorted attribute name.- Returns:
- the sorted attribute name
-
setSortedAttributeName
Sets the sorted attribute name.- Parameters:
strSortedAttributeName- the new sorted attribute name
-
containsAttributeName
public boolean containsAttributeName()Contains attribute name.- Returns:
- true, if successful
-
isAscSort
public boolean isAscSort()Checks if is asc sort.- Returns:
- true, if is asc sort
-
setAscSort
public void setAscSort(boolean bAscSort) Sets the asc sort.- Parameters:
bAscSort- the new asc sort
-
buildSQLQuery
Builds the sql query.- Parameters:
strSQL- the str sql- Returns:
- the string
-
setFilterValues
public void setFilterValues(fr.paris.lutece.util.sql.DAOUtil daoUtil) Sets the filter values.- Parameters:
daoUtil- the new filter values
-