@Component(value="blDelimeterAwareCollectionPageSearchProcessor") public class DelimiterAwareCollectionPageSearchProcessor extends DefaultCollectionPageSearchProcessor
DefaultCollectionPageSearchProcessor
except that it assumes that the page property value
could be a longer string separated by a delimiter. The default implementation uses a comma for a delimiter.
This implementation provides the same functionality as the DefaultCollectionPageSearchProcessor
with
the additional feature of searching on delimited strings.DefaultCollectionPageSearchProcessor}
Modifier and Type | Field and Description |
---|---|
protected String |
delimiter |
LOG
advancedPageService, BLC_RULE_MAP_PARAM, REQUEST_DTO
Constructor and Description |
---|
DelimiterAwareCollectionPageSearchProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
getDelimiter()
Gets the delimiter used to differentiate between multi-valued strings
|
boolean |
isMatch(org.broadleafcommerce.common.page.dto.PageDTO dto,
String filterProperty,
Object contentValue,
String filterValue) |
void |
setDelimiter(String delimiter)
Set the delimiter used to differentiate between the multi-valued strings
|
search
buildMvelParameters, constructSearchResultObject, fetchAllPagesAssociatedWithType, sortResults
protected String delimiter
public DelimiterAwareCollectionPageSearchProcessor()
public boolean isMatch(org.broadleafcommerce.common.page.dto.PageDTO dto, String filterProperty, Object contentValue, String filterValue)
isMatch
in class DefaultCollectionPageSearchProcessor
public String getDelimiter()
public void setDelimiter(String delimiter)
Copyright © 2020. All rights reserved.