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

[1] https://groups.google.com/g/dspace-tech/c/KvxVtYCjj3s/m/hSJzI1ebBAAJ

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/fffe1e73-e518-41ef-ae33-10aa9c723164n%40googlegroups.com.

Reply via email to