return response;
}
public IBaseObject getSenateObject(String oid, String type) {
oid = oid.replace(" ", "-").replace(",", "");
ResultIterator longSearch = new ResultIterator("otype:"+type+" AND oid:\""+oid+"\"", 1, 1, "oid", true);
for(Result result:longSearch) {
return result.getObject();
}
return null;
}