de.mguennewig.pobjsearch
Class PClassHtmlSearchForm

java.lang.Object
  extended by de.mguennewig.pobjform.AbstractPObjForm
      extended by de.mguennewig.pobjform.html.PObjHtmlForm
          extended by de.mguennewig.pobjsearch.PClassHtmlSearchForm
All Implemented Interfaces:
PObjForm, PClassSearchForm, SearchForm
Direct Known Subclasses:
HtmlSearchForm

public abstract class PClassHtmlSearchForm
extends PObjHtmlForm
implements SearchForm

PObject glue class for SearchForm.

This class is generated automatically. Look in data-definition- file for more details.


Nested Class Summary
static class PClassHtmlSearchForm.HtmlColumn
           
static class PClassHtmlSearchForm.HtmlCondition
           
static class PClassHtmlSearchForm.HtmlRestrict
           
static class PClassHtmlSearchForm.HtmlSort
           
 
Nested classes/interfaces inherited from interface de.mguennewig.pobjsearch.PClassSearchForm
PClassSearchForm.Column, PClassSearchForm.Condition, PClassSearchForm.Restrict, PClassSearchForm.Sort
 
Field Summary
 
Fields inherited from class de.mguennewig.pobjform.AbstractPObjForm
ERROR_INVALID_VALUE, ERROR_MANDATORY
 
Fields inherited from interface de.mguennewig.pobjsearch.PClassSearchForm
ADD_FILTER, COLUMN, CONDITION, DIRECTION, DIRECTION_ASCENDING, DIRECTION_DESCENDING, entryAddFilter, entryColumn, entryCondition, entryDirection, entryFilter, entryFilterMode, entryFilterName, entryFilterPattern, entryGo, entryJumpToPage, entryMode, entryNr, entryPage, entryPattern, entryResetFilters, entryRestrict, entryRows, entrySetFilter, entrySort, etypeDirection, etypeFilter, etypeFilterMode, etypeFilterName, etypeFilterPattern, etypeJumpToPage, etypeMode, etypeNr, etypePage, etypePattern, etypeRows, FILTER, FILTER_MODE, FILTER_MODE_CONTAINS, FILTER_MODE_ENDS_WITH, FILTER_MODE_EQUALS, FILTER_MODE_LIST_ALL, FILTER_MODE_STARTS_WITH, FILTER_NAME, FILTER_PATTERN, formSearchForm, GO, JUMP_TO_PAGE, MODE, MODE_CONTAINS, MODE_ENDS_WITH, MODE_EQUALS, MODE_LIST_ALL, MODE_STARTS_WITH, NR, PAGE, PATTERN, RESET_FILTERS, RESTRICT, ROWS, ROWS_10, ROWS_25, ROWS_50, ROWS_ALL, SET_FILTER, SORT
 
