|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.iphrase.onestep.beans.VoiceOver
Contains data required for formatting the VoiceOver component.
The data structure of this class is optimized for access from JSP.
The single instance of VoiceOver
is created by the QueryHandler
and set in the request-scope.
Inner Class Summary | |
class |
VoiceOver.Item
Contains data for a single new or removed constraint in the VoiceOver component. |
Constructor Summary | |
VoiceOver(java.util.ArrayList features,
java.lang.String tabsFeatureId)
Constructs the VoiceOver bean |
Method Summary | |
int |
getDirectSortBy()
|
java.lang.String |
getPage()
|
java.lang.String |
getPerPage()
|
java.lang.String |
getSortBy()
|
java.lang.String |
getViewBy()
|
java.lang.String |
getYouAsked()
Get "you asked" string |
java.lang.String[] |
getYouAskedWithin()
Get "Search Within" strings |
VoiceOver.Item[] |
getYouChanged()
Get "You clicked" entries data |
VoiceOver.Item[] |
getYouRelaxed()
Get "You removed" entries data |
java.lang.String |
getYouRemoved()
|
void |
setConstraints(java.util.ArrayList relaxedConstraints,
java.util.ArrayList newConstraints)
Sets new or removed constraints. |
void |
setDirectSortBy(int directSortBy)
|
void |
setPage(java.lang.String string)
|
void |
setPerPage(java.lang.String string)
|
void |
setSortBy(java.lang.String string)
|
void |
setViewBy(java.lang.String string)
|
void |
setYouAskedHistory(java.lang.String[] within)
Sets the search strings that the user entered into the "search for" box. |
void |
setYouRemoved(java.lang.String term)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VoiceOver(java.util.ArrayList features, java.lang.String tabsFeatureId)
VoiceOver
beanfeatures
- ArrayList
of TallyFeature
objectstabsFeatureId
- ID of the feature whose values are used in rendering tabsMethod Detail |
public java.lang.String getYouAsked()
public java.lang.String[] getYouAskedWithin()
public VoiceOver.Item[] getYouChanged()
VoiceOver.Item
objects containing the data for formatting the new constraintspublic VoiceOver.Item[] getYouRelaxed()
VoiceOver.Item
objects containing the data for formatting removed constraintspublic void setYouAskedHistory(java.lang.String[] within)
array
- of String
user asked forpublic void setConstraints(java.util.ArrayList relaxedConstraints, java.util.ArrayList newConstraints)
{@link
- ArrayList} of Constraint
user removed in the last submitted query{@link
- ArrayList} of Constraint
user added in the last submitted querypublic java.lang.String getYouRemoved()
public void setYouRemoved(java.lang.String term)
term
- String
youRemoved voiceOver display stringpublic java.lang.String getPage()
public java.lang.String getPerPage()
public java.lang.String getSortBy()
public java.lang.String getViewBy()
public int getDirectSortBy()
public void setDirectSortBy(int directSortBy)
int
- int
page voiceOver display string ascending/descendingpublic void setPage(java.lang.String string)
string
- String
page voiceOver display stringpublic void setPerPage(java.lang.String string)
string
- String
prePage voiceOver display stringpublic void setSortBy(java.lang.String string)
string
- String
SortBy voiceOver display stringpublic void setViewBy(java.lang.String string)
string
- String
ViewBy voiceOver display string
|
© Copyright 2005, 2006. IBM Corporation. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |