| java.lang.Object org.objectweb.speedo.mim.lib.AbstractHomeImpl org.objectweb.speedo.genclass.AbstractGenClassHome
All known Subclasses: org.objectweb.speedo.genclass.ejb.EJBGenClassHome, org.objectweb.speedo.genclass.jdo.JDOGenClassHome,
AbstractGenClassHome | abstract public class AbstractGenClassHome extends AbstractHomeImpl (Code) | | This implementation of HomeItf delegated the PClassMapping roles to
another instance. This implementation is dedicated to GenClass (Collection,
List, Vector, Map, ...).
author: S.Chassande-Barrioz |
Field Summary | |
String | path | PClassMapping | pcm The real PClassMapping instance. |
Method Summary | |
public void | addAssociation(PClassMapping targetClass, int[] indexes) | public void | classDefined(PMappingStructuresManager pmsm) | public void | configureRefFields(ReferenceConfigurator rc) | public PBinding | createPBinding() | public boolean | exist(PBinding pb, Object conn) | public HashMap | getAssociationTable() | public String | getClassName() | public PNameCoder | getClassPNameCoder() | public Properties | getClassProperties() | public PName | getDecodedPName(TupleCollection tc, PName pname, boolean intermediaryTuple) | public PClassMapping | getGenClassMapping() | public PClassMapping | getGenClassMapping(String fn) | public int[] | getIndexesTable(PClassMapping targetClass) | public Logger | getLogger() | public LoggerFactory | getLoggerFactory() | public MetaObject | getMetaInfo() | public PBinder | getPBinder() | public PMapper | getPMapper() | public PNameCoder | getPNameCoder() | public PNameCoder | getPNameCoder(String fn) | public PNameIterator | getPNameIterator(Object conn, boolean withSubType, boolean prefetching, Object txctx) | public Iterator | getPNameIterator(Object conn) | public PType | getPType() | public String | getPath() | public String | getProjectName() | public PClassMapping | getRealPClassMapping() | public PClassMapping[] | getSubPCMs() | public byte | getVersioningStrategy() | public void | init(PClassMapping _pcm, TransactionalPersistenceManager _tpm, POManagerFactoryItf _pmf, String p) | public void | init(PMappingCallback mapper, MetaObject metaclass) | public void | init(PMappingStructuresManager pmsm) | public boolean | isConform(String mappername) | public boolean | isDetachable() | public void | makePersistent(POManagerItf pm, PersistentObjectItf sp, SpeedoGenClassPO thepo, Map map) | public void | makePersistent(POManagerItf pm, Iterator it, SpeedoGenClassPO thepo, Map map) | public boolean | match(Object obj, boolean b) | public void | read(PBinding pb, Object conn, PAccessor pa) | public void | read(PBinding pb, Object conn, PAccessor pa, Object txctx) | public void | read(PBinding pb, Object conn, PAccessor pa, Object txctx, boolean forUpdate) | public PName | resolve(Object conn, PName pname) | public void | setLogger(Logger logger) | public void | setLoggerFactory(LoggerFactory loggerfactory) | public void | setPBinder(PBinder pb) | public void | setPrefetchOnGenClass(boolean prefetch) | public void | write(PBinding pb, Object conn, PAccessor pa) |
path | String path(Code) | | The path of the genclass (source_class_name#gc_field_name)
|
pcm | PClassMapping pcm(Code) | | The real PClassMapping instance.
|
addAssociation | public void addAssociation(PClassMapping targetClass, int[] indexes)(Code) | | |
classDefined | public void classDefined(PMappingStructuresManager pmsm) throws PException(Code) | | |
createPBinding | public PBinding createPBinding() throws PException(Code) | | |
exist | public boolean exist(PBinding pb, Object conn) throws PException(Code) | | |
getClassPNameCoder | public PNameCoder getClassPNameCoder()(Code) | | |
getDecodedPName | public PName getDecodedPName(TupleCollection tc, PName pname, boolean intermediaryTuple) throws PException(Code) | | |
getIndexesTable | public int[] getIndexesTable(PClassMapping targetClass)(Code) | | |
getLogger | public Logger getLogger()(Code) | | |
getLoggerFactory | public LoggerFactory getLoggerFactory()(Code) | | |
getMetaInfo | public MetaObject getMetaInfo()(Code) | | |
getPBinder | public PBinder getPBinder()(Code) | | |
getPMapper | public PMapper getPMapper()(Code) | | |
getPNameIterator | public PNameIterator getPNameIterator(Object conn, boolean withSubType, boolean prefetching, Object txctx) throws PException(Code) | | |
getPType | public PType getPType()(Code) | | |
getRealPClassMapping | public PClassMapping getRealPClassMapping()(Code) | | |
getSubPCMs | public PClassMapping[] getSubPCMs() throws PException(Code) | | |
getVersioningStrategy | public byte getVersioningStrategy()(Code) | | |
init | public void init(PMappingCallback mapper, MetaObject metaclass) throws PException(Code) | | |
init | public void init(PMappingStructuresManager pmsm) throws PException(Code) | | |
isDetachable | public boolean isDetachable()(Code) | | |
match | public boolean match(Object obj, boolean b) throws PException(Code) | | |
read | public void read(PBinding pb, Object conn, PAccessor pa) throws PException(Code) | | |
read | public void read(PBinding pb, Object conn, PAccessor pa, Object txctx) throws PException(Code) | | |
read | public void read(PBinding pb, Object conn, PAccessor pa, Object txctx, boolean forUpdate) throws PException(Code) | | |
resolve | public PName resolve(Object conn, PName pname) throws PException(Code) | | |
setLogger | public void setLogger(Logger logger)(Code) | | |
setLoggerFactory | public void setLoggerFactory(LoggerFactory loggerfactory)(Code) | | |
setPBinder | public void setPBinder(PBinder pb) throws PException(Code) | | |
setPrefetchOnGenClass | public void setPrefetchOnGenClass(boolean prefetch)(Code) | | |
write | public void write(PBinding pb, Object conn, PAccessor pa) throws PException(Code) | | |
Methods inherited from org.objectweb.speedo.mim.lib.AbstractHomeImpl | public boolean activeUserCache(String cacheName)(Code)(Java Doc) final public QueryDefinition addNamedQuery(String name, QueryDefinition query)(Code)(Java Doc) protected synchronized UserCache addUserCache(String userCacheName, String[] fields, int id)(Code)(Java Doc) public boolean allLoaded()(Code)(Java Doc) final public void attachCopy(PersistentObjectItf sp, POManagerItf pm, Map map, Object clone, StateItf sa)(Code)(Java Doc) final public PersistentObjectItf detachCopy(PersistentObjectItf sp, POManagerItf pm, Map map, Object clone, Collection fgHints)(Code)(Java Doc) public Collection fgGetFieldsToLoad(String fgName)(Code)(Java Doc) final public Collection fgGetFieldsToLoad(String fgName, boolean onlyDirectRef)(Code)(Java Doc) public Collection fgGetNestedFetchGroups(String fgName)(Code)(Java Doc) public boolean fgIsDefined(String fgName)(Code)(Java Doc) public Collection getActiveUserCache()(Code)(Java Doc) public Class getClassForQuery(String className, String queryName)(Code)(Java Doc) final public QueryDefinition getNamedQuery(String name)(Code)(Java Doc) final public POManagerFactoryItf getPOManagerFactory()(Code)(Java Doc) public String getPath()(Code)(Java Doc) public boolean getPrefetchOnExtent()(Code)(Java Doc) public boolean getPrefetchOnGenClass()(Code)(Java Doc) public boolean getPrefetchOnQuery()(Code)(Java Doc) final public StateItf getState(PersistentObjectItf sp)(Code)(Java Doc) final public TransactionalPersistenceManager getTransactionalPersistenceManager()(Code)(Java Doc) public UserCache getUserCache(int cacheId)(Code)(Java Doc) public UserCache getUserCache(Collection fieldNames)(Code)(Java Doc) public boolean hasToFix()(Code)(Java Doc) public void initSH()(Code)(Java Doc) protected boolean isAbstract()(Code)(Java Doc) public boolean isCacheable()(Code)(Java Doc) public boolean isFieldLockingLevel()(Code)(Java Doc) public boolean isShareable()(Code)(Java Doc) protected PersistentObjectItf newSpeedoPOInstance(Class clazz) throws Exception(Code)(Java Doc) final public StateItf readIntention(PersistentObjectItf sp, long[] fields)(Code)(Java Doc) final public QueryDefinition removeNamedQuery(String name)(Code)(Java Doc) public void setCachePolicy(byte v)(Code)(Java Doc) public void setFieldLockingLevel(boolean val)(Code)(Java Doc) final public void setPOManagerFactory(POManagerFactoryItf _pmf)(Code)(Java Doc) public void setPrefetchOnExtent(boolean prefetch)(Code)(Java Doc) public void setPrefetchOnGenClass(boolean prefetch)(Code)(Java Doc) public void setPrefetchOnQuery(boolean prefetch)(Code)(Java Doc) public void setShareable(boolean v)(Code)(Java Doc) final public void setTransactionalPersistenceManager(TransactionalPersistenceManager _tpm)(Code)(Java Doc) public void userCacheEntryUnbound(Object oid)(Code)(Java Doc) final public StateItf writeIntention(PersistentObjectItf sp, long[] fields)(Code)(Java Doc) public StateItf writeIntention(PersistentObjectItf sp, long[] fields, Object thinLock)(Code)(Java Doc)
|
|
|