}
public static BusObjectIterator<com.cordys.demo.servicedesk.dao.SOLUTIONS> getSolutionsObjects(int fromSOLUTIONID, int toSOLUTIONID)
{
String queryText = "select * from \"SOLUTIONS\" where \"TENANTID\"= :TENANTID and \"SOLUTIONID\" between :fromSOLUTIONID and :toSOLUTIONID";
QueryObject query = new QueryObject(queryText);
query.addParameter("TENANTID", "SOLUTIONS.TENANTID", QueryObject.PARAM_STRING,BSF.getOrganization());
query.addParameter("fromSOLUTIONID", "SOLUTIONS.SOLUTIONID", QueryObject.PARAM_INT, new Integer(fromSOLUTIONID));
query.addParameter("toSOLUTIONID", "SOLUTIONS.SOLUTIONID", QueryObject.PARAM_INT, new Integer(toSOLUTIONID));
query.setResultClass(SOLUTIONS.class);
return query.getObjects();
}