Interface PersistenceManager
-
- All Known Implementing Classes:
DBPersistenceManager,YPersistenceManager
public interface PersistenceManager
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNO_DATABASE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancachesInfoFor(PK typePK)voidclearComposedType(PK typePK, java.lang.String code)java.util.Collection<PropertyTableDefinition>createInitialPersistenceInfos(java.util.Collection<ComposedTypeRemote> types, boolean reinit)java.util.Collection<ItemDeployment>getAllSubDeployments(ItemDeployment depl)java.util.Set<java.lang.Integer>getBeanTypeCodes(PK typePK)All item type codes of the specified type or its concrete subtypes.java.util.Map<java.lang.Integer,ItemDeployment>getDuplicatedItemDeployments()Returns a duplicated deployments by its type code.java.util.Set<PK>getExternalTableTypes(PK typePK)Finds all subtypes of a given non-abstract type which are mapped to a different deployment.PropertyTableDefinitiongetInitialPersistenceInfos(ComposedTypeRemote type, boolean reinit)ItemDeploymentgetItemDeployment(int tc)ItemDeploymentgetItemDeployment(java.lang.String beanOrJNDIName)java.lang.StringgetJNDIName(int typeCode)java.lang.StringgetJNDIName(java.lang.String code)TypeInfoMapgetPersistenceInfo(PK typePK)TypeInfoMapgetPersistenceInfo(java.lang.String typeCode)java.lang.StringgetSQLTypeDef(java.lang.Class javaClass, java.lang.String ownTypeDef)PKgetTypePK(java.lang.String code)booleanisLoaded()booleanisRootRelationType(java.lang.String code)voidloadPersistenceInfos()
-
-
-
Field Detail
-
NO_DATABASE
static final java.lang.String NO_DATABASE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSQLTypeDef
java.lang.String getSQLTypeDef(java.lang.Class javaClass, java.lang.String ownTypeDef)
-
isLoaded
boolean isLoaded()
-
loadPersistenceInfos
void loadPersistenceInfos()
-
createInitialPersistenceInfos
java.util.Collection<PropertyTableDefinition> createInitialPersistenceInfos(java.util.Collection<ComposedTypeRemote> types, boolean reinit)
-
getInitialPersistenceInfos
PropertyTableDefinition getInitialPersistenceInfos(ComposedTypeRemote type, boolean reinit)
-
getPersistenceInfo
TypeInfoMap getPersistenceInfo(java.lang.String typeCode)
-
getPersistenceInfo
TypeInfoMap getPersistenceInfo(PK typePK)
-
cachesInfoFor
boolean cachesInfoFor(PK typePK)
-
getItemDeployment
ItemDeployment getItemDeployment(java.lang.String beanOrJNDIName)
-
getItemDeployment
ItemDeployment getItemDeployment(int tc)
-
getAllSubDeployments
java.util.Collection<ItemDeployment> getAllSubDeployments(ItemDeployment depl)
-
getJNDIName
java.lang.String getJNDIName(int typeCode)
-
getJNDIName
java.lang.String getJNDIName(java.lang.String code)
-
getTypePK
PK getTypePK(java.lang.String code)
-
isRootRelationType
boolean isRootRelationType(java.lang.String code)
-
getExternalTableTypes
java.util.Set<PK> getExternalTableTypes(PK typePK)
Finds all subtypes of a given non-abstract type which are mapped to a different deployment.
-
getBeanTypeCodes
java.util.Set<java.lang.Integer> getBeanTypeCodes(PK typePK)
All item type codes of the specified type or its concrete subtypes.
-
clearComposedType
void clearComposedType(PK typePK, java.lang.String code)
-
getDuplicatedItemDeployments
java.util.Map<java.lang.Integer,ItemDeployment> getDuplicatedItemDeployments()
Returns a duplicated deployments by its type code. There is always inserted deployment which is deployed in DB persistance as to be redundant in compare to xml modeled one.
-
-