Package io.goobi.viewer.model.metadata
Class ComplexMetadataList
java.lang.Object
io.goobi.viewer.model.metadata.ComplexMetadataList
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionComplexMetadataList
(List<ComplexMetadata> metadata) ComplexMetadataList
(List<ComplexMetadata> metadata, String sortField) ComplexMetadataList
(List<ComplexMetadata> metadata, String sortField, String sortOrder) -
Method Summary
Modifier and TypeMethodDescriptiongetGroupedMetadata
(Locale sortLanguage, Map<String, List<String>> categories, boolean hideUnlinkedRecords, long limit, Function<ComplexMetadata, MetadataContainer> relatedEntityGetter) getMetadata
(Locale sortLanguage, String filterField, String filterMatcher, boolean hideUnlinkedRecords, long limit, Function<ComplexMetadata, MetadataContainer> relatedEntityGetter) getMetadata
(Locale sortLanguage, String filterField, String filterValue, long limit) getMetadataValue
(String valueField, Locale locale) getMetadataValues
(String filterField, String filterValue, String valueField, Locale locale) getMetadataValues
(String filterField, String filterValue, String valueField, Locale locale, Function<ComplexMetadata, MetadataContainer> relatedEntityGetter) getMetadataValues
(String valueField, Locale locale) long
getNumEntries
(String filterField, String filterMatcher) boolean
void
setSortField
(String sortField) void
setSorting
(String sortField, String sortOrder) void
setSortOrder
(String sortOrder) streamMetadata
(Locale sortLanguage, String filterField, String filterMatcher, long listSizeLimit) static ComplexMetadataList
-
Field Details
-
SORT_DIRECTION_ASCENDING
- See Also:
-
SORT_DIRECTION_DESCENDING
- See Also:
-
-
Constructor Details
-
ComplexMetadataList
-
ComplexMetadataList
-
ComplexMetadataList
-
ComplexMetadataList
-
-
Method Details
-
union
-
getSortField
-
setSortField
-
getSortOrder
-
setSortOrder
-
getMetadata
-
setSorting
-
isDescendingOrder
public boolean isDescendingOrder() -
getMetadata
public List<ComplexMetadata> getMetadata(Locale sortLanguage, String filterField, String filterValue, long limit) -
getNumEntries
-
getGroupedMetadata
-
getGroupedMetadata
-
streamMetadata
public Stream<ComplexMetadata> streamMetadata(Locale sortLanguage, String filterField, String filterMatcher, long listSizeLimit) -
getMetadata
public List<ComplexMetadata> getMetadata(Locale sortLanguage, String filterField, String filterMatcher, boolean hideUnlinkedRecords, long limit, Function<ComplexMetadata, MetadataContainer> relatedEntityGetter) -
getGroupedMetadata
public Map<String,List<ComplexMetadata>> getGroupedMetadata(Locale sortLanguage, Map<String, List<String>> categories, boolean hideUnlinkedRecords, long limit, Function<ComplexMetadata, MetadataContainer> relatedEntityGetter) -
getMetadataValues
-
getMetadataValue
-
getMetadataValues
-
getMetadataValues
public List<String> getMetadataValues(String filterField, String filterValue, String valueField, Locale locale, Function<ComplexMetadata, MetadataContainer> relatedEntityGetter)
-