use of org.dbflute.cbean.coption.LikeSearchOption in project dbflute-core by dbflute.
the class AbstractConditionQuery method xcLSOP.
// ===================================================================================
// Create Option
// =============
// -----------------------------------------------------
// LikeSearch
// ----------
protected LikeSearchOption xcLSOP(ConditionOptionCall<LikeSearchOption> opCall) {
// called by template: createLikeSearchOption()
final LikeSearchOption op = newLikeSearchOption();
opCall.callback(op);
return op;
}
use of org.dbflute.cbean.coption.LikeSearchOption in project dbflute-core by dbflute.
the class MelodicBoundValueTracer method adjustLikeSearchDBWay.
@Override
protected void adjustLikeSearchDBWay(FilteringBindOption option) {
if (option == null) {
return;
}
final DBWay dbway = ResourceContext.currentDBDef().dbway();
if (option instanceof LikeSearchOption) {
((LikeSearchOption) option).acceptOriginalWildCardList(dbway.getOriginalWildCardList());
}
option.acceptStringConnector(dbway.getStringConnector());
}
Aggregations