* @param results The iobjectlist result object
*/
public void doQuery(String model, String listName, long userUniqueId, AkteraQuery akteraQuery,
String searchCondition, String listSearchCategory)
{
KeelResponse result = getKeelResultList(model, listName, userUniqueId, searchCondition, listSearchCategory);
// Listing aufrufen.
if (result == null)
{
return;
}
ResponseElement resultList = result.get("list");
IObjectList results = (IObjectList) akteraQuery.getIObjectListResults();
if (resultList == null)
{
Log.logError("ConnectorServerManager", "No result list for model: " + model);
}
registerListElement(resultList, model);
List rows = resultList.getAll();
DynDataObject listObject = null;
for (Iterator i = rows.iterator(); i.hasNext();)
{
ResponseElement row = (ResponseElement) i.next();
listObject = createQueryDataObjectAndRegister(row, row.getAll().iterator(), resultList, model, akteraQuery);
if (listObject != null)
{
// System.out.println (listObject.dump ());
results.add(listObject);
}
}
Input attribute = (Input) result.get("listSearchCategory");
if (attribute != null)
{
StringBuffer validValues = new StringBuffer(StringTools.trim(attribute.getDefaultValue()) + "|");