Try our conversational search powered by Generative AI!

Class OrderGroupLockManager

Represents OrderGroup Lock manager

Inheritance
System.Object
OrderGroupLockManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Orders.Managers
Assembly: Mediachase.Commerce.dll
Version: 10.8.0
Syntax
public static class OrderGroupLockManager

Methods

IsOrderGroupLocked(Int32, out Nullable<Guid>)

Determines whether [is order group locked] [the specified order group id].

Declaration
public static bool IsOrderGroupLocked(int orderGroupId, out Guid? customerId)
Parameters
Type Name Description
System.Int32 orderGroupId

The order group id.

System.Nullable<System.Guid> customerId

The customer id.

Returns
Type Description
System.Boolean

true if [is order group locked] [the specified order group id]; otherwise, false.

IsUserHasLockedOrderGroup(Int32, Guid)

Determines the specified user has locked order

Declaration
public static bool IsUserHasLockedOrderGroup(int orderGroupId, Guid userId)
Parameters
Type Name Description
System.Int32 orderGroupId

The order group id.

System.Guid userId

The user id.

Returns
Type Description
System.Boolean

true if [is user has locked order group] [the specified order group id]; otherwise, false.

LockOrderGroup(Int32, Guid)

Locks the order group.

Declaration
public static void LockOrderGroup(int orderGroupId, Guid userId)
Parameters
Type Name Description
System.Int32 orderGroupId

The order group id.

System.Guid userId

The user id.

RefreshOrderGroupLock(Int32)

Declaration
public static void RefreshOrderGroupLock(int orderGroupId)
Parameters
Type Name Description
System.Int32 orderGroupId

UnlockAllUserLocks(Guid)

Unlocks all user locks.

Declaration
public static void UnlockAllUserLocks(Guid userId)
Parameters
Type Name Description
System.Guid userId

The user id.

UnlockOrderGroup(Int32)

Unlocks the order group.

Declaration
public static void UnlockOrderGroup(int orderGroupId)
Parameters
Type Name Description
System.Int32 orderGroupId

The order group id.