@CompileStatic class DomainModelServiceImpl extends Object implements DomainModelService
| Type | Name and description |
|---|---|
DomainPropertyFactory |
domainPropertyFactory |
| Constructor and description |
|---|
DomainModelServiceImpl() |
DomainModelServiceImpl(DomainPropertyFactory domainPropertyFactory) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
List<DomainProperty> |
findInputProperties(PersistentEntity domainClass, Closure closure)Will return all properties in a domain class that the provided closure returns true for. |
|
List<DomainProperty> |
getInputProperties(PersistentEntity domainClass) |
|
List<DomainProperty> |
getListOutputProperties(PersistentEntity domainClass) |
|
List<DomainProperty> |
getOutputProperties(PersistentEntity domainClass) |
|
protected List<DomainProperty> |
getProperties(PersistentEntity domainClass, List<String> blacklist) |
|
Boolean |
hasInputProperty(PersistentEntity domainClass, Closure closure)Returns true if the provided closure returns true for any domain class property. |
Will return all properties in a domain class that the provided closure returns true for. Searches embedded properties
domainClass - The persistent entityclosure - The closure that will be executed for each editable property
Blacklist:
domainClass - The persistent entity
The same as getOutputProperties(org.grails.datastore.mapping.model.PersistentEntity) except the identifier is prepended
domainClass - The persistent entity
Blacklist:
domainClass - The persistent entity
Retrieves persistent properties and excludes:
static scaffold = [exclude: []] property on the domain class
[display: false]
domainClass - The persistent entityblackList - The list of domain class property names to excludeReturns true if the provided closure returns true for any domain class property. Searches embedded properties
domainClass - The persistent entityclosure - The closure that will be executed for each editable property