org.eclipse.emf.cdo.workspace

## Class CDOWorkspaceUtil

- java.lang.Object
- - org.eclipse.emf.cdo.workspace.CDOWorkspaceUtil

-     public final class CDOWorkspaceUtil
      extends java.lang.Object

  Various static helper methods for dealing with `workspaces`.
  Author:
    Eike Stepper

- - ### Method Summary

    All Methods Static Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `static CDOWorkspace` | `checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)` Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
    `static CDOWorkspace` | `checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, long timeStamp)` Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
    `static CDOWorkspace` | `checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, java.lang.String branchPath)` Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
    `static CDOWorkspace` | `checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, java.lang.String branchPath, long timeStamp)` Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
    `static CDOWorkspaceBase` | `createFolderWorkspaceBase(java.io.File folder)`
    `static CDOWorkspaceConfiguration` | `createWorkspaceConfiguration()` Returns a new configuration that can be used to checkout a new `CDOWorkspace` or open an existing one.
    `static IProperties<CDOWorkspace>` | `getProperties()`
    `static CDOWorkspace` | `getWorkspace(EObject object)`
    `static CDOWorkspaceBase2` | `getWorkspaceBase2(CDOWorkspaceBase base)`
    `static boolean` | `isDirty(EObject object)`
    `static CDOWorkspace` | `open(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)` Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.open()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getProperties

          public static IProperties<CDOWorkspace> getProperties()

      Since:
        4.1

    - #### getWorkspace

          public static CDOWorkspace getWorkspace(EObject object)

      Since:
        4.1

    - #### isDirty

          public static boolean isDirty(EObject object)

      Since:
        4.1

    - #### getWorkspaceBase2

          public static CDOWorkspaceBase2 getWorkspaceBase2(CDOWorkspaceBase base)

      Since:
        4.1

    - #### createFolderWorkspaceBase

          public static CDOWorkspaceBase createFolderWorkspaceBase(java.io.File folder)

    - #### createWorkspaceConfiguration

          public static CDOWorkspaceConfiguration createWorkspaceConfiguration()

      Returns a new configuration that can be used to checkout a new `CDOWorkspace` or open an existing one.
      Since:
        4.1

    - #### open

          @Deprecated
          public static CDOWorkspace open(IStore local,
                                                       CDOWorkspaceBase base,
                                                       CDOSessionConfigurationFactory remote)

      Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.open()`

    - #### checkout

          @Deprecated
          public static CDOWorkspace checkout(IStore local,
                                                           CDOWorkspaceBase base,
                                                           CDOSessionConfigurationFactory remote)

      Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`

    - #### checkout

          @Deprecated
          public static CDOWorkspace checkout(IStore local,
                                                           CDOWorkspaceBase base,
                                                           CDOSessionConfigurationFactory remote,
                                                           java.lang.String branchPath)

      Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`

    - #### checkout

          @Deprecated
          public static CDOWorkspace checkout(IStore local,
                                                           CDOWorkspaceBase base,
                                                           CDOSessionConfigurationFactory remote,
                                                           long timeStamp)

      Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`

    - #### checkout

          @Deprecated
          public static CDOWorkspace checkout(IStore local,
                                                           CDOWorkspaceBase base,
                                                           CDOSessionConfigurationFactory remote,
                                                           java.lang.String branchPath,
                                                           long timeStamp)

      Deprecated. Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`

Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html