}
@Override
public void extendSearch(SecuritySearchRequest request, DbMapSqlParameterSource args) {
if (request instanceof BondSecuritySearchRequest) {
BondSecuritySearchRequest bondRequest = (BondSecuritySearchRequest) request;
if (bondRequest.getIssuerName() != null || bondRequest.getIssuerType() != null) {
args.addValue("sql_search_bond_join", Boolean.TRUE);
}
if (bondRequest.getIssuerName() != null) {
args.addValue("bond_issuer_name", getDialect().sqlWildcardAdjustValue(bondRequest.getIssuerName()));
}
if (bondRequest.getIssuerType() != null) {
args.addValue("bond_issuer_type", getDialect().sqlWildcardAdjustValue(bondRequest.getIssuerName()));
}
}
}