Class BrowseFunctionality
java.lang.Object
io.goobi.viewer.model.cms.itemfunctionality.BrowseFunctionality
- All Implemented Interfaces:
Functionality
- Author:
- Florian Alpers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the SOLR field which to browse to create the list.intgetPageNo.Gets the start character for which results should be displayed.voidreset()Resets the current browse page and the current string filter.voidvoidsetBrowseField(String field) Sets the SOLR field which to browse to create the list.voidSets an additional filter to restrict the list to a subset of all records.voidsetPageNo(int pageNo) setPageNo.voidsetStartingCharacter(String start) Sets the start character for which results should be displayed.
-
Constructor Details
-
BrowseFunctionality
- Parameters:
field- Solr field to browse
-
-
Method Details
-
setPageNo
public void setPageNo(int pageNo) Description copied from interface:FunctionalitysetPageNo.- Specified by:
setPageNoin interfaceFunctionality- Parameters:
pageNo- a int.
-
getPageNo
public int getPageNo()Description copied from interface:FunctionalitygetPageNo.- Specified by:
getPageNoin interfaceFunctionality- Returns:
- a int.
-
setBrowseField
Sets the SOLR field which to browse to create the list.- Parameters:
field- Solr field to browse for list creation
-
getBrowseField
Gets the SOLR field which to browse to create the list.- Returns:
- the Solr field name used to browse and generate the list
-
setFilter
Sets an additional filter to restrict the list to a subset of all records.- Parameters:
field- Solr field name to filter byvalue- field value to restrict results to
-
setStartingCharacter
Sets the start character for which results should be displayed.- Parameters:
start- starting character to filter browse results by
-
getStartingCharacter
Gets the start character for which results should be displayed.- Returns:
- String
-
searchTerms
public void searchTerms() throws PresentationException, IndexUnreachableException, RedirectException -
reset
public void reset()Resets the current browse page and the current string filter.
-