ArticleSearchForm

This is the abstract super class of all article search forms.

Struts config
<form-bean
  name="com.escenic.search.ArticleSearchForm"
  type="com.escenic.search.ArticleSearchForm"/>
Action Error

This are the errors returned by the validate method found on this action form.

errors.integer

(On the includeSectionId property.) when the value of this property can't be converted to a integer

errors.required

(On the includeSubSections property.) when a value is missing for this property

errors.integer

(On the excludeSectionId property.) when we are not able to produce a Integer.

errors.required

(On the maxRows property.) when a value is missing for this property

errors.integer

(On the maxRows property.) when the value of this property can't be converted to a integer

errors.required

(On the optimized property.) when a value is missing for this property

ArticleSearchForm inherits properties from:

  • com.escenic.search.SearchForm

It also has the following properties of its own:

includeSectionId
String[]

The list over sections that is to be included. The list is made up of Strings that can be converted to Integers.

includeSubSections
String

Should we include sub sections in the search.; default value=false

excludeSectionId
String[]

The list over sections that is to be excluded. The list is made up of Strings that can be converted to Integers.

articleType
String[]

The Array of article types to be included in the search.; default value=an empty array, meaning that all article types is to be included

sortString
String

The String used for deciding the sort order.; default value=an empty String.

sortStrings
List

A list used to prepopulate the sortString properties. The list contains all legal values for the sortString property.

descending
String

Should we sort decending or ascending.

maxRows
String

the number of rows to return from the database.; default value=-1

searchType
String

the search type

searchTypes
List

A list used to prepopulate the searchType properties. The list contains all legal values for the searchType property.

optimized
String

the optimized property

stemType
String

the stem type property

stemTypes
List

A list used to prepopulate the stemType properties. The list contains all legal values for the stemType property.