Method Summary
 boolean changedFilter()
          Tests whether the value of filter has changed.
 boolean changedJumpToPage()
          Tests whether the value of jumpToPage has changed.
 boolean changedMode()
          Tests whether the value of mode has changed.
 boolean changedPage()
          Tests whether the value of page has changed.
 boolean changedPattern()
          Tests whether the value of pattern has changed.
 boolean changedRestrict()
          Tests whether the value of restrict has changed.
 boolean changedRows()
          Tests whether the value of rows has changed.
 boolean changedSort()
          Tests whether the value of sort has changed.
 FormElement createFormElement(FormEntry entry)
          Creates a FormElement for one specified FormEntry.
 FormElement getElement(FormEntry e)
          Returns the FormElement for the specified FormEntry.
 java.lang.String getFilter()
          Returns the value of filter.
 java.lang.String getFilterForVisual()
          Returns the preferred string representation of filter.
 FormDecl getFormDecl()
          Returns the metadata used to create this class.
 java.lang.Integer getJumpToPage()
          Returns the value of jumpToPage.
 java.lang.String getJumpToPageForVisual()
          Returns the preferred string representation of jumpToPage.
 java.lang.String getMode()
          Returns the value of mode.
 java.lang.String getModeForVisual()
          Returns the preferred string representation of mode.
 java.lang.Integer getPage()
          Returns the value of page.
 java.lang.String getPageForVisual()
          Returns the preferred string representation of page.
 java.lang.String getPattern()
          Returns the value of pattern.
 java.lang.String getPatternForVisual()
          Returns the preferred string representation of pattern.
 PClassSearchForm.Restrict getRestrict()
          Returns the form element restrict.
 java.lang.Integer getRows()
          Returns the value of rows.
 java.lang.String getRowsForVisual()
          Returns the preferred string representation of rows.
 PClassSearchForm.Sort getSort()
          Returns the form element sort.
 boolean isAddFilterPressed()
          Tests whether the button addFilter has been pressed.
 boolean isGoPressed()
          Tests whether the button go has been pressed.
 boolean isResetFiltersPressed()
          Tests whether the button resetFilters has been pressed.
 boolean isSetFilterPressed()
          Tests whether the button setFilter has been pressed.
 void setFilter(java.lang.String v)
          Sets the value for filter.
 void setJumpToPage(java.lang.Integer v)
          Sets the value for jumpToPage.
 void setMode(java.lang.String v)
          Sets the value for mode.
 void setPage(java.lang.Integer v)
          Sets the value for page.
 void setPattern(java.lang.String v)
          Sets the value for pattern.
 void setRows(java.lang.Integer v)
          Sets the value for rows.
 
Methods inherited from class de.mguennewig.pobjform.html.PObjHtmlForm
narrowFormElement, read, write, write, write, writeElement
 
Methods inherited from class de.mguennewig.pobjform.AbstractPObjForm
addErrorMessage, addInvalidValueMessage, addMandatoryMessage, addMessage, addSuccessMessage, clearMessage, clearMessages, dumpMessages, extractIndexes, getContainer, getElementLabelKey, getElements, getMessageCount, getMessageCount, getMessageProperties, getMessages, getMessages, hasChanged, hasChanged, hasChanged, hasMessages, populateForm, populateForm, populateObject, populateObject, setContainer, setCurrentAsInitialState, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.mguennewig.pobjsearch.SearchForm
changedFilterParameters, initializeForListAll, isSearchRequest
 
Methods inherited from interface de.mguennewig.pobjform.PObjForm
addErrorMessage, addInvalidValueMessage, addMandatoryMessage, addMessage, addSuccessMessage, clearMessage, clearMessages, getContainer, getElements, getMessageCount, getMessageCount, getMessageProperties, getMessages, getMessages, hasChanged, hasChanged, hasChanged, hasMessages, populateForm, populateForm, populateObject, populateObject, setContainer, setCurrentAsInitialState, validate
 

Method Detail

createFormElement

public FormElement createFormElement(FormEntry entry)
Description copied from interface: PObjForm
Creates a FormElement for one specified FormEntry.

Specified by:
createFormElement in interface PObjForm
Overrides:
createFormElement in class PObjHtmlForm

getElement

public FormElement getElement(FormEntry e)
Description copied from interface: PObjForm
Returns the FormElement for the specified FormEntry.

Specified by:
getElement in interface PObjForm

getFormDecl

public FormDecl getFormDecl()
Returns the metadata used to create this class.

Specified by:
getFormDecl in interface PObjForm

getFilter

public final java.lang.String getFilter()
Returns the value of filter.

Specified by:
getFilter in interface PClassSearchForm

getFilterForVisual

public java.lang.String getFilterForVisual()
Returns the preferred string representation of filter.

Specified by:
getFilterForVisual in interface PClassSearchForm
See Also:
getFilter()

setFilter

public void setFilter(java.lang.String v)
Sets the value for filter.

Specified by:
setFilter in interface PClassSearchForm

changedFilter

public final boolean changedFilter()
Tests whether the value of filter has changed.

Specified by:
changedFilter in interface PClassSearchForm

getMode

public final java.lang.String getMode()
Returns the value of mode.

Specified by:
getMode in interface PClassSearchForm

getModeForVisual

public java.lang.String getModeForVisual()
Returns the preferred string representation of mode.

