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

io.sphere.sdk.search.MetaModelSearchDsl Maven / Gradle / Ivy

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

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

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

/**
 *
 * @param  type of the search result
 * @param  type of the class implementing this class
 * @param  type of the search model
 * @param  type of the expansion model
 */
public interface MetaModelSearchDsl, S, E> extends EntitySearch, SearchDsl, MetaModelExpansionDsl {

    @Override
    C withText(final LocalizedStringEntry text);

    @Override
    C withFuzzy(final Boolean fuzzy);

    @Override
    C withText(final Locale locale, final String text);

    @Override
    C withFacets(final List> facets);

    @Override
    C withFacets(final FacetExpression facet);

    C withFacets(final Function> m);

    @Override
    C plusFacets(final List> facets);

    @Override
    C plusFacets(final FacetExpression facet);

    C plusFacets(final Function> m);

    @Override
    C withResultFilters(final List> resultFilters);

    @Override
    C withResultFilters(final FilterExpression resultFilter);

    C withResultFilters(final Function> m);

    @Override
    C plusResultFilters(final List> resultFilters);

    @Override
    C plusResultFilters(final FilterExpression resultFilter);

    C plusResultFilters(final Function> m);

    @Override
    C withQueryFilters(final List> queryFilters);

    @Override
    C withQueryFilters(final FilterExpression queryFilter);

    C withQueryFilters(final Function> m);

    @Override
    C plusQueryFilters(final List> queryFilters);

    @Override
    C plusQueryFilters(final FilterExpression queryFilter);

    C plusQueryFilters(final Function> m);

    @Override
    C withFacetFilters(final List> facetFilters);

    @Override
    C withFacetFilters(final FilterExpression facetFilter);

    C withFacetFilters(final Function> m);

    @Override
    C plusFacetFilters(final List> facetFilters);

    @Override
    C plusFacetFilters(final FilterExpression facetFilter);

    C plusFacetFilters(final Function> m);

    @Override
    C withSort(final SearchSort sort);

    C withSort(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