net.sourceforge.openutils.mgnlmedia.media.advancedsearch
Class SearchFilterAbstract

java.lang.Object
  extended by net.sourceforge.openutils.mgnlmedia.media.advancedsearch.SearchFilterAbstract
All Implemented Interfaces:
SearchFilter
Direct Known Subclasses:
SearchFilterBeetweenCreationDate, SearchFilterEmpty, SearchFilterOptionProvider, SearchFilterPath, SearchFilterStatusModified, SearchFilterText, SearchFilterUUID

public class SearchFilterAbstract
extends Object
implements SearchFilter

Version:
$Id: SearchFilterAbstract.java 3269 2011-01-23 19:06:39Z fgiust $
Author:
cstrappazzon

Field Summary
protected  org.slf4j.Logger log
          Logger.
 
Constructor Summary
SearchFilterAbstract()
           
 
Method Summary
 void addSubfilters(String name, SearchFilter subfilter)
           
 String getBasePath(String parameter, javax.servlet.http.HttpServletRequest request)
          
 String getControl()
          Returns the type.
 List<net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.Criterion> getCriterionList(String parameter, javax.servlet.http.HttpServletRequest request)
          
 String getLabel()
          Returns the label.
 SortMode getSorting(String parameter, javax.servlet.http.HttpServletRequest request)
          
 Map<String,SearchFilter> getSubfilters()
          Returns the subfilters.
 void setControl(String type)
          Sets the type.
 void setLabel(String label)
          Sets the label.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.slf4j.Logger log
Logger.

Constructor Detail

SearchFilterAbstract

public SearchFilterAbstract()
Method Detail

getSubfilters

public Map<String,SearchFilter> getSubfilters()
Returns the subfilters.

Returns:
the subfilters

addSubfilters

public void addSubfilters(String name,
                          SearchFilter subfilter)

getBasePath

public String getBasePath(String parameter,
                          javax.servlet.http.HttpServletRequest request)

Specified by:
getBasePath in interface SearchFilter

getCriterionList

public List<net.sourceforge.openutils.mgnlcriteria.jcr.query.criterion.Criterion> getCriterionList(String parameter,
                                                                                                   javax.servlet.http.HttpServletRequest request)

Specified by:
getCriterionList in interface SearchFilter

getSorting

public SortMode getSorting(String parameter,
                           javax.servlet.http.HttpServletRequest request)

Specified by:
getSorting in interface SearchFilter

getControl

public String getControl()
Returns the type.

Returns:
the type

setControl

public void setControl(String type)
Sets the type.

Parameters:
type - the type to set

getLabel

public String getLabel()
Returns the label.

Returns:
the label

setLabel

public void setLabel(String label)
Sets the label.

Parameters:
label - the label to set


Copyright © 2008-2011 Openmind. All Rights Reserved.