Table of Contents

Interface ICheckOutService

Namespace
Dynamicweb.Content.Versioning
Assembly
Dynamicweb.dll
The ICheckOutService defines usecase operations for interacting with the
[Obsolete("Use CheckOutService instead.")]
public interface ICheckOutService

Methods

CanCheckOut(CheckOutObject)

Returns a value indicating if the specified object can be checked out
bool CanCheckOut(CheckOutObject checkOutObject)

Parameters

checkOutObject CheckOutObject
The object to check out

Returns

bool
True if the object can be checked out, otherwise false

CheckIn(CheckOutObject)

Checks in the specified object
void CheckIn(CheckOutObject checkedOutObject)

Parameters

checkedOutObject CheckOutObject
The lock information instance indicating the object to lock

Exceptions

ArgumentNullException

CheckOut(CheckOutObject)

Checks out the specified object
void CheckOut(CheckOutObject checkOutObject)

Parameters

checkOutObject CheckOutObject
The object to check out

Exceptions

ArgumentNullException
InvalidOperationException
Thrown if the objects is already checkout by other user
To top