// =================================================================================== // Purpose Type // ============ @Override protected void xprepareSyncQyCall(ConditionBean mainCB) { final MemberLoginCB cb; if (mainCB != null) { cb = (MemberLoginCB) mainCB; } else { cb = new MemberLoginCB(); } specify().xsetSyncQyCall(xcreateSpQyCall(() -> true, () -> cb.query())); }
/** * Set up 'union all' for base-point table. <br> * You don't need to call SetupSelect in union-query, because it inherits calls before. (Don't * call SetupSelect after here) * * <pre> * cb.query().<span style="color: #CC4747">unionAll</span>(<span style="color: #553000">unionCB</span> <span style="color: #90226C; font-weight: bold"><span style="font-size: 120%">-</span>></span> { * <span style="color: #553000">unionCB</span>.query().set... * }); * </pre> * * @param unionCBLambda The callback for query of 'union all'. (NotNull) */ public void unionAll(UnionQuery<MemberLoginCB> unionCBLambda) { final MemberLoginCB cb = new MemberLoginCB(); cb.xsetupForUnion(this); xsyncUQ(cb); try { lock(); unionCBLambda.query(cb); } finally { unlock(); } xsaveUCB(cb); final MemberLoginCQ cq = cb.query(); query().xsetUnionAllQuery(cq); }
protected MemberLoginCB xcreateColumnQueryCB() { MemberLoginCB cb = new MemberLoginCB(); cb.xsetupForColumnQuery((MemberLoginCB) this); return cb; }
/** * Welcome to the Dream Cruise for condition-bean deep world. <br> * This is very specialty so you can get the frontier spirit. Bon voyage! * * @return The condition-bean for dream cruise, which is linked to main condition-bean. */ public MemberLoginCB dreamCruiseCB() { MemberLoginCB cb = new MemberLoginCB(); cb.xsetupForDreamCruise((MemberLoginCB) this); return cb; }