Package com.dassault_systemes.catweb.databackend.dataType |
com.dassault_systemes.catweb.databackend.dataType.Driver2
Framework : CATJDataAccessBasicModel
Module : PLAdatabackend
public interface Driver2
Interface to manage the access to hierachied data.
- First the driver gets some information with the setParameters method,
- then the driver is started with the start method,
- then the licensing is checked with the isLicensingOK method,
- if the licensing is ok, the security is checked with the SecurityIF interface,
- if the security is ok, the driver gets the environment with the EnvironmentIF interface,
- and the different types of objects of your system with the MetadataIF interface.
- The query and the navigation through the data are performed with the methods of DataIF interface.
- At the end of the session the driver is called on the stop method.
All Implemented Interfaces:
Driver
stop
void stop()
Stops the Driver, called at the end of the session.
setParameter
void setParameter(KeywordValue[] _kvs)
Provides the informations stored in Driver.properties, called before the start of the Driver.
- Parameters:
iKeywordValues
- The array of KeywordValue contains the informations stored in Driver.properties.
In Driver.properties, the field nbParameter gives the size of this array, the field parameter.*.keyword gives the keyword and the field parameter.*.value gives the value.
getSupportedInterface
Object getSupportedInterface(String interfaceName)
Enables the Portal to know which optional interfaces are supported by the Driver.
For example, when we want a service like bookmark data, we use the getSupportedInterface method, to tell the Driver the persistantDataIF interface is implemented.
At this code version, only optional interface persistantDataIF is available.
- Parameters:
iInterfaceName
- It takes in input a String which is the full java classname of the interface requested, for example "com.dassault_systemes.catweb.databackend.dataType.persistantDataIF".
- Returns:
Returns a java.lang.Object implementing the interface requested.
Copyright © 2000, Dassault Systèmes. All rights reserved