Class YPersistenceManager
java.lang.Object
de.hybris.platform.util.typesystem.YPersistenceManager
- All Implemented Interfaces:
PersistenceManager
TypeSystem based
PersistenceManager implementation.-
Field Summary
Fields inherited from interface de.hybris.platform.persistence.property.PersistenceManager
NO_DATABASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancachesInfoFor(PK typePK) voidclearComposedType(PK typePK, String code) createInitialPersistenceInfos(Collection<ComposedTypeRemote> types, boolean reinit) getBeanTypeCodes(PK typePK) All item type codes of the specified type or its concrete subtypes.Returns a duplicated deployments by its type code.getExternalTableTypes(PK typePK) Finds all subtypes of a given non-abstract type which are mapped to a different deployment.getInitialPersistenceInfos(ComposedTypeRemote type, boolean reinit) getItemDeployment(int tc) getItemDeployment(String beanOrJNDIName) getJNDIName(int typeCode) getJNDIName(String code) getPersistenceInfo(PK typePK) getPersistenceInfo(String typeCode) protected PKgetPK(YComposedType type) getSQLTypeDef(Class javaClass, String ownTypeDef) booleanisLoaded()booleanisRootRelationType(String code) voidprotected YPersistedTypeSystemsystem()protected TypeInfoMapprotected ItemDeploymentwrapDeployment(YDeployment depl)
-
Constructor Details
-
YPersistenceManager
-
-
Method Details
-
isLoaded
public boolean isLoaded()- Specified by:
isLoadedin interfacePersistenceManager
-
getPK
-
system
-
cachesInfoFor
- Specified by:
cachesInfoForin interfacePersistenceManager
-
clearComposedType
- Specified by:
clearComposedTypein interfacePersistenceManager
-
createInitialPersistenceInfos
public Collection<PropertyTableDefinition> createInitialPersistenceInfos(Collection<ComposedTypeRemote> types, boolean reinit) - Specified by:
createInitialPersistenceInfosin interfacePersistenceManager
-
getInitialPersistenceInfos
- Specified by:
getInitialPersistenceInfosin interfacePersistenceManager
-
getAllSubDeployments
- Specified by:
getAllSubDeploymentsin interfacePersistenceManager
-
getBeanTypeCodes
Description copied from interface:PersistenceManagerAll item type codes of the specified type or its concrete subtypes.- Specified by:
getBeanTypeCodesin interfacePersistenceManager
-
getExternalTableTypes
Description copied from interface:PersistenceManagerFinds all subtypes of a given non-abstract type which are mapped to a different deployment.- Specified by:
getExternalTableTypesin interfacePersistenceManager
-
getExternalTableTypes
-
wrapDeployment
-
getItemDeployment
- Specified by:
getItemDeploymentin interfacePersistenceManager
-
getDuplicatedItemDeployments
Description copied from interface:PersistenceManagerReturns 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.- Specified by:
getDuplicatedItemDeploymentsin interfacePersistenceManager
-
getItemDeployment
- Specified by:
getItemDeploymentin interfacePersistenceManager
-
getJNDIName
- Specified by:
getJNDINamein interfacePersistenceManager
-
getJNDIName
- Specified by:
getJNDINamein interfacePersistenceManager
-
getPersistenceInfo
- Specified by:
getPersistenceInfoin interfacePersistenceManager
-
getPersistenceInfo
- Specified by:
getPersistenceInfoin interfacePersistenceManager
-
wrap
-
getSQLTypeDef
- Specified by:
getSQLTypeDefin interfacePersistenceManager
-
getTypePK
- Specified by:
getTypePKin interfacePersistenceManager
-
isRootRelationType
- Specified by:
isRootRelationTypein interfacePersistenceManager
-
loadPersistenceInfos
public void loadPersistenceInfos()- Specified by:
loadPersistenceInfosin interfacePersistenceManager
-