org.broadleafcommerce.openadmin.server.service.persistence.module.criteria
Class FilterMapping

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.service.persistence.module.criteria.FilterMapping

public class FilterMapping
extends Object

Author:
Jeff Fischer

Field Summary
protected  FieldPath fieldPath
           
protected  List<String> filterValues
           
protected  String fullPropertyName
           
static String RANGE_SPECIFIER_REGEX
           
protected  Restriction restriction
           
protected  SortDirection sortDirection
           
 
Constructor Summary
FilterMapping()
           
 
Method Summary
 FieldPath getFieldPath()
           
 List<String> getFilterValues()
           
 String getFullPropertyName()
           
 Restriction getRestriction()
           
 SortDirection getSortDirection()
           
protected  String[] parseFilterValue(String filterValue)
           
 void setFieldPath(FieldPath fieldPath)
           
 void setFilterValues(List<String> filterValues)
           
 void setFullPropertyName(String fullPropertyName)
           
 void setRestriction(Restriction restriction)
           
 void setSortDirection(SortDirection sortDirection)
           
 FilterMapping withFieldPath(FieldPath fieldPath)
           
 FilterMapping withFilterValues(List<String> filterValues)
           
 FilterMapping withFullPropertyName(String fullPropertyName)
           
 FilterMapping withRestriction(Restriction restriction)
           
 FilterMapping withSortDirection(SortDirection sortDirection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RANGE_SPECIFIER_REGEX

public static final String RANGE_SPECIFIER_REGEX
See Also:
Constant Field Values

fullPropertyName

protected String fullPropertyName

filterValues

protected List<String> filterValues

sortDirection

protected SortDirection sortDirection

restriction

protected Restriction restriction

fieldPath

protected FieldPath fieldPath
Constructor Detail

FilterMapping

public FilterMapping()
Method Detail

withFullPropertyName

public FilterMapping withFullPropertyName(String fullPropertyName)

withFilterValues

public FilterMapping withFilterValues(List<String> filterValues)

withSortDirection

public FilterMapping withSortDirection(SortDirection sortDirection)

withRestriction

public FilterMapping withRestriction(Restriction restriction)

withFieldPath

public FilterMapping withFieldPath(FieldPath fieldPath)

getFullPropertyName

public String getFullPropertyName()

setFullPropertyName

public void setFullPropertyName(String fullPropertyName)

getFilterValues

public List<String> getFilterValues()

setFilterValues

public void setFilterValues(List<String> filterValues)

getSortDirection

public SortDirection getSortDirection()

setSortDirection

public void setSortDirection(SortDirection sortDirection)

getRestriction

public Restriction getRestriction()

setRestriction

public void setRestriction(Restriction restriction)

getFieldPath

public FieldPath getFieldPath()

setFieldPath

public void setFieldPath(FieldPath fieldPath)

parseFilterValue

protected String[] parseFilterValue(String filterValue)


Copyright © 2013. All Rights Reserved.