Interface OrderLock

All Superinterfaces:
Serializable
All Known Implementing Classes:
OrderLockImpl

public interface OrderLock extends Serializable
Domain object used to synchronize Order operations.
Author:
Andre Azzolini (apazzolini)
  • Method Details

    • getOrderId

      Long getOrderId()
      Returns:
      the id of the Order associated with this OrderLock
    • setOrderId

      void setOrderId(Long orderId)
      Sets the id of the Order associated with this OrderLock
      Parameters:
      orderId -
    • getLocked

      Boolean getLocked()
      Returns:
      whether or not this OrderLock is currently locked
    • setLocked

      void setLocked(Boolean locked)
      Sets the lock state of this OrderLock
      Parameters:
      locked -
    • getLastUpdated

      Long getLastUpdated()
      Returns:
      the last time this lock record was successfully altered
    • setLastUpdated

      void setLastUpdated(Long lastUpdated)
      Set the time of alteration
      Parameters:
      lastUpdated -
    • getKey

      String getKey()
      Returns:
      the key used to identify the creator of the lock
    • setKey

      void setKey(String nodeKey)
      Set a key identifying the creator of the lock
      Parameters:
      nodeKey -