com.atomizesoftware.spin.managers.NumberingRulesManagerComponent

NumberingRulesManager

class NumberingRulesManager extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NumberingRulesManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NumberingRulesManager()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def calculateSSCCCheckDigit(number: String): Option[String]

    Calculates the SSCC check digit of the number.

    Calculates the SSCC check digit of the number. If it fails the calculation, returns None

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def generateNumberFor(container: Container)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Try[String]

    Tries to generate a number for a container, if the com.atomizesoftware.spin.models.NumberStandard of its com.atomizesoftware.spin.models.ContainerType allows automatic generation.

  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. val logger: Logger

  15. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def nextCounterValueFor(location: Location, prefix: String = "", paddingChar: Char = '0', numberLength: Int = 16)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[String]

    Gets the next counter value for the com.atomizesoftware.spin.models.Location, considering the case when the counter belongs to a parent location.

    Gets the next counter value for the com.atomizesoftware.spin.models.Location, considering the case when the counter belongs to a parent location.

    location

    the location from which we get the counter.

    prefix

    the string to prepend to the counter value

    paddingChar

    the character used to pad the number between the counter value and the prefix, until the desired numberLength is achieved

    numberLength

    the length of the final string

  17. def nextSSCCFor(location: Location)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[String]

    Gets the next SSCC number for a location, considering the com.atomizesoftware.spin.models.Location prefix and counter value

  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def numberFor(container: Container)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Try[String]

    Returns the number for the container, taking into account the com.atomizesoftware.spin.models.NumberStandard of its com.atomizesoftware.spin.models.ContainerType.

    Returns the number for the container, taking into account the com.atomizesoftware.spin.models.NumberStandard of its com.atomizesoftware.spin.models.ContainerType. If the com.atomizesoftware.spin.models.Container number is empty and it's com.atomizesoftware.spin.models.NumberStandard allows automatic generation, it tries to generate a number. If the Container number isn't empty, it tries to validate it against the NumberStandard.

  21. def numberIsValidFor(container: Container)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Boolean

    Validates the container, considering its com.atomizesoftware.spin.models.NumberStandard if set for this container com.atomizesoftware.spin.models.ContainerType

  22. def numberStandardOf(container: Container)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[NumberStandard]

    Returns the number standard of the container, if such standard is possible to identify.

    Returns the number standard of the container, if such standard is possible to identify. Returns None if no com.atomizesoftware.spin.models.NumberStandard is found.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. def validateSSCC(sscc: String): Boolean

    Validates a SSCC number

  26. def validateSSCCCheckDigit(sscc: String): Boolean

    Validates the SSCC check digit of a SSCC number

  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped