This document is archived and information here might be outdated.  Recommended version.


ICadastralFabricLocks Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ICadastralFabricLocks Interface

Provides access to members that assign object locks for a cadastral job.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method AcquireLocks Acquire locks on the LockingJob. TakeSoftLocks allows locks to be transferred from other jobs in the same version.
Write-only property LockingJob The name of the Job to apply locks on.
Method LockJob Lock current job. An existing lock will cause failure.
Method ReleaseJobLock Release current job's lock.
Method UndoLastAcquiredLocks Rolls back most recent set of acquired locks, until last edit operation. Only effective once.
Method ValidateJobLock Correct orphan job locks for current machine, and return current lock information.

CoClasses that implement ICadastralFabricLocks

CoClasses and Classes Description
CadastralFabric A container for querying information about a cadastral fabric.

Remarks

In the enterprise, multi-user geodatabase environment, a specialized implementation for reconciling versions is in place for cadastral fabrics. The implementation uses two distinct parts for handling fabric class attributes on lines and parcels, on the one hand, and for handling coordinates and geometries for fabric classes on the other.

In the first part, the cadastral fabric provides a pessimistic-locking mechanism that prevents conflicts in the edits of parcel attributes, such as distance and bearing values on lines, or the parcel area name value, for example. This avoids the need to do conflict resolution on these attributes when reconciling versions in an enterprise SDE environment.

The second part of this implementation allows coordinates and geometries to be posted without conflicts, in a strategy of last-one-in-wins. This avoids the scenario of reconciling conflicts for vast numbers of points that have been changed in a least squares adjustment in two different versions. Note this does not apply to the attribute values on the lines and parcel fabric classes, these latter being handled under the aforementioned strategy of pessimistic locking.

All Cadastral jobs are defined by a set of Job parcels. Job Parcels can be flagged as Edit Parcels. In order to change the attributes of the line or parcel fabric classes, the associated parcels must be set as Edit parcels, giving them exclusive edits.

Soft locks refers to parcels that can be taken and used as an edit parcel in another job.

Soft locks are:

When using this interface you need to first set the LockingJob property. All other methods rely on this property being set and are applied to the job that is set by this property.

This interface manages the information held in the JobObjects table and in the Jobs table.