## Uses of Interface
org.eclipse.emf.cdo.common.lock.CDOLockState

- Packages that use CDOLockState
  Package | Description
  --- | ---
  org.eclipse.emf.cdo | Client concepts like `CDOObject` and `CDOState`.
  org.eclipse.emf.cdo.common.lock | Common concepts for dealing with durable locks and views.
  org.eclipse.emf.cdo.common.protocol | Common concepts for dealing with protocols and CDO-specific I/O.
  org.eclipse.emf.cdo.server | Server concepts for dealing with repositories and stores.
  org.eclipse.emf.cdo.spi.common.lock | Common service provider interfaces and useful base implementations for dealing with object locks.
  org.eclipse.emf.cdo.spi.common.protocol | Common base implementations for dealing with I/O of CDO data structures.
  org.eclipse.emf.cdo.spi.server | Server service provider interfaces and useful base implementations.
  org.eclipse.emf.cdo.transaction | Client concepts for dealing with transactions, distributed transactions and their save points.
  org.eclipse.emf.cdo.view | Client concepts for dealing with views, view sets, queries, CDO objects and EMF resource sets.
  org.eclipse.emf.internal.cdo | Exposes `CDOObjectImpl` for extension in generated EMF models.
  org.eclipse.emf.spi.cdo | Client service provider interfaces and useful base implementations.

