Modifiers | Name | Description |
---|---|---|
static java.lang.String |
ARGUMENT_DEEP_VALIDATE |
|
protected java.lang.ClassLoader |
classLoader |
|
protected AbstractHibernateDatastore |
datastore |
|
protected IHibernateTemplate |
hibernateTemplate |
Fields inherited from class | Fields |
---|---|
class AbstractGormApi |
persistentClass, persistentEntity |
class AbstractDatastoreApi |
datastore |
Constructor and description |
---|
protected AbstractHibernateGormValidationApi
(java.lang.Class<D> persistentClass, AbstractHibernateDatastore datastore, java.lang.ClassLoader classLoader) |
Type | Name and description |
---|---|
java.lang.Object |
applyManualFlush(org.hibernate.Session session) |
java.lang.Object |
readPreviousFlushMode(org.hibernate.Session session) |
void |
restoreFlushMode(org.hibernate.Session session, java.lang.Object previousFlushMode) |
protected org.springframework.validation.Errors |
setupErrorsProperty(java.lang.Object target) Initializes the Errors property on target. |
boolean |
validate(D instance, java.util.Map arguments = Collections.emptyMap() |
boolean |
validate(D instance, java.util.List validatedFieldsList, java.util.Map arguments = Collections.emptyMap() |
Methods inherited from class | Name |
---|---|
class GormValidationApi |
clearErrors, getErrors, getValidator, hasErrors, resetErrors, setErrors, setValidator, validate, validate, validate |
class AbstractGormApi |
getExtendedMethods, getMethods, initializeMethods |
class AbstractDatastoreApi |
execute, execute, getDatastore |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |
Initializes the Errors property on target. The target will be assigned a new Errors property. If the target contains any binding errors, those binding errors will be copied in to the new Errors property.
target
- object to initialize