1 16 package com.sap.mw.jco; 17 18 import java.util.Properties ; 19 import java.net.URL ; 20 21 35 36 public class JCO { 37 38 public static void addClientPool(String SID, int poolsize, Properties properties) { 39 } 40 41 public static void setTraceLevel(int level) { 42 } 43 44 public static JCO.Client getClient(String key) { 45 return null; 46 } 47 48 public static void releaseClient(JCO.Client client) { 49 } 50 51 public static void removeClientPool(String key) { 52 } 53 54 public static JCO.PoolManager getClientPoolManager() { 55 return null; 56 } 57 58 public static class PoolManager { 59 60 public JCO.Pool getPool(String name) { 61 return null; 62 } 63 } 64 65 public static class Pool { 66 67 public final void setTrace(boolean trace) { 68 } 69 } 70 71 public static class Function { 72 73 public JCO.ParameterList getImportParameterList() { 74 return null; 75 } 76 77 public JCO.ParameterList getExportParameterList() { 78 return null; 79 } 80 81 public JCO.ParameterList getTableParameterList() { 82 return null; 83 } 84 85 public String getName() { 86 return null; 87 } 88 } 89 90 public static class ParameterList extends Record { 91 } 92 93 public static class Attributes { 94 } 95 96 public static class Throughput { 97 } 98 99 public static class Repository implements IRepository { 100 public Repository (String s, JCO.Client client) { 101 } 102 103 public IFunctionTemplate getFunctionTemplate(String name) { 104 return null; 105 } 106 } 107 108 public static class Record { 109 110 public String getName(int index) { 111 return null; 112 } 113 114 public final JCO.Field getField(int index) { 115 return null; 116 } 117 118 public final JCO.Field getField(String name) { 119 return null; 120 } 121 122 public String getString(int index) { 123 return null; 124 } 125 126 public JCO.Structure getStructure(int index) { 127 return null; 128 } 129 130 public JCO.Structure getStructure(String name) { 131 return null; 132 } 133 134 public JCO.Table getTable(int index) { 135 return null; 136 } 137 138 public JCO.Table getTable(String name) { 139 return null; 140 } 141 142 public int getFieldCount() { 143 return -1; 144 } 145 } 146 147 public static class Field { 148 149 public boolean isStructure() { 150 return false; 151 } 152 153 public void setValue(String value) throws JCO.ConversionException { 154 } 155 } 156 157 public static class Table extends Record { 158 159 public void appendRow() { 160 } 161 162 public final int getNumRows() { 163 return -1; 164 } 165 166 public void setRow(int pos) { 167 } 168 } 169 170 public static class Structure extends Record { 171 } 172 173 public static class AbapException extends Throwable { 174 175 public final String getKey() { 176 return null; 177 } 178 } 179 180 public static class ConversionException extends Throwable { 181 } 182 183 public static class Client { 184 185 public void abort(String message) { 186 } 187 188 public void connect() { 189 } 190 191 public Object clone() { 192 return null; 193 } 194 195 public void disconnect() { 196 } 197 198 public void execute(JCO.Function function) { 199 } 200 201 public void execute(String name, 202 JCO.ParameterList input, 203 JCO.ParameterList output) { 204 } 205 206 public void execute(String name, 207 JCO.ParameterList input, 208 JCO.ParameterList output, 209 JCO.ParameterList tables) { 210 } 211 212 public void execute(JCO.Function function, 213 java.lang.String tid) { 214 } 215 216 public void execute(JCO.Function function, 217 String tid, 218 String queue) { 219 } 220 221 public void execute(JCO.Function function, 222 String tid, 223 String queue, 224 int pos) { 225 } 226 227 public void execute(String name, 228 JCO.ParameterList input, 229 JCO.ParameterList tables, 230 String tid) { 231 } 232 233 public void execute(String name, 234 JCO.ParameterList input, 235 JCO.ParameterList tables, 236 String tid, 237 String queue) { 238 } 239 240 public void execute(String name, 241 JCO.ParameterList input, 242 JCO.ParameterList tables, 243 String tid, 244 String queue, 245 int pos) { 246 } 247 248 public String createTID() { 249 return null; 250 } 251 252 public void confirmTID(String tid) { 253 } 254 255 public final void ping() { 256 } 257 258 public boolean getAbapDebug() { 259 return false; 260 } 261 262 public String getASHost() { 263 return null; 264 } 265 266 public JCO.Attributes getAttributes() { 267 return null; 268 } 269 270 public String getClient() { 271 return null; 272 } 273 274 public String getGroup() { 275 return null; 276 } 277 278 public String getGWHost() { 279 return null; 280 } 281 282 public String getGWServ() { 283 return null; 284 } 285 286 public String getLanguage() { 287 return null; 288 } 289 290 public String getMSHost() { 291 return null; 292 } 293 294 public String [][] getPropertyInfo() { 295 return null; 296 } 297 298 public int getSapGui() { 299 return -1; 300 } 301 302 public byte getState() { 303 return 0; 304 } 305 306 public String getSystemID() { 307 return null; 308 } 309 310 public String getSystemNumber() { 311 return null; 312 } 313 314 public String getTPName() { 315 return null; 316 } 317 318 public boolean getTrace() { 319 return false; 320 } 321 322 public URL getURL() { 323 return null; 324 } 325 326 public String getUser() { 327 return null; 328 } 329 330 public boolean isAlive() { 331 return false; 332 } 333 334 public void setAbapDebug(boolean debug) { 335 } 336 337 public void setProperty(String key, String value) { 338 } 339 340 public void setSapGui(int use_sapgui) { 341 } 342 343 public void setTrace(boolean trace) { 344 } 345 346 public final Properties getProperties() { 347 return null; 348 } 349 350 public final String getProperty(String key) { 351 return null; 352 } 353 354 public boolean isValid() { 355 return false; 356 } 357 358 public void setThroughput(JCO.Throughput throughput) { 359 } 360 } 361 362 } 363 | Popular Tags |