1 package org.apache.ojb.broker; 2 3 17 18 import org.apache.ojb.broker.accesslayer.RelationshipPrefetcherFactory; 19 import org.apache.ojb.broker.core.QueryReferenceBroker; 20 import org.apache.ojb.broker.core.proxy.ProxyFactory; 21 import org.apache.ojb.broker.metadata.ClassDescriptor; 22 23 30 public interface PersistenceBrokerInternal extends PersistenceBroker 31 { 32 38 public boolean isManaged(); 39 40 48 public void setManaged(boolean managed); 49 50 63 public void store(Object obj, Identity oid, ClassDescriptor cld, boolean insert, boolean ignoreReferences); 64 65 74 public void delete(Object obj, boolean ignoreReferences) throws PersistenceBrokerException; 75 76 81 public QueryReferenceBroker getReferenceBroker(); 82 83 91 public void checkRefreshRelationships(Object obj, Identity oid, ClassDescriptor cld); 92 93 98 public RelationshipPrefetcherFactory getRelationshipPrefetcherFactory(); 99 100 105 public ProxyFactory getProxyFactory(); 106 107 114 public Object createProxy(Class proxyClass, Identity realSubjectsIdentity); 115 } 116 | Popular Tags |