|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdeveloper.offlinedb.OfflineDBValidationManager
public class OfflineDBValidationManager
Manager that can be used to extend the offline databases's validation logic. The registration mechanisms are deprecated in favour of the offline database's extension xml hook. For example to register a property validator for "MyExtraProperty" against only tables:
<offline-database-hook xmlns="http://xmlns.oracle.com/ide/db/extension"> <property-validators> <property-validator> <property>properties/MyExtraProperty</property> <validator-class>oracle.example.offlinedb.MyExtraPropertyValidator</validator-class> <object-type>TABLE</object-type> </property-validator> </property-validators> </offline-database-hook>
Nested Class Summary | |
---|---|
static interface |
OfflineDBValidationManager.Validator Interface to be implemented for any class wishing to be registered to provide extra validation in the offlinedb. |
Method Summary | |
---|---|
static void |
registerExtraValidator(java.lang.String property, java.lang.String type, OfflineDBValidationManager.Validator v) Deprecated. use extension.xml instead |
static void |
unregisterExtraValidator(java.lang.String property, java.lang.String type, OfflineDBValidationManager.Validator v) Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Deprecated
public static void registerExtraValidator(java.lang.String property,
java.lang.String type,
OfflineDBValidationManager.Validator v)
property
- the property name (or path) that the validator is being registered againsttype
- the object type that the validator is being registered against, or null to register for all object types.v
- the validator being registered.
@Deprecated
public static void unregisterExtraValidator(java.lang.String property,
java.lang.String type,
OfflineDBValidationManager.Validator v)
property
- the property name (or path) that the validator is registered againsttype
- the type the validator is registered against, or null if it is registered for all objects.v
- the validator to unregister.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.3.0) E17493-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |