break;
case MERCHANT_LISTING: {
sorting = new Sorting("dateCreated");
// find an isp..
final Isp anIsp = getEntityDao().loadAll(Isp.class).get(0);
final QueryParam qp = new QueryParam("ispId", PropertyType.STRING, anIsp.getId());
list.add(qp);
break;
}
case CUSTOMER_LISTING: {
sorting = new Sorting(new SortColumn("dateCreated", "c"));
// get the asp (to serve as the parent account)..
final Asp asp = getEntityDao().loadAll(Asp.class).get(0);
final QueryParam qp = new QueryParam("accountId", PropertyType.STRING, asp.getId());
list.add(qp);
break;
}
case INTERFACE_SUMMARY_LISTING:
sorting = new Sorting(new SortColumn("code", "intf"));
break;
case ACCOUNT_INTERFACE_SUMMARY_LISTING: {
sorting = new Sorting(new SortColumn("code", "intf"));
list.add(new QueryParam("", PropertyType.STRING, "asp"));
break;
}
// warn of unhandled defined named queries!
default: