Package 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 withworkspaces
.- Author:
- Eike Stepper
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CDOWorkspace
checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)
Deprecated.static CDOWorkspace
checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, long timeStamp)
Deprecated.static CDOWorkspace
checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, java.lang.String branchPath)
Deprecated.static CDOWorkspace
checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, java.lang.String branchPath, long timeStamp)
Deprecated.static CDOWorkspaceBase
createFolderWorkspaceBase(java.io.File folder)
static CDOWorkspaceConfiguration
createWorkspaceConfiguration()
Returns a new configuration that can be used to checkout a newCDOWorkspace
or open an existing one.static org.eclipse.net4j.util.properties.IProperties<CDOWorkspace>
getProperties()
static CDOWorkspace
getWorkspace(org.eclipse.emf.ecore.EObject object)
static CDOWorkspaceBase2
getWorkspaceBase2(CDOWorkspaceBase base)
static boolean
isDirty(org.eclipse.emf.ecore.EObject object)
static CDOWorkspace
open(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)
Deprecated.
-
-
-
Method Detail
-
getProperties
public static org.eclipse.net4j.util.properties.IProperties<CDOWorkspace> getProperties()
- Since:
- 4.1
-
getWorkspace
public static CDOWorkspace getWorkspace(org.eclipse.emf.ecore.EObject object)
- Since:
- 4.1
-
isDirty
public static boolean isDirty(org.eclipse.emf.ecore.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 newCDOWorkspace
or open an existing one.- Since:
- 4.1
-
open
@Deprecated public static CDOWorkspace open(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)
Deprecated.
-
checkout
@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote)
Deprecated.
-
checkout
@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, java.lang.String branchPath)
Deprecated.
-
checkout
@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, long timeStamp)
Deprecated.
-
checkout
@Deprecated public static CDOWorkspace checkout(IStore local, CDOWorkspaceBase base, CDOSessionConfigurationFactory remote, java.lang.String branchPath, long timeStamp)
Deprecated.
-
-