Dear All,
I am wondering if it is possible to create a virtual set within a specific set. I managed to create a virtual set in OAI thanks to Claudia Jürgen [1]. My use case is I want to create a virtual set from a specific set. For example, I have a collection consisting of many document types. Now I want to create a 'subset' of this collection that only consists of 'Article' type. Now I can create a virtual set that has a filter that will only include items with Article type, the problem is, it will also include items that are not part of this specific collection. Please note that I choose dc.type as an arbitrary example, but it could be other fields. Another example would be to create a subset wherein the subject contains fisheries. You may suggest that I could just create a collection based on these requirements, but it is not up to me to create a new subcommunity or collection.
So I wonder if it is possible in the CustomCondition's configuration to specify the owning collection? Can I use org.dspace.xoai.filter.DSpaceSetSpecFilter class in the CustomCondition? What would be the contents of the <Configuration> tag?
Below is the CustomCondition that determines if an Item has a dc.title.
<CustomCondition id="titleExistsCondition">
<Class>org.dspace.xoai.filter.DSpaceMetadataExistsFilter</Class>
<Configuration>
<string name="field">dc.title</string>
</Configuration>
</CustomCondition>
What would be the counterpart of this if I want to determine that this item belongs to a certain community/subcommunity/collection?
Thanks in advance!
euler