else if(SelectNamedQueries.INTERFACE_SUMMARY_LISTING.getQueryName().equals(qname)) {
q.constrain(Interface.class);
}
else if(SelectNamedQueries.ACCOUNT_INTERFACE_SUMMARY_LISTING.getQueryName().equals(qname)) {
// 1 param: accountType (SmbizEntityType)
final SmbizEntityType et = (SmbizEntityType) params.get(0).getValue();
q.constrain(Interface.class);
Query sq;
switch(et) {
case ASP:
sq = q.descend("isAvailableAsp");