Class ChineseVerificationCodeGenerationStrategy

java.lang.Object
de.hybris.platform.chineseprofileservices.strategies.impl.ChineseVerificationCodeGenerationStrategy
All Implemented Interfaces:
VerificationCodeGenerationStrategy

@Deprecated(since="1905", forRemoval=true) public class ChineseVerificationCodeGenerationStrategy extends Object implements VerificationCodeGenerationStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
Since 1905. Use ChineseVerificationCodeStrategy instead.
A simple generation strategy by using Random.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generate a verification code.
    protected int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setLength(int length)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ChineseVerificationCodeGenerationStrategy

      public ChineseVerificationCodeGenerationStrategy()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • generate

      public String generate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: VerificationCodeGenerationStrategy
      Generate a verification code.
      Specified by:
      generate in interface VerificationCodeGenerationStrategy
      Returns:
      verification code
    • getLength

      protected int getLength()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setLength

      public void setLength(int length)
      Deprecated, for removal: This API element is subject to removal in a future version.