WebObjects 5.2.3

Uses of Class
com.webobjects.foundation.NSValidation.ValidationException

Packages that use NSValidation.ValidationException
com.webobjects.appserver Provides the WebObjects application server, session management classes, component classes, and classes to manage the request-response loop. 
com.webobjects.directtoweb Provides the framework for rapid development of HTML-based WebObjects applications. 
com.webobjects.eoaccess Provides the data access mechanisms for the Enterprise Objects technology. 
com.webobjects.eocontrol Provides infrastructure for creating and manging enterprise objects. 
com.webobjects.eodistribution.client Provides the communication mechanism between the client and server components of Java Client applications. 
com.webobjects.foundation Provides a set of robust and mature core classes, including utility, collection, key-value coding, time and date, notification, and debug logging classes. 
 

Uses of NSValidation.ValidationException in com.webobjects.appserver
 

Methods in com.webobjects.appserver that throw NSValidation.ValidationException
 Object WOComponent.validateTakeValueForKeyPath(Object value, String keyPath)
          Validates (and coerces) the given value, assigning it if it is different than the current value.
 Object WOComponent.validateValueForKey(Object value, String key)
          Conformance to NSValidation.
 Object WOAction.validateTakeValueForKeyPath(Object value, String keyPath)
           
 Object WOAction.validateValueForKey(Object value, String key)
           
 

Uses of NSValidation.ValidationException in com.webobjects.directtoweb
 

Methods in com.webobjects.directtoweb that throw NSValidation.ValidationException
 Object EditComponent.validateTakeValueForKeyPath(Object anObject, String aPath)
          This method is intentionally undocumented.
 Object D2WEditBoolean.validateTakeValueForKeyPath(Object anObject, String aPath)
          This method is intentionally undocumented.
 

Uses of NSValidation.ValidationException in com.webobjects.eoaccess
 

Methods in com.webobjects.eoaccess that throw NSValidation.ValidationException
 Object EORelationship.validateValue(Object valueP)
          For relationships marked as mandatory, throws a ValidationException if the receiver is to-one and valueP is null, or if the receiver is to-many and valueP has a count of 0.
 void EOEntityClassDescription.validateObjectForDelete(EOEnterpriseObject object)
          Determines whether it is permissible to delete object.
 Object EOEntityClassDescription.validateValueForKey(Object valueP, String key)
          Validates the object valueP using the property named key.
 Object EOAttribute.validateValue(Object valueP)
          Validates valueP by attempting to convert it to the attribute's value type and by testing other attribute validation constraints (such as allowsNull, width, and so on).
 

Uses of NSValidation.ValidationException in com.webobjects.eocontrol
 

Methods in com.webobjects.eocontrol that throw NSValidation.ValidationException
 void EOValidation.validateClientUpdate()
          Invoked after an object is being updated from a client application (Java Client) to validate whether the object is in an consistent state from the server-side perspective.
 void EOValidation.validateForDelete()
          Confirms that the receiver can be deleted in its current state, throwing an NSValidation.ValidationException if it can't.
 void EOValidation.validateForInsert()
          Confirms that the receiver can be inserted in its current state, throwing an NSValidation.ValidationException if it can't.
 void EOValidation.validateForSave()
          Confirms that the receiver can be saved in its current state, throwing an NSValidation.ValidationException if it can't.
 void EOValidation.validateForUpdate()
          Confirms that the receiver can be updated in its current state, throwing an NSValidation.ValidationException if it can't.
 void EOCustomObject.validateClientUpdate()
          Validate whether object is in an consistent state after being updated from a client.
 void EOCustomObject.validateForDelete()
          Confirms that the receiver can be deleted in its current state, throwing an NSValidation.ValidationException if it can't.
 void EOCustomObject.validateForInsert()
          Confirms that the receiver can be inserted in its current state, throwing an NSValidation.ValidationException if it can't.
 void EOCustomObject.validateForSave()
          Confirms that the receiver can be saved in its current state, throwing an NSValidation.ValidationException if it can't.
 void EOCustomObject.validateForUpdate()
          Confirms that the receiver can be saved in its current state, throwing a NSValidation.ValidationException if it can't.
 Object EOCustomObject.validateTakeValueForKeyPath(Object value, String keyPath)
          Confirms that value is valid for the receiver's property named by keyPath, and assigns the value to the property (if value is different from the current value), or throws an NSValidation.ValidationException if value isn't valid.
 Object EOCustomObject.validateValueForKey(Object value, String key)
          Validates a property indirectly by name.
 void EOClassDescription.validateObjectForDelete(EOEnterpriseObject object)
          Overridden by subclasses to determine whether it's permissible to delete an object.
 void EOClassDescription.validateObjectForSave(EOEnterpriseObject object)
          Overridden by subclasses to determine whether the values being saved for an object are acceptable.
 Object EOClassDescription.validateValueForKey(Object value, String key)
          Overridden by subclasses to validate a value.
 

