Package de.hybris.bootstrap.ddl.pk.impl
Class DefaultPkFactory
- java.lang.Object
-
- de.hybris.bootstrap.ddl.pk.impl.DefaultPkFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultPkFactory.InitializationPKCounterGeneratorIn-Memory PK counter generator forDMLRecordFactory.
-
Constructor Summary
Constructors Constructor Description DefaultPkFactory(java.lang.Iterable<NumberSeries> currentNumberSeries, int clusterId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PKcreateNewPK(int tc)PKcreateNewPK(YComposedType type)java.util.Map<java.lang.String,java.lang.Long>getCurrentNumberSeries()protected java.lang.StringgetKey(YEnumValue yEnumValue)PKgetOrCreatePK(YAtomicType yAtomicType)PKgetOrCreatePK(YCollectionType yCollectionType)PKgetOrCreatePK(YComposedType yComposedType)PKgetOrCreatePK(YComposedType yComposedType, YAttributeDescriptor yAttributeDescriptor)PKgetOrCreatePK(YEnumValue yEnumValue)PKgetOrCreatePK(YMapType yMapType)
-
-
-
Constructor Detail
-
DefaultPkFactory
public DefaultPkFactory(java.lang.Iterable<NumberSeries> currentNumberSeries, int clusterId)
-
-
Method Detail
-
getCurrentNumberSeries
public java.util.Map<java.lang.String,java.lang.Long> getCurrentNumberSeries()
- Specified by:
getCurrentNumberSeriesin interfacePkFactory
-
createNewPK
public PK createNewPK(int tc)
- Specified by:
createNewPKin interfacePkFactory
-
createNewPK
public PK createNewPK(YComposedType type)
- Specified by:
createNewPKin interfacePkFactory
-
getOrCreatePK
public PK getOrCreatePK(YComposedType yComposedType, YAttributeDescriptor yAttributeDescriptor)
- Specified by:
getOrCreatePKin interfacePkFactory
-
getOrCreatePK
public PK getOrCreatePK(YComposedType yComposedType)
- Specified by:
getOrCreatePKin interfacePkFactory
-
getOrCreatePK
public PK getOrCreatePK(YEnumValue yEnumValue)
- Specified by:
getOrCreatePKin interfacePkFactory
-
getKey
protected java.lang.String getKey(YEnumValue yEnumValue)
-
getOrCreatePK
public PK getOrCreatePK(YAtomicType yAtomicType)
- Specified by:
getOrCreatePKin interfacePkFactory
-
getOrCreatePK
public PK getOrCreatePK(YMapType yMapType)
- Specified by:
getOrCreatePKin interfacePkFactory
-
getOrCreatePK
public PK getOrCreatePK(YCollectionType yCollectionType)
- Specified by:
getOrCreatePKin interfacePkFactory
-
-