1 21 package com.db4o.ext; 22 23 import java.io.*; 24 25 import com.db4o.*; 26 import com.db4o.config.*; 27 import com.db4o.reflect.*; 28 import com.db4o.reflect.generic.*; 29 import com.db4o.replication.*; 30 import com.db4o.types.*; 31 32 42 public interface ExtObjectContainer extends ObjectContainer { 43 44 53 public void backup(String path) throws IOException; 54 55 56 73 public void bind(Object obj, long id); 74 75 76 81 public Db4oCollections collections(); 82 83 84 98 public Configuration configure(); 99 100 101 110 public Object descend(Object obj, String [] path); 111 112 113 124 public Object getByID(long ID); 125 126 138 public Object getByUUID(Db4oUUID uuid); 139 140 155 public long getID(Object obj); 156 157 164 public ObjectInfo getObjectInfo(Object obj); 165 166 170 public Db4oDatabase identity(); 171 172 179 public boolean isActive(Object obj); 180 181 186 public boolean isCached(long ID); 187 188 193 public boolean isClosed(); 194 195 201 public boolean isStored(Object obj); 202 203 209 public ReflectClass[] knownClasses(); 210 211 220 public Object lock(); 221 222 223 234 public void migrateFrom(ObjectContainer objectContainer); 235 236 253 public Object peekPersisted(Object object,int depth, boolean committed); 254 255 256 263 public void purge(); 264 265 280 public void purge(Object obj); 281 282 287 public GenericReflector reflector(); 288 289 298 public void refresh(Object obj, int depth); 299 300 301 305 public void releaseSemaphore(String name); 306 307 325 public ReplicationProcess replicationBegin(ObjectContainer peerB, ReplicationConflictHandler conflictHandler); 326 327 328 337 public void set (Object obj, int depth); 338 339 340 380 public boolean setSemaphore(String name, int waitForAvailability); 381 382 393 public StoredClass storedClass(Object clazz); 394 395 398 public StoredClass[] storedClasses(); 399 400 407 public SystemInfo systemInfo(); 408 409 415 public long version(); 416 417 }
| Popular Tags
|