public abstract class GQLAbstractGetListDataFetcher extends GQLAbstractDataFetcher<GQLListLoadResult>
GQLSchemaBuilder for buildSchema "get list" method data fetcher
argument| Constructor and Description |
|---|
GQLAbstractGetListDataFetcher()
Default constructor.
|
GQLAbstractGetListDataFetcher(Collection<IGQLDynamicAttributeFilter<?,?,?>> dynamicAttributeFilters)
Constructor with dynamic attribute filters.
|
| Modifier and Type | Method and Description |
|---|---|
protected GQLListLoadConfig |
createListLoadConfig()
Override to provide custom
GQLListLoadConfig extension |
GQLListLoadResult |
get(graphql.schema.DataFetchingEnvironment environment) |
protected abstract GQLListLoadResult |
getAll(String entityName,
GQLListLoadConfig listLoadConfig) |
protected abstract Object |
getById(String entityName,
String id) |
convertObjectValue, getArgumentsForContext, getArgumentsForContextAsList, getArgumentValue, getEntityName, getRequestProvidedVariableNames, mapValue, mapValuepublic GQLAbstractGetListDataFetcher()
GQLAbstractGetListDataFetcher(Collection) instead.public GQLAbstractGetListDataFetcher(Collection<IGQLDynamicAttributeFilter<?,?,?>> dynamicAttributeFilters)
dynamicAttributeFilters - the collection of all registered
IGQLDynamicAttributeFilterprotected abstract GQLListLoadResult getAll(String entityName, GQLListLoadConfig listLoadConfig)
public GQLListLoadResult get(graphql.schema.DataFetchingEnvironment environment)
protected GQLListLoadConfig createListLoadConfig()
GQLListLoadConfig extensionGQLListLoadConfigCopyright © 2019. All rights reserved.