git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerCore@99655 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f517f87ef4
commit
9f13dbf20e
|
@ -484,7 +484,7 @@ public class GenericResource implements GenericResourceInfoI {
|
||||||
List<ISGenericResource> output = new ArrayList<ISGenericResource>();
|
List<ISGenericResource> output = new ArrayList<ISGenericResource>();
|
||||||
SimpleQuery queryMan = null;
|
SimpleQuery queryMan = null;
|
||||||
try {
|
try {
|
||||||
client = clientFor(org.gcube.common.resources.gcore.GenericResource.class);
|
DiscoveryClient<org.gcube.common.resources.gcore.GenericResource> client = clientFor(org.gcube.common.resources.gcore.GenericResource.class);
|
||||||
queryMan = queryFor(org.gcube.common.resources.gcore.GenericResource.class);
|
queryMan = queryFor(org.gcube.common.resources.gcore.GenericResource.class);
|
||||||
queryMan.addCondition("$resource/Profile/SecondaryType eq '"+type+"'");
|
queryMan.addCondition("$resource/Profile/SecondaryType eq '"+type+"'");
|
||||||
List <org.gcube.common.resources.gcore.GenericResource> results = client.submit(queryMan);
|
List <org.gcube.common.resources.gcore.GenericResource> results = client.submit(queryMan);
|
||||||
|
|
Loading…
Reference in New Issue