Package Modeling :: Package interfaces :: Module Validation :: Class ValidationInterface
[show private | hide private]
[frames | no frames]

Class ValidationInterface

Base --+
       |
      ValidationInterface

Known Subclasses:
DatabaseObjectInterface

Mix-in class for validation

Implemented by: XXX


Method Summary
  validateForDelete(self)
Only checks for now that no relationship tagged with 'DENY' still holds objects
  validateForInsert(self)
Simply calls validateForSave for now
  validateForSave(self)
Validates the whole object + calls subclass' validate<attribute/relationshipName>() method if available.
  validateForUpdate(self)
Simply calls validateForSave for now
  validateObject(self)
Kept for backward compatibility ; should simply call 'validateForSave()'
  validateValueForKey(self, aValue, aKey)
Validate the value hold by 'aKey' attribute/relationship in the object

Method Details

validateForDelete(self)

Only checks for now that no relationship tagged with 'DENY' still holds objects

validateForInsert(self)

Simply calls validateForSave for now

validateForSave(self)

Validates the whole object + calls subclass' validate<attribute/relationshipName>() method if available.

validateForUpdate(self)

Simply calls validateForSave for now

validateObject(self)

Kept for backward compatibility ; should simply call 'validateForSave()'

validateValueForKey(self, aValue, aKey)

Validate the value hold by 'aKey' attribute/relationship in the object

Generated by Epydoc 2.1 on Sat Mar 4 13:36:26 2006 http://epydoc.sf.net