public interface DomainModelService
An API to retrieve properties from a PersistentEntity
| Type Params | Return Type | Name and description |
|---|---|---|
|
public 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 |
|
public java.util.List<DomainProperty> |
getInputProperties(PersistentEntity domainClass)The list of DomainProperty instances that allow for user input |
|
public java.util.List<DomainProperty> |
getListOutputProperties(PersistentEntity domainClass)The list of DomainProperty instances that are to be visible in a list context |
|
public java.util.List<DomainProperty> |
getOutputProperties(PersistentEntity domainClass)The list of DomainProperty instances that are to be visible |
|
public 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