public class CactosCdoSession extends Object
| Constructor and Description |
|---|
CactosCdoSession(org.eclipse.emf.cdo.net4j.CDONet4jSession _session,
Dictionary<String,?> _settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection(org.eclipse.emf.cdo.view.CDOView connection)
Close a previously opened connection (transaction or view)
|
void |
commitAndCloseConnection(org.eclipse.emf.cdo.transaction.CDOTransaction connection) |
org.eclipse.emf.cdo.transaction.CDOTransaction |
createTransaction()
create a new transaction on the current session (read-write).
|
org.eclipse.emf.cdo.view.CDOView |
createView()
create a new view on the current session (read-only).
|
String |
getArchitectureTypePath() |
org.eclipse.emf.cdo.net4j.CDONet4jSession |
getCdoSession()
Deprecated.
|
String |
getHypervisorPath() |
String |
getLogicalLoadPath() |
String |
getLogicalModelPath() |
String |
getOptimisationPlanPath() |
String |
getPhysicalLoadPath() |
String |
getPhysicalModelPath() |
EObject |
getRepository(org.eclipse.emf.cdo.view.CDOView connection,
String resourcePath)
Get repository by resourcePath.
|
EObject |
getRepository(String resourcePath)
Get Repository by resourcePath.
|
org.eclipse.emf.cdo.eresource.CDOResource |
getResource(org.eclipse.emf.cdo.transaction.CDOTransaction connection,
String resourcePath)
Get a resource from a previously opened CDOTransaction.
|
org.eclipse.emf.cdo.eresource.CDOResource |
getResource(org.eclipse.emf.cdo.view.CDOView connection,
String resourcePath)
Get a resource from a previously opened CDOView.
|
org.eclipse.emf.cdo.eresource.CDOResource |
getResource(String resourcePath)
Get a read-only resource from a temporary created CDOView.
|
public CactosCdoSession(org.eclipse.emf.cdo.net4j.CDONet4jSession _session,
Dictionary<String,?> _settings)
public String getOptimisationPlanPath()
public String getLogicalModelPath()
public String getPhysicalModelPath()
public String getLogicalLoadPath()
public String getPhysicalLoadPath()
public String getHypervisorPath()
public String getArchitectureTypePath()
@Deprecated public org.eclipse.emf.cdo.net4j.CDONet4jSession getCdoSession()
public org.eclipse.emf.cdo.view.CDOView createView()
public org.eclipse.emf.cdo.transaction.CDOTransaction createTransaction()
public org.eclipse.emf.cdo.eresource.CDOResource getResource(String resourcePath)
resourcePath - public org.eclipse.emf.cdo.eresource.CDOResource getResource(org.eclipse.emf.cdo.transaction.CDOTransaction connection,
String resourcePath)
connection - resourcePath - public org.eclipse.emf.cdo.eresource.CDOResource getResource(org.eclipse.emf.cdo.view.CDOView connection,
String resourcePath)
connection - resourcePath - public EObject getRepository(String resourcePath)
resourcePath - public EObject getRepository(org.eclipse.emf.cdo.view.CDOView connection, String resourcePath)
connection - resourcePath - public void closeConnection(org.eclipse.emf.cdo.view.CDOView connection)
connection - public void commitAndCloseConnection(org.eclipse.emf.cdo.transaction.CDOTransaction connection)
throws org.eclipse.emf.cdo.util.ConcurrentAccessException,
org.eclipse.emf.cdo.util.CommitException
org.eclipse.emf.cdo.util.ConcurrentAccessExceptionorg.eclipse.emf.cdo.util.CommitException