Resource Checkout/Locking Provider
IResourceCheckoutService
in assembly SanteDB.Core.Api version 3.0.1980.0
Summary
A resource locking service
Operations
Operation | Response/Return | Input/Parameter | Description |
---|---|---|---|
Checkout | Boolean | Guid key | Try to get a lock on the resource for editing |
Checkin | Boolean | Guid key | Release the lock on the specified key |
IsCheckedout | Boolean | Guid key IIdentity& currentOwner | Attempts to perform a soft checkout - this is equivalent to attempting to take a lock but not actually taking it |
Implementations
UpstreamResourceCheckoutService - (SanteDB.Client)
A IResourceCheckoutService which uses the upstream
Service Registration
CachedResourceCheckoutService - (SanteDB.Core.Api)
A checkout service which uses the current adhoc cache to manage checkouts
Service Registration
Example Implementation
References
Last updated