butler.sql.driver
Class SQLServiceImpl
java.lang.Object
butler.sql.driver.SQLServiceImpl
- All Implemented Interfaces:
- SQLService, java.rmi.Remote
public class SQLServiceImpl
- extends java.lang.Object
- implements SQLService
Service performing JDBC tasks.
- Author:
- Fredrik Bertilsson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLServiceImpl
public SQLServiceImpl()
throws java.lang.Exception
- Throws:
java.lang.Exception
setInterceptors
public void setInterceptors(java.util.List list)
findByPK
public java.lang.String findByPK(java.lang.String tabPath,
butler.util.Tuple key)
throws java.lang.Exception
- Specified by:
findByPK
in interface SQLService
- Throws:
java.lang.Exception
runQueryInstance
public java.lang.String runQueryInstance(java.lang.String qi)
throws java.lang.Exception
- Specified by:
runQueryInstance
in interface SQLService
- Throws:
java.lang.Exception
createRecord
public java.lang.String createRecord(java.lang.String path)
throws java.lang.Exception
- Specified by:
createRecord
in interface SQLService
- Throws:
java.lang.Exception
saveRecord
public java.lang.String saveRecord(java.lang.String recXML)
throws java.lang.Exception
- Specified by:
saveRecord
in interface SQLService
- Throws:
java.lang.Exception
saveRecordList
public java.lang.String saveRecordList(java.lang.String xml)
throws java.lang.Exception
- Specified by:
saveRecordList
in interface SQLService
- Throws:
java.lang.Exception
deleteRecord
public java.lang.String deleteRecord(java.lang.String recXML,
boolean cascade)
throws java.lang.Exception
- Specified by:
deleteRecord
in interface SQLService
- Throws:
java.lang.Exception
register
public void register(ServiceManager manager)
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Runs the Butler service.
To specify another port number than 7123, pass the arguments "-port xxxx".
- Throws:
java.lang.Exception