Class OrderLockImpl
java.lang.Object
org.broadleafcommerce.core.order.domain.OrderLockImpl
- All Implemented Interfaces:
Serializable,OrderLock
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()voidSet a key identifying the creator of the lockvoidsetLastUpdated(Long lastUpdated) Set the time of alterationvoidSets the lock state of this OrderLockvoidsetOrderId(Long orderId) Sets the id of theOrderassociated with this OrderLock
-
Field Details
-
locked
-
lastUpdated
-
-
Constructor Details
-
OrderLockImpl
public OrderLockImpl()
-
-
Method Details
-
getOrderId
- Specified by:
getOrderIdin interfaceOrderLock- Returns:
- the id of the
Orderassociated with this OrderLock
-
setOrderId
Description copied from interface:OrderLockSets the id of theOrderassociated with this OrderLock- Specified by:
setOrderIdin interfaceOrderLock
-
getLocked
-
setLocked
Description copied from interface:OrderLockSets the lock state of this OrderLock -
getLastUpdated
- Specified by:
getLastUpdatedin interfaceOrderLock- Returns:
- the last time this lock record was successfully altered
-
setLastUpdated
Description copied from interface:OrderLockSet the time of alteration- Specified by:
setLastUpdatedin interfaceOrderLock
-
getKey
-
setKey
Description copied from interface:OrderLockSet a key identifying the creator of the lock
-