Class |
Description |
GrailsDomainGormMethodsRule
|
Database operation should be performed by Data Services instead of calling GORM static and instance methods. |
GrailsDomainHasEqualsRule
|
Checks that Grails domain classes redefine equals(). |
GrailsDomainHasToStringRule
|
Checks that Grails domain classes redefine toString() |
GrailsDomainReservedSqlKeywordNameRule
|
Forbids usage of SQL reserved keywords as class or field names in Grails domain classes.
|
GrailsDomainStringPropertyMaxSizeRule
|
String properties in Grails domain classes have to define maximum size otherwise the property is mapped to VARCHAR(255) causing runtime exceptions to occur |
GrailsDomainWithServiceReferenceRule
|
Checks that Grails Domain classes do not have Service classes injected. |
GrailsDuplicateConstraintRule
|
Check for duplicate constraints entry |
GrailsDuplicateMappingRule
|
Check for duplicate entry in a domain class mapping |
GrailsMassAssignmentRule
|
Untrusted input should not be allowed to set arbitrary object fields without restriction. |
GrailsPublicControllerMethodRule
|
Rule that checks for public methods on Grails controller classes. |
GrailsServletContextReferenceRule
|
Rule that checks for references to the servletContext object from within Grails controller and
taglib classes.
|
GrailsStatelessServiceRule
|
Rule that checks for non-final fields on a Grails service class. |
GrailsUtil
|
Utility methods and constants for Grails rule classes. |