interface DomainModelService
An API to retrieve properties from a PersistentEntity
Type Params | Return Type | Name and description |
---|---|---|
|
abstract java.util.List<DomainProperty> |
findInputProperties(PersistentEntity domainClass, groovy.lang.Closure closure) The list of DomainProperty instances that allow for user input and the closure returns true for |
|
abstract java.util.List<DomainProperty> |
getInputProperties(PersistentEntity domainClass) The list of DomainProperty instances that allow for user input |
|
abstract java.util.List<DomainProperty> |
getInputProperties(PersistentEntity domainClass, java.util.List blackList) |
|
abstract java.util.List<DomainProperty> |
getListOutputProperties(PersistentEntity domainClass) The list of DomainProperty instances that are to be visible in a list context |
|
abstract java.util.List<DomainProperty> |
getOutputProperties(PersistentEntity domainClass) The list of DomainProperty instances that are to be visible |
|
abstract java.lang.Boolean |
hasInputProperty(PersistentEntity domainClass, groovy.lang.Closure closure) Determines if the closure returns true for any input DomainProperty |
The list of DomainProperty instances that allow for user input and the closure returns true for
domainClass
- The persistent entityclosure
- The closure that will be executed for each editable propertyThe list of DomainProperty instances that allow for user input
domainClass
- The persistent entityThe list of DomainProperty instances that are to be visible in a list context
domainClass
- The persistent entityThe list of DomainProperty instances that are to be visible
domainClass
- The persistent entityDetermines if the closure returns true for any input DomainProperty
domainClass
- The persistent entityclosure
- The closure that will be executed for each property