io.sphere.sdk.states.queries.StateByIdGet Maven / Gradle / Ivy
package io.sphere.sdk.states.queries;
import io.sphere.sdk.models.Identifiable;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import io.sphere.sdk.states.State;
import io.sphere.sdk.states.expansion.StateExpansionModel;
import java.util.List;
import java.util.function.Function;
public interface StateByIdGet extends MetaModelGetDsl> {
static StateByIdGet of(final Identifiable state) {
return of(state.getId());
}
static StateByIdGet of(final String id) {
return new StateByIdGetImpl(id);
}
@Override
StateByIdGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
List> expansionPaths();
@Override
StateByIdGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
StateByIdGet withExpansionPaths(final List> expansionPaths);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy