static interface GraphQLDomainPropertyManager.Builder
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract Builder |
alwaysNullable()Whether or not properties should allow nulls should be overridden so that properties are nullable, even if they otherwise would not be. |
|
abstract Builder |
condition(groovy.lang.Closure closure)Exclude properties based on the return returnType of the provided closure. |
|
abstract Builder |
exclude(java.lang.String[] props)Exclude properties from being returned |
|
abstract Builder |
excludeIdentifiers()Exclude identifier properties from being returned |
|
abstract Builder |
excludeIdentifiers(boolean exceptComposite)Exclude identifier properties from being returned |
|
abstract Builder |
excludeTimestamps()Exclude 'dateCreated' and 'lastUpdated' from being returned |
|
abstract Builder |
excludeVersion()Exclude the version property from being returned |
|
abstract java.util.List<GraphQLDomainProperty> |
getProperties(PersistentEntity entity)Retrieves the desired properties based on the conditions previously applied The mapping will be retrieved from the entity `static graphql = |
|
abstract java.util.List<GraphQLDomainProperty> |
getProperties(PersistentEntity entity, GraphQLMapping mapping)Retrieves the desired properties based on the conditions previously applied |
Whether or not properties should allow nulls should be overridden so that properties are nullable, even if they otherwise would not be.
Exclude properties based on the return returnType of the provided closure. If the closure returns false, the property will not be returned.
closure - The closure to execute. The PersistentProperty
instance will be passed as the first argument.Exclude properties from being returned
props - One or more property namesExclude identifier properties from being returned
Exclude identifier properties from being returned
exceptComposite - If true, composite identifiers will be includedExclude 'dateCreated' and 'lastUpdated' from being returned
Exclude the version property from being returned
Retrieves the desired properties based on the conditions previously applied The mapping will be retrieved from the entity `static graphql = ..`
entity - The entity to retrieve properties fromRetrieves the desired properties based on the conditions previously applied
entity - The entity to retrieve properties frommapping - The entity mapping to build domain properties with