Uses of NSValidation.ValidationException in com.webobjects.eodistribution.client
 

Methods in com.webobjects.eodistribution.client that throw NSValidation.ValidationException
 Object EORelationship.validateValue(Object value)
          Validates value by performing several checks to see whether value would be an acceptable value for the relationship.
 Object EODistributedClassDescription.validateValueForKey(Object value, String key)
          Validate the value passed and return a possibly coerced value.
 Object EOAttribute.validateValue(Object value)
          Validates value by attempting to convert it to the attribute's value type and testing other attribute validation constraints (such as allowsNull, width, and so on).
 

Uses of NSValidation.ValidationException in com.webobjects.foundation
 

Methods in com.webobjects.foundation that return NSValidation.ValidationException
static NSValidation.ValidationException NSValidation.ValidationException.aggregateExceptionWithExceptions(NSArray aggregateExceptions)
          Returns an exception that is the aggregate of the exceptions in the aggregateExceptions array.
 NSValidation.ValidationException NSValidation.ValidationException.exceptionAddingEntriesToUserInfo(Object object, String key)
          Deprecated. Use exceptionWithObjectAndKey(java.lang.Object, java.lang.String)
 NSValidation.ValidationException NSValidation.ValidationException.exceptionWithObjectAndKey(Object object, String key)
          Returns a new exception with the same message as this ValidationException, but whose userInfo dictionary contains object and key.
 

Methods in com.webobjects.foundation that throw NSValidation.ValidationException
 Object NSValidation.validateTakeValueForKeyPath(Object value, String keyPath)
          Confirms that value is legal for the object's property named by keyPath and then assigns it to the property.
 Object NSValidation.validateValueForKey(Object value, String key)
          Confirms that value is legal for the object's property named by key.
static Object NSValidation.DefaultImplementation.validateTakeValueForKeyPath(Object object, Object value, String keyPath)
          Confirms that value is legal for an objects's property, which is named by keyPath, and assigns the value to the property if it's legal (and if value is different from the current value).
static Object NSValidation.DefaultImplementation.validateValueForKey(Object object, Object value, String key)
          Confirms that value is legal for the NSValidation's property, which is named by key, and returns the validated value if it's legal, or throws an NSValidation.ValidationException if it isn't.
static Object NSValidation.Utility.validateTakeValueForKeyPath(Object object, Object value, String keyPath)
          If object is an NSValidation, invokes validateTakeValueForKeyPath on object; otherwise invokes NSValidation.DefaultImplementation's validateTakeValueForKeyPath method with object as the object on which to operate.
static Object NSValidation.Utility.validateValueForKey(Object object, Object value, String key)
          If object is an NSValidation, invokes validateValueForKey on object; otherwise invokes NSValidation.DefaultImplementation's validateValueForKey method with object as the object on which to operate.
 


Last updated Thu Oct 21 15:04:16 PDT 2004.

Copyright © 2004 Apple Computer, Inc.