Specified by:
getModeForVisual in interface PClassSearchForm
See Also:
getMode()

setMode

public void setMode(java.lang.String v)
Sets the value for mode.

Specified by:
setMode in interface PClassSearchForm

changedMode

public final boolean changedMode()
Tests whether the value of mode has changed.

Specified by:
changedMode in interface PClassSearchForm

getPattern

public final java.lang.String getPattern()
Returns the value of pattern.

Specified by:
getPattern in interface PClassSearchForm

getPatternForVisual

public java.lang.String getPatternForVisual()
Returns the preferred string representation of pattern.

Specified by:
getPatternForVisual in interface PClassSearchForm
See Also:
getPattern()

setPattern

public void setPattern(java.lang.String v)
Sets the value for pattern.

Specified by:
setPattern in interface PClassSearchForm

changedPattern

public final boolean changedPattern()
Tests whether the value of pattern has changed.

Specified by:
changedPattern in interface PClassSearchForm

isSetFilterPressed

public final boolean isSetFilterPressed()
Tests whether the button setFilter has been pressed.

Specified by:
isSetFilterPressed in interface PClassSearchForm

isAddFilterPressed

public final boolean isAddFilterPressed()
Tests whether the button addFilter has been pressed.

Specified by:
isAddFilterPressed in interface PClassSearchForm

isResetFiltersPressed

public final boolean isResetFiltersPressed()
Tests whether the button resetFilters has been pressed.

Specified by:
isResetFiltersPressed in interface PClassSearchForm

getPage

public final java.lang.Integer getPage()
Returns the value of page.

Specified by:
getPage in interface PClassSearchForm

getPageForVisual

public java.lang.String getPageForVisual()
Returns the preferred string representation of page.

Specified by:
getPageForVisual in interface PClassSearchForm
See Also:
getPage()

setPage

public void setPage(java.lang.Integer v)
Sets the value for page.

Specified by:
setPage in interface PClassSearchForm

changedPage

public final boolean changedPage()
Tests whether the value of page has changed.

Specified by:
changedPage in interface PClassSearchForm

getRows

public final java.lang.Integer getRows()
Returns the value of rows.

Specified by:
getRows in interface PClassSearchForm

getRowsForVisual

public java.lang.String getRowsForVisual()
Returns the preferred string representation of rows.

Specified by:
getRowsForVisual in interface PClassSearchForm
See Also:
getRows()

setRows

public void setRows(java.lang.Integer v)
Sets the value for rows.

Specified by:
setRows in interface PClassSearchForm

changedRows

public final boolean changedRows()
Tests whether the value of rows has changed.

Specified by:
changedRows in interface PClassSearchForm

getJumpToPage

public final java.lang.Integer getJumpToPage()
Returns the value of jumpToPage.

Specified by:
getJumpToPage in interface PClassSearchForm

getJumpToPageForVisual

public java.lang.String getJumpToPageForVisual()
Returns the preferred string representation of jumpToPage.

Specified by:
getJumpToPageForVisual in interface PClassSearchForm
See Also:
getJumpToPage()

setJumpToPage

public void setJumpToPage(java.lang.Integer v)
Sets the value for jumpToPage.

Specified by:
setJumpToPage in interface PClassSearchForm

changedJumpToPage

public final boolean changedJumpToPage()
Tests whether the value of jumpToPage has changed.

Specified by:
changedJumpToPage in interface PClassSearchForm

isGoPressed

public final boolean isGoPressed()
Tests whether the button go has been pressed.

Specified by:
isGoPressed in interface PClassSearchForm

getRestrict

public final PClassSearchForm.Restrict getRestrict()
Returns the form element restrict.

Specified by:
getRestrict in interface PClassSearchForm

changedRestrict

public final boolean changedRestrict()
Tests whether the value of restrict has changed.

Specified by:
changedRestrict in interface PClassSearchForm

getSort

public final PClassSearchForm.Sort getSort()
Returns the form element sort.

Specified by:
getSort in interface PClassSearchForm

changedSort

public final boolean changedSort()
Tests whether the value of sort has changed.

Specified by:
changedSort in interface PClassSearchForm