com.ibm.websphere.bo
Interface BOInstanceValidator
- public interface BOInstanceValidator
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
validate(commonj.sdo.DataObject businessObject,java.util.List diagnostics)
Do a deep validation for a BO instance.
|
|
validate(commonj.sdo.DataObject businessObject,java.util.List diagnostics,java.util.Locale locale)
Do a deep validation for a BO instance.
|
|
validate(commonj.sdo.DataObject businessObject,java.util.List diagnostics,java.util.Locale locale,java.util.logging.Level logLevel)
Do a deep validation for a BO instance.
|
|
validateProperty(commonj.sdo.DataObject businessObject,java.lang.String propertyPath,java.util.List diagnostics)
Do a deep validation for a BO instance's property.
|
|
validateProperty(commonj.sdo.DataObject businessObject,java.lang.String propertyPath,java.util.List diagnostics,java.util.Locale locale)
Do a deep validation for a BO instance's property.
|
|
validatePropertyShallow(commonj.sdo.DataObject businessObject,java.lang.String propertyPath,java.util.List diagnostics)
Do a shallow validation for a BO instance's property.
|
|
validatePropertyShallow(commonj.sdo.DataObject businessObject,java.lang.String propertyPath,java.util.List diagnostics,java.util.Locale locale)
Do a shallow validation for a BO instance's property.
|
|
validateShallow(commonj.sdo.DataObject businessObject,java.util.List diagnostics)
Do a shallow validation for a BO instance.
|
|
validateShallow(commonj.sdo.DataObject businessObject,java.util.List diagnostics,java.util.Locale locale)
Do a shallow validation for a BO instance.
|
Field Detail
COPYRIGHT
- static final java.lang.String COPYRIGHT
Method Detail
validate
- boolean validate(commonj.sdo.DataObject businessObject,
- java.util.List diagnostics,
- java.util.Locale locale)
validate
- boolean validate(commonj.sdo.DataObject businessObject,
- java.util.List diagnostics,
- java.util.Locale locale,
- java.util.logging.Level logLevel)
For example: there is a BO instance named customer.
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validate(customer, diagnostics);
validate
- boolean validate(commonj.sdo.DataObject businessObject,
- java.util.List diagnostics)
For example: there is a BO instance named customer.
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validate(customer, diagnostics);
validateShallow
- boolean validateShallow(commonj.sdo.DataObject businessObject,
- java.util.List diagnostics,
- java.util.Locale locale)
For example: there is a BO instance named customer.
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validateShallow(customer,diagnostics);
validateShallow
- boolean validateShallow(commonj.sdo.DataObject businessObject,
- java.util.List diagnostics)
For example: there is a BO instance named customer.
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validateShallow(customer,diagnostics);
validateProperty
- boolean validateProperty(commonj.sdo.DataObject businessObject,
- java.lang.String propertyPath,
- java.util.List diagnostics,
- java.util.Locale locale)
If this property were a BO, this method would validate the whole tree from this property.
If this property were a simple type, validateProperty is same with validatePropertyShallow.
For example: there is a BO instance named customer, and customer has a property named "address".
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validateProperty(customer,"address",diagnostics);
validateProperty
- boolean validateProperty(commonj.sdo.DataObject businessObject,
- java.lang.String propertyPath,
- java.util.List diagnostics)
If this property were a BO, this method would validate the whole tree from this property.
If this property were a simple type, validateProperty is same with validatePropertyShallow.
For example: there is a BO instance named customer, and customer has a property named "address".
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validateProperty(customer,"address",diagnostics);
validatePropertyShallow
- boolean validatePropertyShallow( commonj.sdo.DataObject businessObject,
- java.lang.String propertyPath,
- java.util.List diagnostics,
- java.util.Locale locale)
If this property were a BO, this method would only validate the first level tree from this property.
If this property were a simple type, validateProperty is same with validatePropertyShallow.
For example: there is a BO instance named customer, and customer has a property named "address".
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validatePropertyShallow(customer,"address",diagnostics);
validatePropertyShallow
- boolean validatePropertyShallow( commonj.sdo.DataObject businessObject,
- java.lang.String propertyPath,
- java.util.List diagnostics)
If this property were a BO, this method would only validate the first level tree from this property.
If this property were a simple type, validateProperty is same with validatePropertyShallow.
For example: there is a BO instance named customer, and customer has a property named "address".
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validatePropertyShallow(customer,"address",diagnostics);
For example: there is a BO instance named customer.
List diagnostics;
BOInstanceValidator boValidator = (BOInstanceValidator) new ServiceManager().locateService("com/ibm/websphere/bo/BOInstanceValidator");
boolean result = boValidator.validate(customer, diagnostics);