Package org.eclipse.emf.cdo.workspace

# Klasse CDOWorkspaceUtil

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

public final class CDOWorkspaceUtil extends Object
Various static helper methods for dealing with `workspaces`.

Autor:
  Eike Stepper

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`static CDOWorkspace`
`checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)`
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
`static CDOWorkspace`
`checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, long timeStamp)`
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
`static CDOWorkspace`
`checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, String branchPath)`
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
`static CDOWorkspace`
`checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, String branchPath, long timeStamp)`
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`
`static CDOWorkspaceBase`
`createFolderWorkspaceBase(File folder)`
`static CDOWorkspaceConfiguration`
`createWorkspaceConfiguration()`
Returns a new configuration that can be used to checkout a new `CDOWorkspace` or open an existing one.
`static org.eclipse.net4j.util.properties.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)`
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.open()`

### Von Klasse geerbte Methoden java.lang.Object

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

## Methodendetails

### getProperties

public static org.eclipse.net4j.util.properties.IProperties<CDOWorkspace> getProperties()

Seit:
  4.1

### getWorkspace

public static CDOWorkspace getWorkspace(EObject object)

Seit:
  4.1

### isDirty

public static boolean isDirty(EObject object)

Seit:
  4.1

### getWorkspaceBase2

public static CDOWorkspaceBase2 getWorkspaceBase2(CDOWorkspaceBase base)

Seit:
  4.1

### createFolderWorkspaceBase

public static CDOWorkspaceBase createFolderWorkspaceBase(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.

Seit:
  4.1

### open

@Deprecated public static CDOWorkspace open(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.open()`

### checkout

@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`

### checkout

@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, String branchPath)
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`

### checkout

@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, long timeStamp)
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`

### checkout

@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, String branchPath, long timeStamp)
Veraltet.
Use `createWorkspaceConfiguration()` and `CDOWorkspaceConfiguration.checkout()`