Package de.hybris.bootstrap.ddl
Class DMLRecordFactory
java.lang.Object
de.hybris.bootstrap.ddl.DMLRecordFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDMLRecordFactory(YDbModel dbModel, org.apache.ddlutils.model.Database database, YTypeSystem typeSystem, HybrisPlatform platform, CodeGenerator codeGenerator, PkFactory pkFactory, int propertyMaxLength, String typeSystemName, String tablePrefix, PropertiesLoader properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAtomicType(YAtomicType yAtomicType) protected DMLRecordFactory.FactoryYRecordaddAttributeDescriptor(YComposedType enclosingType, YAttributeDescriptor yAttributeDescriptor) protected voidaddCollectionType(YCollectionType yCollectionType) protected DMLRecordFactory.FactoryYRecordaddComposedType(YComposedType yComposedType) protected YRecordaddCustomProperty(YTypeSystemElement parentElement, YDeployment deployment, PK itemPK, PK itemTypePK, String name, Object value) protected voidaddEnumerationValues(YEnumType yEnumType) protected YRecordaddEnumType(YEnumType enumType) protected voidaddMapType(YMapType yMapType) protected YRecordaddRelationType(YRelation yRelation) protected voidprotected voidappendRelationDescriptorAttributes(DMLRecordFactory.FactoryYRecord row, YAttributeDescriptor yAttributeDescriptor) protected booleanexists(YEnumValue yEnumValue) protected StringgenerateUniquePropertyKey(YTypeSystemElement parentElement, PK itemPK, String name) protected StringgetColumnName(YComposedType composedType, String qualifier) protected Dateprotected org.apache.ddlutils.model.Databaseprotected StringgetDescriptorKey(YComposedType enclosingType, YAttributeDescriptor yAttributeDescriptor) protected StringgetKey(YEnumValue yEnumValue) protected YTypeSystemprotected DMLRecordFactory.FactoryYRecordnewItemRecord(YComposedType type) protected DMLRecordFactory.FactoryYRecordnewItemRecord(YComposedType type, PK ownPK) protected DMLRecordFactory.FactoryYRecordnewItemRecord(String type) protected YRecordnewRecord(YDeployment deployment) protected voidprotected voidvoidprotected voidprepareMetaInformation(String systemName) protected void
-
Field Details
-
yComposedTypes
-
yAttributeDescriptors
-
propsMap
-
-
Constructor Details
-
DMLRecordFactory
public DMLRecordFactory(YDbModel dbModel, org.apache.ddlutils.model.Database database, YTypeSystem typeSystem, HybrisPlatform platform, CodeGenerator codeGenerator, PkFactory pkFactory, int propertyMaxLength, String typeSystemName, String tablePrefix, PropertiesLoader properties)
-
-
Method Details
-
getYrecords
-
addCustomProperty
protected YRecord addCustomProperty(YTypeSystemElement parentElement, YDeployment deployment, PK itemPK, PK itemTypePK, String name, Object value) -
generateUniquePropertyKey
protected String generateUniquePropertyKey(YTypeSystemElement parentElement, PK itemPK, String name) -
addUserRights
protected void addUserRights() -
prepareMediaFolders
public void prepareMediaFolders() -
addRelationType
-
addEnumType
-
addComposedType
-
prepareNumberSeries
protected void prepareNumberSeries() -
prepareMetaInformation
-
addMapType
-
addCollectionType
-
addEnumerationValues
-
getKey
-
addAttributeDescriptor
protected DMLRecordFactory.FactoryYRecord addAttributeDescriptor(YComposedType enclosingType, YAttributeDescriptor yAttributeDescriptor) -
appendRelationDescriptorAttributes
protected void appendRelationDescriptorAttributes(DMLRecordFactory.FactoryYRecord row, YAttributeDescriptor yAttributeDescriptor) -
getColumnName
-
newItemRecord
-
newItemRecord
-
newItemRecord
-
newRecord
-
prepareDefaultLanguage
protected void prepareDefaultLanguage() -
prepareDefaultCurrency
protected void prepareDefaultCurrency() -
addAtomicType
-
getCurrentTime
-
getDescriptorKey
protected String getDescriptorKey(YComposedType enclosingType, YAttributeDescriptor yAttributeDescriptor) -
getDatabase
protected org.apache.ddlutils.model.Database getDatabase() -
getTypeSystem
-
exists
-