@Deprecated
public interface DBObjectValidator<T extends DBObject>
Modifier and Type | Method and Description |
---|---|
void |
validateObject(T object)
Deprecated.
Determines whether the specified DBObject is valid.
|
void |
validateObject(T original,
T updated)
Deprecated.
Determines whether the specified updated DBObject is valid.
|
void |
validateObjectProperty(T object,
java.lang.String property)
Deprecated.
Determines whether the specified DBObject's children of given type are
valid.
|
void |
validateObjectProperty(T original,
T updated,
java.lang.String property)
Deprecated.
Determines whether the specified DBObject's children of given type are
valid for this update.
|
void validateObject(T object) throws ValidationException
object
- the DBObject to validateValidationException
- if the object is not valid.void validateObject(T original, T updated) throws ValidationException
object
- the original DBObjectobject
- the updated DBObject to validateValidationException
- if the object is not valid.void validateObjectProperty(T object, java.lang.String property) throws ValidationException
object
- the DBObject to validateproperty
- the property identfier for the specific property to
validate.ValidationException
- if the object is not valid.void validateObjectProperty(T original, T updated, java.lang.String property) throws ValidationException
object
- the original DBObjectobject
- the updated DBObject to validateproperty
- the property identfier for the specific property to
validate.ValidationException
- if the object is not valid.