com.plumtree.portalpages.common.search
Class FilterView
java.lang.Object
com.plumtree.portalpages.common.search.EditorLikeView
com.plumtree.portalpages.common.search.FilterView
- All Implemented Interfaces:
- IManagedObject, IMVCObject, IView
- Direct Known Subclasses:
- ASFilterView, DynamicRulesView, SavSrchFilterView, SettingsView
public abstract class FilterView
- extends EditorLikeView
- Author:
- CraigS, based on MikeS code
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterView
public FilterView()
Display
public HTMLElement Display()
- Displays the HTML for search criteria filter in the advanced search settings page.
- Specified by:
Display
in interface IView
- Specified by:
Display
in class EditorLikeView
- Returns:
- HTMLElement
DisplayJavascript
public HTMLScript DisplayJavascript()
- Description copied from interface:
IView
- This method returns the HTMLScript that encompasses the Javascript on the page.
This method should be called by IDisplayPages and the resulting Javascript should
be put in the HTMLHead element. This can return null.
- Specified by:
DisplayJavascript
in interface IView
- Overrides:
DisplayJavascript
in class EditorLikeView
- Returns:
QueryContainsValidationProblemsOnRender
public boolean QueryContainsValidationProblemsOnRender()
GetDoValidation
protected boolean GetDoValidation()
- Subclasses may override to turn off the display of errors
under certain circumstances
GetUseJavascriptStatementButtons
protected boolean GetUseJavascriptStatementButtons()
- Returns:
SetAddClauseLabel
protected void SetAddClauseLabel(java.lang.String s)
- Parameters:
s
-
SetAddConditionLabel
protected void SetAddConditionLabel(java.lang.String s)
- Parameters:
s
-
SetAllowSubclauses
protected void SetAllowSubclauses(boolean b)
- Parameters:
b
-
SetErrorsNextToTextBoxes
protected void SetErrorsNextToTextBoxes(boolean b)
- Parameters:
b
-
SetPropertyLabel
protected void SetPropertyLabel(java.lang.String s)
- Parameters:
s
-
SetRemoveClauseLabel
protected void SetRemoveClauseLabel(java.lang.String s)
- Parameters:
s
-
SetRemoveConditionLabel
protected void SetRemoveConditionLabel(java.lang.String s)
- Parameters:
s
-
SetRepostAction
protected void SetRepostAction(int a)
- Parameters:
a
-
SetShowSearchBox
protected void SetShowSearchBox(boolean b)
- Parameters:
size
-
SetStatementCount
protected void SetStatementCount(int size)
- Parameters:
size
-
SetTextSearchAboveButtons
protected void SetTextSearchAboveButtons()
SetTextboxLabel
protected void SetTextboxLabel(HTMLElement e)
- Parameters:
e
-
SetAddTestButton
public void SetAddTestButton()
SetUseJavascriptStatementButtons
protected void SetUseJavascriptStatementButtons(boolean b)
- Parameters:
b
-
SetViewTitle
protected void SetViewTitle(java.lang.String s)
- Parameters:
s
-
SetWidth
protected void SetWidth(java.lang.String s)
- Parameters:
s
-
SetUseCheckboxLayout
public void SetUseCheckboxLayout()
SetTestButtonScript
public void SetTestButtonScript(java.lang.String script)
SetTestButtonOnClickScript
public void SetTestButtonOnClickScript(java.lang.String script)
GetPagePreFormContent
public static HTMLElementCollection GetPagePreFormContent(AActivitySpace asOwner)
TestDisplay
public HTMLElement TestDisplay()