| Modifier and Type | Field and Description |
|---|---|
| private Vector |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | addPropertySetNotification(PropertySetCallback
which object is called who)Implements org. Add a callback for a change in any property value. |
| public Serializable | doMap(String
The property key key, Serializable The value to be bound to the key value, Dictionary<K, V> The property set for this key set)Implements org. Call the property set callbacks to map a proposed property value to a value to save. |
| public Serializable | doValidateApplyAndMap(TransactionController tc, String key, Serializable value, Dictionary<K, V> d, boolean dbOnlyProperty)
Implements org.
|
| public void | validateSingleProperty(String
The property key key, Serializable The proposed value for the key value, Dictionary<K, V> The set containing the key/value pair set)Implements org. validate a single property |
| public synchronized void | verifyPropertySet(Properties
Properties to validate. p, Properties Properties to not validate in p. Usefull for properties
that may not be set after boot. ignore)Implements org. Validate a Property set. |
| notifyOnSet | back to summary |
|---|---|
| private Vector<PropertySetCallback> notifyOnSet | |
| PropertyValidation | back to summary |
|---|---|
| public PropertyValidation() | |
| addPropertySetNotification | back to summary |
|---|---|
| public synchronized void addPropertySetNotification(PropertySetCallback who) Implements org. Doc from org. Add a callback for a change in any property value.
| |
| doMap | back to summary |
|---|---|
| public Serializable doMap(String key, Serializable value, Dictionary<K, V> set) throws StandardException Implements org. Call the property set callbacks to map a proposed property value to a value to save. The caller must run this in a block synchronized on this to serialize validations with changes to the set of property callbacks
| |
| doValidateApplyAndMap | back to summary |
|---|---|
| public Serializable doValidateApplyAndMap(TransactionController tc, String key, Serializable value, Dictionary<K, V> d, boolean dbOnlyProperty) throws StandardException Implements org. | |
| validateSingleProperty | back to summary |
|---|---|
| public void validateSingleProperty(String key, Serializable value, Dictionary<K, V> set) throws StandardException Implements org. Doc from org. validate a single property
| |
| verifyPropertySet | back to summary |
|---|---|
| public synchronized void verifyPropertySet(Properties p, Properties ignore) throws StandardException Implements org. Doc from org. Validate a Property set. Validate a Property set by calling all the registered property set notification functions with .
| |