org.dbflute.cbean.dream.WelcomeToDreamCruise Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dbflute-runtime Show documentation
Show all versions of dbflute-runtime Show documentation
The runtime library of DBFlute
/*
* Copyright 2014-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package org.dbflute.cbean.dream;
/**
* Welcome to DreamCruise, providing DBFlute Dreams.
* @author jflute
* @since 1.1.0 (2014/10/17 Friday)
*/
public interface WelcomeToDreamCruise {
/**
* DBFlute Dreams.
*
* e.g. member that purchases products only purchased by the member
* cb.query().existsPurchaseList(purchaseCB -> {
* purchaseCB.query().queryProduct().notExistsPurchaseList(productPurchaseCB -> {
* productPurchaseCB.columnQuery(colCB -> {
* colCB.specify().columnMemberId();
* }).notEqual(colCB -> {
* colCB.overTheWaves(cb.dreamCruiseCB().specify().columnMemberId());
* });
* });
* });
*
* @param dreamCruiseTicket The ticket column specified by your Dream Cruise. (NotNull)
*/
void overTheWaves(SpecifiedColumn dreamCruiseTicket); // #dream
/**
* DBFlute Dreams.
*
* e.g. ColumnQuery: ... > '2015/04/05' + (PURCHASE_COUNT days)
* cb.columnQuery(colCB -> {
* colCB.column...();
* }).greaterThan(colCB -> {
* colCB.mysticRhythms(toDate("2015/04/05"));
* }).convert(op -> op.addDay(cb.dreamCruiseCB().specify().columnPurchaseCount());
*
* @param mysticBinding The mystic value of the column e.g. to compare with other column. (NotNull)
*/
void mysticRhythms(Object mysticBinding); // #dream
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy