}
@Override
public IObjectSet execute(String query) throws RepositoryException {
LinkedList<FnBaseObject> objectList = new LinkedList<FnBaseObject>();
IndependentObjectSet myObjects;
SearchSQL sqlObject = new SearchSQL();
sqlObject.setQueryString(query);
Integer myPageSize = new Integer(100);
PropertyFilter myFilter = new PropertyFilter();
int myFilterLevel = 1;
myFilter.setMaxRecursion(myFilterLevel);
Boolean continuable = new Boolean(true);
try {
myObjects = search.fetchObjects(sqlObject, myPageSize, myFilter,
continuable);
} catch (Exception e) {
throw new RepositoryException(e);
}
Iterator it = myObjects.iterator();
while (it.hasNext()) {
objectList.add(new FnBaseObject((IndependentObject) it.next()));
}
return new FnObjectList(objectList);
}