Package org.dspace.xoai.filter
Class DSpaceFilter
java.lang.Object
org.dspace.xoai.filter.DSpaceFilter
- All Implemented Interfaces:
com.lyncode.xoai.dataprovider.data.Filter
- Direct Known Subclasses:
AndFilter,DateFromFilter,DateUntilFilter,DSpaceAtLeastOneMetadataFilter,DSpaceAuthorizationFilter,DSpaceMetadataExistsFilter,DSpaceSetSpecFilter,DSpaceWithdrawnFilter,ItemsWithBitstreamFilter,NotFilter,OrFilter
public abstract class DSpaceFilter
extends Object
implements com.lyncode.xoai.dataprovider.data.Filter
- Author:
- Lyncode Development Team (dspace at lyncode dot com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.lyncode.xoai.dataprovider.xml.xoaiconfig.parameters.ParameterMapThe configuration from xoai.xml fileprotected ContextThe oai contextprotected FieldResolverThe configuration from xoai.xml file -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SolrFilterResultcom.lyncode.xoai.dataprovider.xml.xoaiconfig.parameters.ParameterMapbooleanisItemShown(com.lyncode.xoai.dataprovider.data.ItemIdentifier item) abstract booleanisShown(DSpaceItem item) voidsetConfiguration(com.lyncode.xoai.dataprovider.xml.xoaiconfig.parameters.ParameterMap configuration) voidsetContext(Context context) voidsetFieldResolver(FieldResolver fieldResolver)
-
Field Details
-
configuration
protected com.lyncode.xoai.dataprovider.xml.xoaiconfig.parameters.ParameterMap configurationThe configuration from xoai.xml file -
fieldResolver
The configuration from xoai.xml file -
context
The oai context
-
-
Constructor Details
-
DSpaceFilter
public DSpaceFilter()
-
-
Method Details
-
buildSolrQuery
-
isShown
-
isItemShown
public boolean isItemShown(com.lyncode.xoai.dataprovider.data.ItemIdentifier item) - Specified by:
isItemShownin interfacecom.lyncode.xoai.dataprovider.data.Filter
-
getConfiguration
public com.lyncode.xoai.dataprovider.xml.xoaiconfig.parameters.ParameterMap getConfiguration()- Returns:
- the configuration map if defined in xoai.xml, otherwise null.
-
setConfiguration
public void setConfiguration(com.lyncode.xoai.dataprovider.xml.xoaiconfig.parameters.ParameterMap configuration) - Parameters:
configuration- the configuration map to set
-
getFieldResolver
- Returns:
- the fieldResolver
-
setFieldResolver
- Parameters:
fieldResolver- the fieldResolver to set
-
getContext
- Returns:
- the context
-
setContext
- Parameters:
context- the context to set
-