tba.
Class holds functionality to make databaseRequests by calling services. to implement this abstract Class to an external database there are four instance-methods, which have to be reimplemented:
1. connectToDataBase()
2. createCursor()
3. saveDB()
4. makeRequest(request, kwargs, save=False)
method iters through each service module found in pipeLionServer.service and creates instances of each Service-class and put them into a dictionary of class-types and insrances
method to make a request
Parameters: |
|
---|---|
Returns: | return-value of the dataBase request. |
Return type: | variant object |
This class is the implementation of the sqLite3 dataBase into the pipeLionServer
method iters through each service module found in pipeLionServer.service and creates instances of each Service-class and put them into a dictionary of class-types and insrances
method to make a request
Parameters: |
|
---|---|
Returns: | return-value of the dataBase request. |
Return type: | variant object |
the parseRequest method is called by the Server to gather the right ServiceModule. If the given service-module is not found, a PipeLionServerException is returned. If it is found the request will be send to this Service and the result will be returned