- - ### Uses of CDOLockState in org.eclipse.emf.cdo

    Methods in org.eclipse.emf.cdo that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOLockState` | CDOObject.`cdoLockState()` | Returns the `lock state` of this object, or `null` if this object is `transient`.

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.common.lock

    Methods in org.eclipse.emf.cdo.common.lock that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `static CDOLockState` | CDOLockUtil.`convertLockState​(org.eclipse.net4j.util.concurrent.RWOLockManager.LockState<java.lang.Object,​? extends CDOCommonView> lockState)` |
    `static CDOLockState` | CDOLockUtil.`copyLockState​(CDOLockState lockState)` |
    `static CDOLockState` | CDOLockUtil.`copyLockState​(CDOLockState lockState, java.lang.Object lockedObject)` |
    `static CDOLockState` | CDOLockUtil.`createLockState​(java.lang.Object target)` |
    `static CDOLockState` | CDOLockUtil.`createLockState​(org.eclipse.net4j.util.concurrent.RWOLockManager.LockState<java.lang.Object,​? extends CDOCommonView> lockState)` | Deprecated. As of 4.15 use `CDOLockUtil.convertLockState(LockState)`.
    `CDOLockState[]` | CDOLockChangeInfo.`getLockStates()` | Deprecated. As of 4.15 use the faster `CDOLockChangeInfo.getNewLockStates()` method.

    Methods in org.eclipse.emf.cdo.common.lock that return types with arguments of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<CDOLockState>` | CDOLockChangeInfo.`getNewLockStates()` |

    Methods in org.eclipse.emf.cdo.common.lock with parameters of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `static CDOLockState` | CDOLockUtil.`copyLockState​(CDOLockState lockState)` |
    `static CDOLockState` | CDOLockUtil.`copyLockState​(CDOLockState lockState, java.lang.Object lockedObject)` |
    `static CDOLockChangeInfo` | CDOLockUtil.`createLockChangeInfo​(long timestamp, CDOCommonView view, CDOBranch viewedBranch, CDOLockChangeInfo.Operation op, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, CDOLockState[] newLockStates)` |
    `static CDOLockChangeInfo` | CDOLockUtil.`createLockChangeInfo​(long timestamp, CDOLockOwner lockOwner, CDOBranch branch, CDOLockChangeInfo.Operation op, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, CDOLockState[] newLockStates)` | Deprecated. As of 4.15 use the faster `CDOLockUtil.createLockChangeInfo(CDOBranchPoint, CDOLockOwner, Operation, LockType, Collection)` method.

    Method parameters in org.eclipse.emf.cdo.common.lock with type arguments of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `static CDOLockChangeInfo` | CDOLockUtil.`createLockChangeInfo​(CDOBranchPoint branchPoint, CDOLockOwner lockOwner, CDOLockChangeInfo.Operation op, org.eclipse.net4j.util.concurrent.IRWLockManager.LockType lockType, java.util.Collection<? extends CDOLockState> newLockStates)` |

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.common.protocol

    Methods in org.eclipse.emf.cdo.common.protocol that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOLockState` | CDODataInput.`readCDOLockState()` |

    Methods in org.eclipse.emf.cdo.common.protocol with parameters of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CDODataOutput.`writeCDOLockState​(CDOLockState lockState)` |

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.server

    Methods in org.eclipse.emf.cdo.server that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOLockState[]` | IStoreAccessor.CommitContext.`getLocksOnNewObjects()` | Returns an array of the locks on the new objects that are part of the commit operation represented by this `CommitContext`.

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.spi.common.lock

    Subinterfaces of CDOLockState in org.eclipse.emf.cdo.spi.common.lock
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `InternalCDOLockState` | If the meaning of this type isn't clear, there really should be more of a description here...

    Classes in org.eclipse.emf.cdo.spi.common.lock that implement CDOLockState
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractCDOLockState` |

    Fields in org.eclipse.emf.cdo.spi.common.lock declared as CDOLockState
    Modifier and Type | Field | Description
    --- | --- | ---
    `static CDOLockState` | InternalCDOLockState.`UNLOCKED` | Deprecated. As of 4.12 no longer supported.

    Methods in org.eclipse.emf.cdo.spi.common.lock with parameters of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | InternalCDOLockState.`updateFrom​(java.lang.Object object, CDOLockState source)` | Deprecated. As of 4.5 use `InternalCDOLockState.updateFrom(CDOLockState)` instead.
    `void` | InternalCDOLockState.`updateFrom​(CDOLockState source)` | Update the `lockOwners` of this lock state from the one passed in.

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.spi.common.protocol

    Methods in org.eclipse.emf.cdo.spi.common.protocol that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOLockState` | CDODataInputImpl.`readCDOLockState()` |

    Methods in org.eclipse.emf.cdo.spi.common.protocol with parameters of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CDODataOutputImpl.`writeCDOLockState​(CDOLockState lockState)` |

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.spi.server

    Methods in org.eclipse.emf.cdo.spi.server with parameters of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | InternalCommitContext.`setLocksOnNewObjects​(CDOLockState[] locksOnNewObjects)` |

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.transaction

    Methods in org.eclipse.emf.cdo.transaction that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOLockState[]` | CDOPushTransaction.`getLockStates​(java.util.Collection<CDOID> ids)` |
    `CDOLockState[]` | CDOPushTransaction.`getLockStatesOfObjects​(java.util.Collection<? extends CDOObject> objects)` |

    Methods in org.eclipse.emf.cdo.transaction that return types with arguments of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Collection<CDOLockState>` | CDOCommitContext.`getLocksOnNewObjects()` |

    Method parameters in org.eclipse.emf.cdo.transaction with type arguments of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CDOPushTransaction.`refreshLockStates​(java.util.function.Consumer<CDOLockState> consumer)` | Deprecated.

  - ### Uses of CDOLockState in org.eclipse.emf.cdo.view

    Methods in org.eclipse.emf.cdo.view that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected CDOLockState` | CDOLockStatePrefetcher.`getLockState​(CDOObject object)` |
    `CDOLockState[]` | CDOView.`getLockStates​(java.util.Collection<CDOID> ids)` | Get an array of `lock states` corresponding to the specified collection of `ids`.
    `CDOLockState[]` | CDOView.`getLockStatesOfObjects​(java.util.Collection<? extends CDOObject> objects)` | Get an array of `lock states` corresponding to the specified collection of `objects`.

    Method parameters in org.eclipse.emf.cdo.view with type arguments of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CDOView.`refreshLockStates​(java.util.function.Consumer<CDOLockState> consumer)` | Refreshes the `lock states` of this `view` with the latest states from the repository.

  - ### Uses of CDOLockState in org.eclipse.emf.internal.cdo

    Methods in org.eclipse.emf.internal.cdo that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOLockState` | CDOObjectImpl.`cdoLockState()` |
    `static CDOLockState` | CDOObjectImpl.`getLockState​(InternalCDOObject object)` |

  - ### Uses of CDOLockState in org.eclipse.emf.spi.cdo

    Methods in org.eclipse.emf.spi.cdo that return CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `CDOLockState` | CDOLockStateCache.`getLockState​(CDOBranch branch, CDOID id)` |
    `CDOLockState[]` | CDOSessionProtocol.`getLockStates​(int viewID, java.util.Collection<CDOID> ids)` | Deprecated. Not called anymore.
    `CDOLockState[]` | CDOSessionProtocol.`getLockStates​(int branchID, java.util.Collection<CDOID> ids, int depth)` |
    `CDOLockState[]` | InternalCDOView.`getLockStates​(java.util.Collection<CDOID> ids, boolean loadOnDemand)` |
    `CDOLockState[]` | CDOSessionProtocol.CommitTransactionResult.`getNewLockStates()` |
    `CDOLockState[]` | CDOSessionProtocol.LockObjectsResult.`getNewLockStates()` |
    `CDOLockState[]` | CDOSessionProtocol.UnlockObjectsResult.`getNewLockStates()` |

    Methods in org.eclipse.emf.spi.cdo with parameters of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CDOSessionProtocol.CommitTransactionResult.`setNewLockStates​(CDOLockState[] newLockStates)` |
    `void` | InternalCDOView.`updateLockStates​(CDOLockState[] newLockStates, boolean loadObjectsOnDemand, java.util.function.Consumer<CDOLockState> consumer)` | Deprecated. As of 4.15 use `InternalCDOView.updateLockStates(Collection, boolean, Consumer)`.

    Method parameters in org.eclipse.emf.spi.cdo with type arguments of type CDOLockState
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | CDOLockStateCache.`addLockStates​(CDOBranch branch, java.util.Collection<? extends CDOLockState> newLockStates, java.util.function.Consumer<CDOLockState> consumer)` |
    `void` | CDOLockStateCache.`addLockStates​(CDOBranch branch, java.util.Collection<? extends CDOLockState> newLockStates, java.util.function.Consumer<CDOLockState> consumer)` |
    `void` | CDOLockStateCache.`forEachLockState​(CDOBranch branch, CDOLockOwner owner, java.util.function.Consumer<CDOLockState> consumer)` |
    `void` | CDOLockStateCache.`getLockStates​(CDOBranch branch, java.util.Collection<CDOID> ids, boolean loadOnDemand, java.util.function.Consumer<CDOLockState> consumer)` |
    `void` | CDOLockStateCache.`removeLockStates​(CDOBranch branch, java.util.Collection<CDOID> ids, java.util.function.Consumer<CDOLockState> consumer)` |
    `void` | CDOLockStateCache.`removeOwner​(CDOBranch branch, CDOLockOwner owner, java.util.function.Consumer<CDOLockState> changeConsumer)` |
    `void` | InternalCDOView.`updateLockStates​(java.util.Collection<? extends CDOLockState> newLockStates, boolean loadObjectsOnDemand, java.util.function.Consumer<CDOLockState> consumer)` |
    `void` | InternalCDOView.`updateLockStates​(java.util.Collection<? extends CDOLockState> newLockStates, boolean loadObjectsOnDemand, java.util.function.Consumer<CDOLockState> consumer)` |
    `void` | InternalCDOView.`updateLockStates​(CDOLockState[] newLockStates, boolean loadObjectsOnDemand, java.util.function.Consumer<CDOLockState> consumer)` | Deprecated. As of 4.15 use `InternalCDOView.updateLockStates(Collection, boolean, Consumer)`.

    Constructors in org.eclipse.emf.spi.cdo with parameters of type CDOLockState
    Constructor | Description
    --- | ---
    `LockObjectsResult​(boolean successful, boolean timedOut, boolean waitForUpdate, long requiredTimestamp, CDORevisionKey[] staleRevisions, CDOLockState[] newLockStates, long timestamp)` |
    `UnlockObjectsResult​(CDOLockState[] newLockStates, long timestamp)` |