@groovy.transform.CompileStatic class DomainModelServiceImpl extends java.lang.Object implements DomainModelService
Type | Name and description |
---|---|
DomainPropertyFactory |
domainPropertyFactory |
Constructor and description |
---|
DomainModelServiceImpl() |
Type Params | Return Type | Name and description |
---|---|---|
|
java.util.List<DomainProperty> |
findInputProperties(PersistentEntity domainClass, groovy.lang.Closure closure) Will return all properties in a domain class that the provided closure returns true for. |
|
java.util.List<DomainProperty> |
getInputProperties(PersistentEntity domainClass, java.util.List<java.lang.String> blackList) |
|
java.util.List<DomainProperty> |
getListOutputProperties(PersistentEntity domainClass) |
|
java.util.List<DomainProperty> |
getOutputProperties(PersistentEntity domainClass) |
|
protected java.util.List<DomainProperty> |
getProperties(PersistentEntity domainClass, java.util.List<java.lang.String> blacklist) |
|
java.lang.Boolean |
hasInputProperty(PersistentEntity domainClass, groovy.lang.Closure closure) Returns true if the provided closure returns true for any domain class property. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
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 propertyGroovy Documentation