|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.browse.BrowseDirectoryEntry
Basic implementation of IBrowseDirectoryEntry - uses hierarchical set of files to store browse entries.
| Constructor Summary | |
BrowseDirectoryEntry()
|
|
| Method Summary | |
void |
addPage(com.raritantechnologies.searchApp.browse.BrowseDirectoryEntry.Element browseElement)
|
int |
getMaxPage()
Get the maximum page number for the field's browse list |
int |
getMinPage()
Get the minimum page number for the field's browse list |
int |
getPageNumber(java.lang.String term)
this function figures out which page the search term should be in |
void |
initialize(org.w3c.dom.Element elem)
|
void |
initialize(java.lang.String field)
Use this method to initialize a BrowseDirectoryEntry instance for a single field. |
boolean |
isRefreshRequired()
Use this method to see if the master list has been updated. |
boolean |
isValid()
|
void |
reset()
|
void |
setFieldName(java.lang.String fieldName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BrowseDirectoryEntry()
| Method Detail |
public void initialize(org.w3c.dom.Element elem)
initialize in interface IBrowseDirectoryEntrypublic void setFieldName(java.lang.String fieldName)
public void initialize(java.lang.String field)
initialize in interface IBrowseDirectoryEntrypublic void addPage(com.raritantechnologies.searchApp.browse.BrowseDirectoryEntry.Element browseElement)
public void reset()
public boolean isRefreshRequired()
isRefreshRequired in interface IBrowseDirectoryEntrypublic int getPageNumber(java.lang.String term)
getPageNumber in interface IBrowseDirectoryEntrypublic int getMaxPage()
getMaxPage in interface IBrowseDirectoryEntrypublic int getMinPage()
getMinPage in interface IBrowseDirectoryEntrypublic boolean isValid()
isValid in interface IBrowseDirectoryEntry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||