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: 41137 $ ($Author: gjoseph $)
Author:
Philipp Bracher

Field Summary
static java.lang.String RENDER_TYPE
           
 
Constructor Summary
SearchControl()
           
SearchControl(SearchControlDefinition definition, java.lang.String value, java.lang.String condition)
           
 
Method Summary
 java.lang.String getConstraint()
           
 SearchControlDefinition getDefinition()
           
 SearchQueryExpression getExpression()
           
 java.lang.String getValue()
           
 void setConstraint(java.lang.String condition)
           
 void setDefinition(SearchControlDefinition definition)
           
 void setValue(java.lang.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 java.lang.String RENDER_TYPE
See Also:
Constant Field Values
Constructor Detail

SearchControl

public SearchControl()

SearchControl

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

getConstraint

public java.lang.String getConstraint()
Returns:
Returns the constraint.

setConstraint

public void setConstraint(java.lang.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 java.lang.String getValue()
Returns:
Returns the value.

setValue

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

getExpression

public SearchQueryExpression getExpression()
Returns:


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