Added API to retrieve Resource instances filtering by values of one of the attached facet. Facet type and consistsOf relation can also by specified
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@154665 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
7abb718a10
commit
7c46d4dcfb
|
@ -245,8 +245,10 @@ public class Access {
|
|||
|
||||
Map<String, String> constraint = new HashMap<>();
|
||||
for(String key : multivaluedMap.keySet()){
|
||||
if(key.compareTo(AccessPath.POLYMORPHIC_PARAM)!=0){
|
||||
constraint.put(key, multivaluedMap.getFirst(key));
|
||||
}
|
||||
}
|
||||
constraint.put(AccessPath.RELATION_TYPE_PATH_PART, relationType);
|
||||
constraint.put(AccessPath.FACET_TYPE_PATH_PART, facetType);
|
||||
|
||||
|
|
Loading…
Reference in New Issue