tridion-sites-extensions-api-docs

Home > @tridion-sites/models > LockInfo

LockInfo class

Lock information about Repository Local Object.

Signature:

export declare class LockInfo

Constructors

Constructor Modifiers Description
(constructor)({ backendModel, lockType, lockUser, lockDate })   Constructs a new instance of the LockInfo class

Properties

Property Modifiers Type Description
_backendModel   BackendLockInfo  
getInternalModel   () => BackendLockInfo  
lockDate   Date | undefined Date and time in UTC at which the item was locked.
lockType   ReadonlyArray<LockType> Type of lock on the item (if any).
lockUser   Link | undefined A user who locked the item.

Methods

Method Modifiers Description
hasLockType(lockType)