@@ -31,7 +31,7 @@ This file belongs to the Servoy development and deployment environment, Copyrigh
31
31
32
32
/**
33
33
* Interface for manipulation database data
34
- *
34
+ *
35
35
* @author jblok
36
36
*/
37
37
public interface IDataServer extends ILockServer , IMaintenanceServer , Remote
@@ -54,13 +54,14 @@ public interface IDataServer extends ILockServer, IMaintenanceServer, Remote
54
54
public static final int USERMANAGEMENT_QUERY = 16 ;
55
55
public static final int META_DATA_QUERY = 17 ;
56
56
public static final int METHOD_CALL = 18 ;
57
+ public static final int METHOD_CALL_WAITING_FOR_USER_INPUT = 19 ;
57
58
58
59
59
60
public static final String BLOB_MARKER_COLUMN_ALIAS = "SV_BLOB_M" ; //$NON-NLS-1$
60
61
61
62
/**
62
63
* Main query method on databases.
63
- *
64
+ *
64
65
* @param client_id client ID
65
66
* @param server_name the server to use
66
67
* @param transaction_id id or null if none
@@ -97,30 +98,9 @@ public IDataSet performQuery(String client_id, String server_name, String driver
97
98
public IDataSet performCustomQuery (String client_id , String server_name , String driverTableName , String transaction_id , ISQLSelect sqlSelect ,
98
99
ArrayList <TableFilter > filters , int startRow , int rowsToRetrieve ) throws ServoyException , RemoteException ;
99
100
100
- /**
101
- *
102
- * @param client_id
103
- * @param server_name
104
- * @param transaction_id
105
- * @param array
106
- * @return
107
- * @throws ServoyException
108
- * @throws RemoteException
109
- */
110
101
public IDataSet [] performQuery (String client_id , String server_name , String transaction_id , QueryData [] array ) throws ServoyException , RemoteException ;
111
102
112
103
113
- /**
114
- * @param action from ISQLStatement static fields
115
- * @param server_name server name in lower case to work on
116
- * @param tableName table name in lowercase to work on
117
- * @param pkColumnData must be db compatible types and columns ordered a-z when having mulitple columns
118
- * @param tid transaction id, can be null if not present
119
- * @param sql the SQL to execute
120
- * @param questiondata the data for the question marks (must be db compatible types)
121
- * @return the statement
122
- * @throws RemoteException
123
- */
124
104
public ISQLStatement createSQLStatement (int action , String server_name , String tableName , Object [] pkColumnData , String tid , String sql ,
125
105
Object [] questiondata ) throws RemoteException , RepositoryException ;
126
106
@@ -132,7 +112,7 @@ public boolean notifyDataChange(String client_id, String server_name, String tab
132
112
133
113
/**
134
114
* Change or Add data in database
135
- *
115
+ *
136
116
* @param client_id the client ID
137
117
* @param statements the changes
138
118
* @return the values from the dbsequences for each statement
@@ -141,12 +121,12 @@ public boolean notifyDataChange(String client_id, String server_name, String tab
141
121
*/
142
122
public Object [] performUpdates (String clientId , ISQLStatement [] statements ) throws ServoyException , RemoteException ;
143
123
144
- public Blob getBlob (String clientId , String serverName , ISQLSelect blobSelect , ArrayList <TableFilter > filters , String tid ) throws RepositoryException ,
145
- RemoteException ;
124
+ public Blob getBlob (String clientId , String serverName , ISQLSelect blobSelect , ArrayList <TableFilter > filters , String tid )
125
+ throws RepositoryException , RemoteException ;
146
126
147
127
/**
148
128
* Start a transaction in backend DB.
149
- *
129
+ *
150
130
* @param client_id the client ID
151
131
* @param server_name start transaction for specified server
152
132
* @return String the id
@@ -157,7 +137,7 @@ public Blob getBlob(String clientId, String serverName, ISQLSelect blobSelect, A
157
137
158
138
/**
159
139
* End a started transaction in backend DB.
160
- *
140
+ *
161
141
* @param transaction_id id to end
162
142
* @param commit true for commit or false for rollback
163
143
* @return boolean true if success full
@@ -173,7 +153,7 @@ public Blob getBlob(String clientId, String serverName, ISQLSelect blobSelect, A
173
153
174
154
/**
175
155
* Insert a data set in a table. When tableName is null a temporary table will be created
176
- *
156
+ *
177
157
* @param client_id
178
158
* @param set
179
159
* @param dataSource
@@ -192,7 +172,7 @@ public ITable insertDataSet(String client_id, IDataSet set, String dataSource, S
192
172
193
173
/**
194
174
* Insert a data from a query in a table. When tableName is null a temporary table will be created
195
- *
175
+ *
196
176
* @param client_id
197
177
* @param queryServerName
198
178
* @param queryTid
@@ -222,7 +202,7 @@ public ITable insertQueryResult(String client_id, String queryServerName, String
222
202
223
203
/**
224
204
* Get the sql from the remote server, needed for databasemanager.getSQL() and databasemanager.getSQLParameters() in scripting.
225
- *
205
+ *
226
206
* @param serverName
227
207
* @param sqlQuery
228
208
* @param startRow
0 commit comments