All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.sphere.sdk.queries.MetaModelQueryDsl Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.queries;

import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.expansion.MetaModelExpansionDsl;

import java.util.List;
import java.util.function.Function;

/**
 *
 * @param  type of the query result
 * @param  type of the class implementing this class
 * @param  type of the query model
 * @param  type of the expansion model
 */
public interface MetaModelQueryDsl, Q, E> extends EntityQuery, QueryDsl, MetaModelExpansionDsl {

    @Override
    C withPredicates(final List> queryPredicates);

    @Override
    C withPredicates(final QueryPredicate queryPredicate);

    C withPredicates(final Function> m);

    @Override
    C plusPredicates(final List> queryPredicates);

    @Override
    C plusPredicates(final QueryPredicate queryPredicate);

    C plusPredicates(final Function> m);

    @Override
    C withSort(final List> sort);

    @Override
    C withSort(final QuerySort sort);

    C withSort(final Function> m);

    C withSortMulti(final Function>> m);

    @Override
    C withLimit(final long limit);

    @Override
    C withOffset(final long offset);

    @Override
    C withExpansionPaths(final Function> m);

    @Override
    C plusExpansionPaths(final Function> m);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy