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

java.lang.Object
  extended by info.magnolia.cms.gui.controlx.search.SearchControlDefinition
Direct Known Subclasses:
SelectSearchControlDefinition

public class SearchControlDefinition
extends Object

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

Constructor Summary
SearchControlDefinition()
          Default type is edit.
SearchControlDefinition(String name, String label)
           
SearchControlDefinition(String name, String label, String type)
           
 
Method Summary
 String getColumn()
           
 String getJsField()
           
 String getLabel()
           
 String getName()
           
 SearchControl getSearchControlInstance(String value, String constraint)
           
 String getType()
           
 void setColumn(String column)
           
 void setLabel(String label)
           
 void setName(String name)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchControlDefinition

public SearchControlDefinition()
Default type is edit.


SearchControlDefinition

public SearchControlDefinition(String name,
                               String label)

SearchControlDefinition

public SearchControlDefinition(String name,
                               String label,
                               String type)
Method Detail

getJsField

public String getJsField()

getSearchControlInstance

public SearchControl getSearchControlInstance(String value,
                                              String constraint)

getType

public String getType()
Returns:
Returns the type.

setType

public void setType(String type)
Parameters:
type - The type to set.

getLabel

public String getLabel()
Returns:
Returns the label.

setLabel

public void setLabel(String label)
Parameters:
label - The label to set.

getName

public String getName()
Returns:
Returns the name.

setName

public void setName(String name)
Parameters:
name - The name to set.

getColumn

public String getColumn()
Returns:
Returns the column.

setColumn

public void setColumn(String column)
Parameters:
column - The column to set.


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