1 9 package org.ozoneDB; 10 11 import org.w3c.dom.Document ; 12 import org.w3c.dom.Node ; 13 import org.xml.sax.ContentHandler ; 14 15 16 25 public interface OzoneInterface { 26 27 28 public final static int Private = 0; 29 30 31 public final static int AllRead = 1; 32 33 34 public final static int AllLock = 2; 35 36 37 public final static int GroupRead = 4; 38 39 40 public final static int GroupLock = 8; 41 42 43 public final static int Public = AllRead | AllLock; 44 45 46 58 public OzoneProxy createObject(String className) throws RuntimeException , OzoneRemoteException; 59 60 61 74 public OzoneProxy createObject(String className,int access) throws RuntimeException , OzoneRemoteException; 75 76 77 91 public OzoneProxy createObject(String className,int access,String objName) throws RuntimeException , OzoneRemoteException; 92 93 94 111 public OzoneProxy createObject(String className,int access,String objName,String sig,Object [] args) throws RuntimeException , OzoneRemoteException; 112 113 114 128 public OzoneProxy createObject( String className, String sig, Object [] args) throws RuntimeException , OzoneRemoteException; 129 130 131 143 public OzoneProxy createObject(Class type) throws RuntimeException , OzoneRemoteException; 144 145 146 159 public OzoneProxy createObject(Class type, int access ) throws RuntimeException , OzoneRemoteException; 160 161 162 176 public OzoneProxy createObject(Class type, int access, String objName ) throws RuntimeException , OzoneRemoteException; 177 178 179 196 public OzoneProxy createObject(Class type, int access, String objName, Class [] sig, Object [] args) throws RuntimeException , OzoneRemoteException; 197 198 199 213 public OzoneProxy createObject(Class type, Class [] sig, Object [] args) throws RuntimeException , OzoneRemoteException; 214 215 216 229 public OzoneProxy copyObject(OzoneRemote rObj) throws Exception ; 230 231 232 243 public void deleteObject(OzoneRemote rObj) throws RuntimeException , OzoneRemoteException; 244 245 246 259 public void nameObject(OzoneRemote rObj, String name) throws Exception ; 260 261 262 274 public OzoneProxy objectForName(String name) throws Exception ; 275 276 286 public String [] objectNames() throws Exception ; 287 288 300 public OzoneProxy objectForHandle(String handle) throws Exception ; 301 302 319 public Object invoke(OzoneProxy rObj, String methodName, String sig, Object [] args, int lockLevel) throws Exception ; 320 321 322 public Object invoke(OzoneProxy rObj, int methodIndex, Object [] args, int lockLevel) throws Exception ; 323 324 325 329 public OzoneCompatible fetch(OzoneProxy rObj, int lockLevel) throws Exception ,org.ozoneDB.ObjectNotFoundException, java.io.IOException , java.lang.ClassNotFoundException , org.ozoneDB.TransactionException, org.ozoneDB.core.TransactionError; 330 331 332 341 public void reloadClasses() throws Exception ; 342 343 344 357 public Node xmlForObject(OzoneRemote rObj, Document domFactory) 358 throws Exception ; 359 360 361 369 public void xmlForObject(OzoneRemote rObj, ContentHandler ch) 370 throws Exception ; 371 372 373 380 381 388 394 397 398 406 public void notifyProxyDeath(OzoneProxy proxy); 407 408 } 409 | Popular Tags |