| Modifier and Type | Interface and Description |
|---|---|
interface |
IGQLCustomMethod0Arg<OUTPUT_TYPE>
Custom method that will be added to GQL Schema.
|
interface |
IGQLCustomMethod1Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE>
Custom method that will be added to GQL Schema.
|
interface |
IGQLCustomMethod2Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE>
Custom method that will be added to GQL Schema.
|
interface |
IGQLCustomMethod3Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE,ARGUMENT_3_TYPE>
Custom method that will be added to GQL Schema.
|
interface |
IGQLCustomMethod4Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE,ARGUMENT_3_TYPE,ARGUMENT_4_TYPE>
Custom method that will be added to GQL Schema.
|
interface |
IGQLCustomMethod5Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE,ARGUMENT_3_TYPE,ARGUMENT_4_TYPE,ARGUMENT_5_TYPE>
Custom method that will be added to GQL Schema.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GQLAbstractCustomMethod<OUTPUT_TYPE>
Custom method that will be added to GQL Schema.
|
class |
GQLCustomMethod0Arg<OUTPUT_TYPE>
Custom method that will be added to GQL Schema.
|
class |
GQLCustomMethod1Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE>
Custom method that will be added to GQL Schema.
|
class |
GQLCustomMethod2Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE>
Custom method that will be added to GQL Schema.
|
class |
GQLCustomMethod3Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE,ARGUMENT_3_TYPE>
Custom method that will be added to GQL Schema.
|
class |
GQLCustomMethod4Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE,ARGUMENT_3_TYPE,ARGUMENT_4_TYPE>
Custom method that will be added to GQL Schema.
|
class |
GQLCustomMethod5Arg<OUTPUT_TYPE,ARGUMENT_1_TYPE,ARGUMENT_2_TYPE,ARGUMENT_3_TYPE,ARGUMENT_4_TYPE,ARGUMENT_5_TYPE>
Custom method that will be added to GQL Schema.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
GQLCustomMethodDataFetcher.getArgumentValue(graphql.schema.DataFetchingEnvironment environment,
IGQLAbstractCustomMethod<?> method,
int argumentPosition)
Get argument value from given environment
|
| Modifier and Type | Method and Description |
|---|---|
void |
GQLCustomMethodDataFetcher.registerCustomMethods(List<? extends IGQLAbstractCustomMethod<?>> customMethods)
Register custom methods in this data fetcher.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<IGQLAbstractCustomMethod<?>> |
GQLMetaModel.getMethods() |
| Modifier and Type | Method and Description |
|---|---|
GQLMetaModel |
GQLMetaModel.buildFromEntityClasses(Collection<Class<?>> entityClasses,
Collection<Class<?>> availableEmbeddedEntityClasses,
Collection<IGQLAbstractDynamicAttribute<?>> dynamicAttributes,
Collection<IGQLAbstractCustomMethod<?>> customMethods)
With this method, all meta datas will be automatically generated and
registered from given entity classes, attributes and methods.
|
GQLMetaModel |
GQLMetaModel.buildFromMetaDatas(Collection<GQLEnumMetaData> enumMetaDatas,
Collection<GQLEntityMetaData> entityMetaDatas,
Collection<IGQLAbstractDynamicAttribute<?>> dynamicAttributes,
Collection<IGQLAbstractCustomMethod<?>> customMethods)
With this method, dynamic attributes and custom method meta data will be
automatically generated and registered.
You can also provide entities with dynamic attributes already registered and custom methods meta data already created. |
GQLEnumsAndEmbeddedEntities |
GQLEnumsAndEmbeddedEntitiesCollector.collect(Collection<Class<?>> entityClasses,
Collection<Class<?>> availableEmbeddedEntityClasses,
Collection<IGQLAbstractDynamicAttribute<?>> dynamicAttributes,
Collection<IGQLAbstractCustomMethod<?>> customMethods)
Collect all entities and enumerations from given entities, dynamic
attributes and custom methods
|
| Modifier and Type | Method and Description |
|---|---|
GQLAbstractMethodMetaData |
GQLMethodMetaDataBuilder.build(Collection<GQLEnumMetaData> enumMetaDatas,
Collection<GQLEntityMetaData> entityMetaDatas,
IGQLAbstractCustomMethod<?> customMethod)
Build custom method meta data from its
GQLAbstractCustomMethod
definition |
| Modifier and Type | Method and Description |
|---|---|
IGQLAbstractCustomMethod<?> |
GQLAbstractMethodMetaData.getMethod()
Get the method
IGQLAbstractCustomMethod |
| Modifier and Type | Method and Description |
|---|---|
GQLAbstractMethodMetaData |
GQLAbstractMethodMetaData.setMethod(IGQLAbstractCustomMethod<?> method) |
| Constructor and Description |
|---|
GQLVariableMap(IGQLAbstractCustomMethod<?> method,
Object... args)
Constructor
|
Copyright © 2019. All rights reserved.