Class BrowsingMenuFieldConfig
java.lang.Object
io.goobi.viewer.model.termbrowsing.BrowsingMenuFieldConfig
- All Implemented Interfaces:
Serializable
BrowsingMenuFieldConfig class.
- See Also:
-
Constructor Summary
ConstructorDescriptionBrowsingMenuFieldConfig
(String field, String sortField, String filterQuery) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetField()
Getter for the fieldfield
.getFieldForLanguage
(String language) Getter for the fieldfilterQueries
.Getter for the fieldsortField
.boolean
boolean
boolean
boolean
setAlwaysApplyFilter
(boolean alwaysApplyFilter) setRecordsAndAnchorsOnly
(boolean recordsAndAnchorsOnly) setSkipInWidget
(boolean skipInWidget) setTranslate
(boolean translate)
-
Constructor Details
-
Method Details
-
getField
Getter for the field
field
.- Returns:
- the field
-
getFieldForLanguage
- Parameters:
language
-- Returns:
- Language specific variant of field if it contains a placeholder; otherwise unaltered field
-
getSortField
Getter for the field
sortField
.- Returns:
- the sortField
-
getFilterQueries
Getter for the field
filterQueries
.- Returns:
- the filterQueries
-
isTranslate
public boolean isTranslate()- Returns:
- the translate
-
setTranslate
- Parameters:
translate
- the translate to set- Returns:
- this
-
isAlwaysApplyFilter
public boolean isAlwaysApplyFilter()- Returns:
- the alwaysApplyFilter
-
setAlwaysApplyFilter
- Parameters:
alwaysApplyFilter
- the alwaysApplyFilter to set- Returns:
- this
-
isSkipInWidget
public boolean isSkipInWidget()- Returns:
- the skipInWidget
-
setSkipInWidget
- Parameters:
skipInWidget
- the skipInWidget to set- Returns:
- this;
-
isRecordsAndAnchorsOnly
public boolean isRecordsAndAnchorsOnly()- Returns:
- true if filterQueries contains SearchHelper.ALL_RECORDS_QUERY; false otherwise
-
setRecordsAndAnchorsOnly
- Parameters:
recordsAndAnchorsOnly
-- Returns:
- this
-