Package org.mycore.oai.set
Interface MCROAISetHandler<Q,R,K>
- Type Parameters:
Q
- set typeR
- Result collection typeK
- Result collection key type
- All Known Implementing Classes:
MCROAIClassificationToSetHandler
,MCROAIQueryToSetHandler
,MCROAISolrSetHandler
public interface MCROAISetHandler<Q,R,K>
Base interface to handle mycore oai sets.
- Author:
- Matthias Eichner
-
Method Summary
Modifier and TypeMethodDescriptionvoid
default boolean
Called beforeapply(MCRSet, Object)
to check if the given set should be added to the ListSets view.getSetResolver
(Collection<R> result) void
Initializes the set handler with the configPrefix (MCR.OAIDataProvider.MY_PROVIDER) and a setId (MCR.OAIDataProvider.MY_PROVIDER.Sets.SET_ID).
-
Method Details
-
init
Initializes the set handler with the configPrefix (MCR.OAIDataProvider.MY_PROVIDER) and a setId (MCR.OAIDataProvider.MY_PROVIDER.Sets.SET_ID).- Parameters:
configPrefix
- the config prefixsetId
- the set id without any prefix
-
filter
Called beforeapply(MCRSet, Object)
to check if the given set should be added to the ListSets view.- Returns:
- false if the given set should be added (the set is not filtered)
-
getSetMap
-
apply
-
getSetResolver
-