Package io.goobi.viewer.model.search
Class CollectionResult
java.lang.Object
io.goobi.viewer.model.search.CollectionResult
- All Implemented Interfaces:
Serializable
Contains additional information of collections searched by
SearchHelper.findAllCollectionsFromField(java.lang.String, java.lang.String, java.lang.String, boolean, boolean, java.lang.String)
- Author:
- florian
- See Also:
-
Constructor Summary
ConstructorDescriptionCollectionResult
(String name) CollectionResult
(String name, long recordCount) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFacetValues
(Collection<Object> fieldValues) getCount()
getName()
void
incrementChildCount
(long l) void
incrementCount
(long l) void
setChildCount
(Long count) void
void
setFacetValues
(Set<String> facetValues)
-
Constructor Details
-
CollectionResult
-
CollectionResult
- Parameters:
name
-recordCount
-
-
-
Method Details
-
getFacetValues
- Returns:
- the groupingValues
-
setFacetValues
- Parameters:
facetValues
- the facetValues to set
-
getCount
- Returns:
- the count
-
setCount
- Parameters:
count
- the count to set
-
getName
- Returns:
- the name
-
incrementCount
public void incrementCount(long l) -
getChildCount
-
setChildCount
-
incrementChildCount
public void incrementChildCount(long l) -
addFacetValues
- Parameters:
fieldValues
-
-