Does anyone know if it's possible to use API-A findObjects to search via 
RELS-EXT?

e.g. at the mo I use a very simple keyword search:

FieldSearchQuery.Conditions conditions = query.addNewConditions();
condition.setProperty("subject");
condition.setOperator(ComparisonOperator.HAS);
condition.setValue(keyword);

and this returns a set of resources which have keyword as a DS subject.

Is it poss to do the same for RELS-EXT?

e.g. to find all resources for a particular owner:
condition.setProperty("http://www.nsdl.org/ontologies/relationships#";);
condition.setOperator(ComparisonOperator.HAS);
condition.setValue(owner);

thanks,

Alistair


-- 
mov eax,1
mov ebx,0
int 80h





------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to