diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDOAdapter.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDOAdapter.java | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDOAdapter.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDOAdapter.java deleted file mode 100644 index 6f21b26814..0000000000 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDOAdapter.java +++ /dev/null @@ -1,60 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2004-2007 Eike Stepper, Germany. - * 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 - * - * Contributors: - * Eike Stepper - initial API and implementation - **************************************************************************/ -package org.eclipse.emf.cdo; - -import org.eclipse.emf.cdo.eresource.CDOResource; -import org.eclipse.emf.cdo.protocol.event.CDOEventSource; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.util.URI; -import org.eclipse.emf.ecore.resource.ResourceSet; - -/** - * @author Eike Stepper - */ -public interface CDOAdapter extends CDOEventSource, Adapter -{ - public ResourceSet getResourceSet(); - - public CDOSession getSession(); - - public CDOView getView(); - - public CDOTransaction getTransaction(); - - public boolean isHistorical(); - - public boolean isActual(); - - public boolean isReadOnly(); - - /** - * @see CDOTransaction#commit() - */ - public void commit(); - - /** - * @see CDOTransaction#rollback() - */ - public void rollback(); - - public void detach(); - - /** - * @see ResourceSet#createResource(URI) - */ - public CDOResource createResource(String path); - - /** - * @see ResourceSet#getResource(URI, boolean) - */ - public CDOResource getResource(String path); -} |