info.magnolia.cms.gui.controlx.search
Class SearchControl

java.lang.Object
  extended by info.magnolia.cms.gui.controlx.impl.AbstractControl
      extended by info.magnolia.cms.gui.controlx.search.SearchControl
All Implemented Interfaces:
Control
Direct Known Subclasses:
DateSearchControl

public class SearchControl
extends AbstractControl

This is a real control instance

Version:
$Revision: 41135 $ ($Author: gjoseph $)
Author:
Philipp Bracher

Field Summary
static String RENDER_TYPE
           
 
Constructor Summary
SearchControl()
           
SearchControl(SearchControlDefinition definition, String value, String condition)
           
 
Method Summary
 String getConstraint()
           
 SearchControlDefinition getDefinition()
           
 SearchQueryExpression getExpression()
           
 String getValue()
           
 void setConstraint(String condition)
           
 void setDefinition(SearchControlDefinition definition)
           
 void setValue(String value)
           
 
Methods inherited from class info.magnolia.cms.gui.controlx.impl.AbstractControl
addChild, getChild, getChildren, getName, getParent, getRenderer, getRenderKit, getRenderType, removeAllChildren, removeChild, render, setName, setParent, setRenderer, setRenderKit, setRenderType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RENDER_TYPE

public static final String RENDER_TYPE
See Also:
Constant Field Values
Constructor Detail

SearchControl

public SearchControl()

SearchControl

public SearchControl(SearchControlDefinition definition,
                     String value,
                     String condition)
Parameters:
definition -
value -
constraint -
Method Detail

getConstraint

public String getConstraint()
Returns:
Returns the constraint.

setConstraint

public void setConstraint(String condition)
Parameters:
constraint - The constraint to set.

getDefinition

public SearchControlDefinition getDefinition()
Returns:
Returns the definition.

setDefinition

public void setDefinition(SearchControlDefinition definition)
Parameters:
definition - The definition to set.

getValue

public String getValue()
Returns:
Returns the value.

setValue

public void setValue(String value)
Parameters:
value - The value to set.

getExpression

public SearchQueryExpression getExpression()
Returns:


Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.