com.sun.portal.search.providers
Class SearchEditFormBean

java.lang.Object
  |
  +--com.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 descCheckbox(String s)
          Compares the parameter with the description property
 String docDisplayCheckbox(String s)
          Compares the parameter with the documentDisplay property
 void setCategorySearch(Boolean cs)
          Sets the categorySearch property
 void setDefaultSearch(Boolean ds)
          Sets the boolean defaultSearch property
 void setDescription(String d)
          Sets the description property
 void setDocumentDisplay(String dd)
          Sets the documentDisplay property
 
Methods inherited from class java.lang.Object
equals, 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

setDescription

public void setDescription(String d)
Sets the description property
Parameters:
d - is the value for description

setDocumentDisplay

public void setDocumentDisplay(String dd)
Sets the documentDisplay property
Parameters:
dd - is the value for documentDisplay

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

docDisplayCheckbox

public String docDisplayCheckbox(String s)
Compares the parameter with the documentDisplay property
Returns:
'CHECKED' if equal and empty string if unequal