|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.struts.action.ActionForm
org.dlese.dpc.services.dds.action.form.JSHTMLForm_1_1
public class JSHTMLForm_1_1
A ActionForm bean that holds data for the JavaScript HTML search service.
JSHTMLAction_1_1,
Serialized Form| Nested Class Summary | |
|---|---|
class |
JSHTMLForm_1_1.DateLabelPair
DESCRIPTION |
| Field Summary |
|---|
| Fields inherited from class org.apache.struts.action.ActionForm |
|---|
multipartRequestHandler, servlet |
| Constructor Summary | |
|---|---|
JSHTMLForm_1_1()
Constructor for the RepositoryForm object |
|
| Method Summary | |
|---|---|
Object |
addMenuItem(String menu,
String item)
Adds menu and item to the page. |
String |
getAuthorizedFor()
Gets the role name for which this user is authorized for |
DocReader |
getDocReader()
Gets the DocReader for the first item in the results. |
protected static String |
getDs()
Return a string for the current time and date, sutiable for display in log files and output to standout: |
String |
getErrorMsg()
Gets the errorMsg attribute of the JSHTMLForm_1_1 object |
boolean |
getHasMenuItemSelected()
Gets whether one or more itmes in a menu is selected. |
String |
getLocalizedRecordXml()
Gets the localizedRecordXml attribute of the JSHTMLForm_1_1 object |
Map |
getMenuItemsMap()
Gets a Map of all items in the smart link menus, keyed by their menu and item number of the form slm0-0, where slm0 is the ID for the menu and 0 is the ID for the item in that menu. |
HashMap |
getMenuLabelsMap()
Gets a Map of the smart link menu labels, for example 'My custom menu', keyed by the menu number, for example 'slm0'. |
ArrayList |
getMenuNamesInOrder()
|
HashMap |
getMenuPositions()
Gets a Map of the menu positions keyed by menu name, for example'My custom menu'. |
Map |
getMenus()
Gets a Map of all smart link menus keyed by menu name, for example 'My custom menu', with values containing Lists of the items in the given menu. |
int |
getN()
Gets the n attribute of the JSHTMLForm_1_1 object |
int |
getNumMenuItems(String menu)
Gets the number of items in the smart link menu by the given name. |
int |
getNumResults()
Gets the number of matching results. |
String |
getRecordFormat()
Gets the recordFormat attribute of the JSHTMLForm_1_1 object |
String |
getRecordXml()
Gets the recordXml attribute of the JSHTMLForm_1_1 object |
ResultDocList |
getResults()
Gets the results attribute of the JSHTMLForm_1_1 object |
int |
getS()
Gets the s attribute of the JSHTMLForm_1_1 object |
ArrayList |
getSmartLinkParameterNames()
Gets the names of the parameters used to refer to the all current smart links, for example slm0, slm1, etc. |
List |
getUtcDates()
A list of UTC dates in the past in the following order: one minute, one hour, one day, one week, one month, one year. |
MetadataVocab |
getVocab()
Gets the vocab attribute of the JSHTMLForm_1_1 object |
String |
getVocabLabel()
Gets the vocabLabel attribute of the JSHTMLForm_1_1 object |
List |
getXmlFormats()
Gets the xmlFormats attribute of the JSHTMLForm_1_1 object |
protected void |
prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true. |
protected void |
prtlnErr(String s)
Output a line of text to error out, with datestamp. |
void |
reset(ActionMapping mapping,
HttpServletRequest request)
Reset all bean properties to their default state. |
void |
setAuthorizedFor(String val)
Sets the role name for which this user is authorized for |
static void |
setDebug(boolean isDebugOuput)
Sets the debug attribute |
void |
setErrorMsg(String errorMsg)
Sets the errorMsg attribute of the JSHTMLForm_1_1 object |
void |
setHasMenuItemSelected(boolean isSelected)
Sets whether one or more itmes in a menu is selected. |
void |
setMenuItemsMap(HashMap map)
Sets the Map of all items in the smart link menus, keyed by their menu and item number of the form slm0-0, where slm0 is the ID for the menu and 0 is the ID for the item in that menu. |
void |
setN(int val)
Sets the n attribute of the JSHTMLForm_1_1 object |
void |
setRecordFormat(String val)
Sets the recordFormat attribute of the JSHTMLForm_1_1 object |
void |
setRecordXml(String val)
Sets the recordXml attribute of the JSHTMLForm_1_1 object |
void |
setResults(ResultDocList results)
Sets the results attribute of the JSHTMLForm_1_1 object |
void |
setS(int val)
Sets the s attribute of the JSHTMLForm_1_1 object |
void |
setVocabFieldId(String id)
Sets the vocabFieldId attribute of the JSHTMLForm_1_1 object |
void |
setVocabValueId(String id)
Sets the vocabValueId attribute of the JSHTMLForm_1_1 object |
void |
setXmlFormats(List var)
Sets the xmlFormats attribute of the JSHTMLForm_1_1 object |
| Methods inherited from class org.apache.struts.action.ActionForm |
|---|
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSHTMLForm_1_1()
| Method Detail |
|---|
public final MetadataVocab getVocab()
public void setVocabFieldId(String id)
id - The new vocabFieldId valuepublic void setVocabValueId(String id)
id - The new vocabValueId valuepublic String getVocabLabel()
public void reset(ActionMapping mapping,
HttpServletRequest request)
reset in class ActionFormmapping - The ActionMappingrequest - The request
public Object addMenuItem(String menu,
String item)
menu - The name of the menuitem - The name of the menu itempublic HashMap getMenuLabelsMap()
public int getNumMenuItems(String menu)
menu - The menu name, for example 'My custom menu'
public HashMap getMenuPositions()
public Map getMenus()
public ArrayList getMenuNamesInOrder()
public Map getMenuItemsMap()
public void setMenuItemsMap(HashMap map)
map - The new menu items mappublic ArrayList getSmartLinkParameterNames()
public List getXmlFormats()
public void setXmlFormats(List var)
var - The new xmlFormats valuepublic String getLocalizedRecordXml()
public String getRecordXml()
public void setRecordXml(String val)
val - The new recordXml valuepublic void setRecordFormat(String val)
val - The new recordFormat valuepublic String getRecordFormat()
public int getS()
public void setS(int val)
val - The new s valuepublic int getN()
public void setN(int val)
val - The new n valuepublic String getAuthorizedFor()
public void setAuthorizedFor(String val)
val - The new authorizedFor valuepublic void setErrorMsg(String errorMsg)
errorMsg - The new errorMsg valuepublic String getErrorMsg()
public ResultDocList getResults()
public DocReader getDocReader()
public void setResults(ResultDocList results)
results - The new results valuepublic int getNumResults()
public void setHasMenuItemSelected(boolean isSelected)
isSelected - True if one or more items in a menu is selected, else falsepublic boolean getHasMenuItemSelected()
public List getUtcDates()
protected static final String getDs()
protected final void prtlnErr(String s)
s - The text that will be output to error out.protected final void prtln(String s)
s - The String that will be output.public static void setDebug(boolean isDebugOuput)
isDebugOuput - The new debug value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||