public class HiSearchForm extends OrbitCycleForm
OrbitCycleForm.RangeUnit
Modifier and Type | Field and Description |
---|---|
protected boolean |
active
If true, include the not retired
|
protected boolean |
cap
If true, include captioned observations
|
protected java.lang.String |
description
description or comment text
|
protected boolean |
highStability
If true, include high stability
|
static java.lang.String |
ID
CVS ID
|
protected boolean |
nadir
If true, include roll angle == 0
|
protected boolean |
nocap
If true, include uncaptioned observations
|
protected boolean |
nonstereo
If true, include non-stereo
|
protected boolean |
nopub
If true, include unreleased observations
|
protected boolean |
normStability
If true, include norm stability
|
protected java.lang.String |
observation
observation pattern, may or may not be full observation ID
|
protected boolean |
offnadir
If true, include roll angle != 0
|
protected java.lang.String[] |
phase
Mission phases
|
static java.lang.String[] |
PHASES
Options array for mission phases
|
protected java.lang.String |
planner
Name of planner
|
protected java.lang.String[] |
product
Product (has) values
|
protected boolean |
pub
If true, include publicly released observations
|
protected boolean |
retired
If true, include retired
|
protected boolean |
sc
If true, search comment
|
protected boolean |
sd
If true, search description
|
protected boolean |
sn
If true, search notes
|
protected boolean |
sp
If true, search planner's note
|
protected boolean |
sr
If true, search science rationale
|
protected boolean |
ss
If true, search stl_description
|
protected java.lang.String[] |
status
Status values
|
static java.lang.String[] |
STATUSES
Options array for status values
|
protected boolean |
stereo
If true, include stereo
|
protected java.lang.String |
suggester
User name from People table
|
protected int |
suggestion
Suggestion id
|
protected boolean |
sw
If true, search web caption (English)
|
protected java.lang.String[] |
tag
Tag values
|
protected java.lang.String |
tagger
Tagger username
|
static java.lang.String[] |
TARGETS
Options array for target names
|
protected java.lang.String[] |
theme
science theme array
|
static java.lang.String[] |
THEMES
Options array for science themes
|
protected java.lang.String |
username
User name of the suggester
|
protected boolean |
word
If true, do a whole-word search
|
by, cenLat, cenLon, maxCycle, maxLat, maxLon, maxLs, maxMy, maxOrbit, minCycle, minLat, minLon, minLs, minMy, minOrbit, range, season, target
maxDate, minDate, plus, TIME_FORMATS, timeFormatters, timeUnits, unit
EXPORT_MAX_ROWS
Constructor and Description |
---|
HiSearchForm() |
Modifier and Type | Method and Description |
---|---|
boolean |
getActive() |
boolean |
getCap()
Returns true if captioned observations will be included, false if excluded
|
java.lang.String |
getDescription()
Get the description being searched on
|
boolean |
getHighStability()
Get the high stability search option
|
boolean |
getNadir() |
boolean |
getNocap()
Returns true if non-captioned observations will be included, false if excluded
|
boolean |
getNonstereo() |
boolean |
getNopub()
Returns true if non-public observations will be included, false if excluded
|
boolean |
getNormStability()
Get the normal stability search option
|
java.lang.String |
getObservation()
Get the observation ID (or null if unset)
|
boolean |
getOffnadir() |
java.lang.String[] |
getPhase()
Get the mission phase names
|
java.lang.String[] |
getPhases()
Get the array of possible (abbreviated) mission phase names.
|
java.lang.String |
getPlanner()
Get the planner name
|
java.lang.String[] |
getProduct()
Get the product names
|
boolean |
getPub()
Returns true if public observations will be included, false if excluded
|
boolean |
getRetired() |
boolean |
getSc() |
boolean |
getSd() |
boolean |
getSn() |
boolean |
getSp() |
boolean |
getSr() |
boolean |
getSs() |
java.lang.String[] |
getStatus()
Get the status values
|
java.lang.String[] |
getStatuses()
Get the array of possible status values.
|
boolean |
getStereo() |
java.lang.String |
getSuggester() |
int |
getSuggestion()
Get the suggestion ID (or zero if unset)
|
boolean |
getSw() |
java.lang.String[] |
getTag()
Get the tag names
|
java.lang.String |
getTagger() |
java.lang.String[] |
getTargets()
Get the array of possible target names.
|
java.lang.String[] |
getTheme()
Get the science theme.
|
java.lang.String[] |
getThemes()
Get the array of possible science themes.
|
java.lang.String |
getUsername() |
boolean |
getWord()
Get the whole word search option.
|
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req)
Reset parameters
|
void |
setActive(boolean active) |
void |
setCap(boolean cap)
Set to true to include captioned observations, false to exclude non-captioned observations
|
void |
setDescription(java.lang.String description)
Set the description being searched on
|
void |
setHighStability(boolean highStability)
Set the high stability search option
|
void |
setNadir(boolean nadir) |
void |
setNocap(boolean nocap)
Set to true to include non-captioned observations, false to exclude non-captioned observations
|
void |
setNonstereo(boolean nonstereo) |
void |
setNopub(boolean nopub)
Set to true to include non-public observations, false to exclude non-public observations
|
void |
setNormStability(boolean normStability)
Set the normal stability search option
|
void |
setObservation(java.lang.String observation)
Set an observation ID for search
|
void |
setOffnadir(boolean offnadir) |
void |
setPhase(java.lang.String... phase)
Set the mission phase names
|
void |
setPlanner(java.lang.String planner)
Set the planner name
|
void |
setProduct(java.lang.String... product)
Set products
|
void |
setPub(boolean pub)
Set to true to include public observations, false to exclude non-public observations
|
void |
setRetired(boolean retired) |
void |
setSc(boolean sc)
Search comment options
|
void |
setSd(boolean sd)
Search description
|
void |
setSn(boolean sn)
Search special notes
|
void |
setSp(boolean sp)
Search planner's notes
|
void |
setSr(boolean sr)
Search rationale option
|
void |
setSs(boolean ss)
Search STL descriptions
|
void |
setStatus(java.lang.String... status)
Set the status values
|
void |
setStereo(boolean stereo) |
void |
setSuggester(java.lang.String suggester) |
void |
setSuggestion(int suggestion)
Set a suggestion ID for search
|
void |
setSw(boolean sw)
Search web captions (English)
|
void |
setTag(java.lang.String... tag)
Set tag names
|
void |
setTagger(java.lang.String tagger) |
void |
setTheme(java.lang.String... theme)
Set the science theme
|
void |
setUsername(java.lang.String username) |
void |
setWord(boolean word)
Set to true to search for whole words, false for partials
|
org.apache.struts.action.ActionErrors |
validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest req)
Validate the form input
|
checkArray, getBy, getCenLat, getCenLon, getMartianSeason, getMaxCycle, getMaxDate, getMaxLat, getMaxLon, getMaxLs, getMaxMy, getMaxOrbit, getMinCycle, getMinDate, getMinLat, getMinLon, getMinLs, getMinMy, getMinOrbit, getNextMaxCycle, getNextMaxOrbit, getNextMinCycle, getNextMinOrbit, getPrevMaxCycle, getPrevMaxOrbit, getPrevMinCycle, getPrevMinOrbit, getRange, getSeason, getSeasons, getTarget, isMartian, setBy, setCenLat, setCenLon, setMaxCycle, setMaxLat, setMaxLon, setMaxLs, setMaxMy, setMaxOrbit, setMinCycle, setMinLat, setMinLon, setMinLs, setMinMy, setMinOrbit, setRange, setSeason, setTarget
getPlus, getTimeRange, getTimeUnit, getTimeUnits, parseDate, setMaxDate, setMinDate, setPlus, setTimeRange, setTimeUnit
getDir, getPage, getSize, getSort, isAscending, setDir, setPage, setSize, setSort
public static final java.lang.String ID
public static final java.lang.String[] PHASES
public static java.lang.String[] TARGETS
public static final java.lang.String[] STATUSES
public static final java.lang.String[] THEMES
protected java.lang.String[] phase
protected java.lang.String[] status
protected java.lang.String[] product
protected java.lang.String[] tag
protected java.lang.String tagger
protected java.lang.String description
protected java.lang.String[] theme
protected int suggestion
protected java.lang.String planner
protected java.lang.String observation
protected boolean highStability
protected boolean normStability
protected boolean stereo
protected boolean nonstereo
protected boolean nadir
protected boolean offnadir
protected boolean sc
protected boolean sd
protected boolean ss
protected boolean sr
protected boolean sn
protected boolean sp
protected boolean sw
protected java.lang.String suggester
protected java.lang.String username
protected boolean retired
protected boolean active
protected boolean word
protected boolean pub
protected boolean nopub
protected boolean cap
protected boolean nocap
public java.lang.String[] getPhases()
public java.lang.String[] getTargets()
public java.lang.String[] getThemes()
public java.lang.String[] getStatuses()
public java.lang.String getPlanner()
public void setPlanner(java.lang.String planner)
planner
- name of plannerpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- textpublic void setPhase(java.lang.String... phase)
phase
- mission phasespublic void setProduct(java.lang.String... product)
product
- product IDspublic void setTag(java.lang.String... tag)
tag
- Tag namespublic void setStatus(java.lang.String... status)
status
- values for statuspublic java.lang.String[] getPhase()
public java.lang.String[] getStatus()
public java.lang.String[] getTag()
public java.lang.String[] getProduct()
public java.lang.String[] getTheme()
public void setTheme(java.lang.String... theme)
theme
- themepublic int getSuggestion()
public void setSuggestion(int suggestion)
suggestion
- IDpublic java.lang.String getObservation()
public void setObservation(java.lang.String observation)
observation
- IDpublic boolean getHighStability()
public void setHighStability(boolean highStability)
highStability
- true if high stability constraint will be usedpublic boolean getNormStability()
public void setNormStability(boolean normStability)
normStability
- true if normal stability constraint will be usedpublic boolean getStereo()
public void setStereo(boolean stereo)
public boolean getNonstereo()
public void setNonstereo(boolean nonstereo)
public boolean getNadir()
public void setNadir(boolean nadir)
public boolean getOffnadir()
public void setOffnadir(boolean offnadir)
public void setSc(boolean sc)
sc
- true to search commentspublic void setSd(boolean sd)
sd
- true to search descriptionpublic void setSs(boolean ss)
ss
- true to search STL descriptionspublic void setSr(boolean sr)
sr
- true to search rationalespublic void setSn(boolean sn)
sn
- true to search special notespublic void setSp(boolean sp)
sp
- true to search notespublic void setSw(boolean sw)
sw
- true to search web captionspublic boolean getSc()
public boolean getSd()
public boolean getSs()
public boolean getSr()
public boolean getSn()
public boolean getSp()
public boolean getSw()
public java.lang.String getSuggester()
public void setSuggester(java.lang.String suggester)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getTagger()
public void setTagger(java.lang.String tagger)
public boolean getActive()
public void setActive(boolean active)
public boolean getRetired()
public void setRetired(boolean retired)
public boolean getWord()
public void setWord(boolean word)
word
- search optionpublic boolean getPub()
public void setPub(boolean pub)
pub
- true = include public, false = excludepublic boolean getNopub()
public void setNopub(boolean nopub)
nopub
- true = include non-public, false = excludepublic boolean getCap()
public void setCap(boolean cap)
cap
- true = include captioned, false = excludepublic boolean getNocap()
public void setNocap(boolean nocap)
nocap
- true = include non-captioned, false = excludepublic void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest req)
PageSortForm
reset
in class PageSortForm
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest req)
validate
in class OrbitCycleForm
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona