com.sun.portal.search.providers
Class SearchEditFormBean

java.lang.Object
  extended bycom.sun.portal.search.providers.SearchEditFormBean
All Implemented Interfaces:
Serializable

public class SearchEditFormBean
extends Object
implements Serializable

SearchEditForm is a helper bean for the search edit jsp. The class uses the bean reflection property and has accessor methods for its properties.

See Also:
Serialized Form

Constructor Summary
SearchEditFormBean()
           
 
Method Summary
 String booleanCheckBox(Boolean b)
          Returns 'CHECKED' if the parameter is true and false otherwise
 String defaultModeSelection(String s)
           
 String descCheckbox(String s)
          Compares the parameter with the description property
 String hitsSelection(int v)
           
 void setCategorySearch(Boolean cs)
          Sets the categorySearch property
 void setDefaultMode(String dd)
          Sets the default search mode property
 void setDefaultSearch(Boolean ds)
          Sets the boolean defaultSearch property
 void setDescription(String d)
          Sets the description property
 void setHits(Integer viewhits)
          Sets the Integer viewHits property
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchEditFormBean

public SearchEditFormBean()
Method Detail

setCategorySearch

public void setCategorySearch(Boolean cs)
Sets the categorySearch property

Parameters:
cs - is the value for the categorySearch property

setDefaultSearch

public void setDefaultSearch(Boolean ds)
Sets the boolean defaultSearch property

Parameters:
ds - value for defaultSearch

setHits

public void setHits(Integer viewhits)
Sets the Integer viewHits property

Parameters:
viewhits - value for viewHits

setDescription

public void setDescription(String d)
Sets the description property

Parameters:
d - is the value for description

setDefaultMode

public void setDefaultMode(String dd)
Sets the default search mode property

Parameters:
dd - is the value for default Search mode

booleanCheckBox

public String booleanCheckBox(Boolean b)
Returns 'CHECKED' if the parameter is true and false otherwise

Returns:
'CHECKED' if the parameter is true and empty string otherwise

descCheckbox

public String descCheckbox(String s)
Compares the parameter with the description property

Returns:
'CHECKED' if equal and empty string if unequal

defaultModeSelection

public String defaultModeSelection(String s)

hitsSelection

public String hitsSelection(int v)