org.eclipse.emf.cdo.workspace
Class CDOWorkspaceUtil

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

public final class CDOWorkspaceUtil
extends Object

Various static helper methods for dealing with workspaces.


Method Summary
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, String branchPath)
          Deprecated. Use createWorkspaceConfiguration() and CDOWorkspaceConfiguration.checkout()
static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, String branchPath, long timeStamp)
          Deprecated. 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 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(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,
                                               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,
                                               String branchPath,
                                               long timeStamp)
Deprecated. Use createWorkspaceConfiguration() and CDOWorkspaceConfiguration.checkout()



Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.