Package de.hybris.platform.core
Class DefaultPKCounterGenerator
- java.lang.Object
-
- de.hybris.platform.core.DefaultPKCounterGenerator
-
- All Implemented Interfaces:
PK.PKCounterGenerator
public class DefaultPKCounterGenerator extends java.lang.Object implements PK.PKCounterGenerator
Default implementation forPK.PKCounterGenerator. UseSerialNumberGeneratorto generate the counter.
-
-
Constructor Summary
Constructors Constructor Description DefaultPKCounterGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck31LegacyDetection()longfetchNextCounter(int typecode)intgetClusterID()java.lang.StringgetTypeCodeAsString(int typeCode)
-
-
-
Method Detail
-
fetchNextCounter
public long fetchNextCounter(int typecode)
- Specified by:
fetchNextCounterin interfacePK.PKCounterGenerator
-
getTypeCodeAsString
public java.lang.String getTypeCodeAsString(int typeCode)
- Specified by:
getTypeCodeAsStringin interfacePK.PKCounterGenerator
-
getClusterID
public int getClusterID()
- Specified by:
getClusterIDin interfacePK.PKCounterGenerator
-
check31LegacyDetection
public boolean check31LegacyDetection()
- Specified by:
check31LegacyDetectionin interfacePK.PKCounterGenerator
-
-