public interface CDOCheckout extends CDOExplorerElement, CDOTimeProvider, CDOElement.StateProvider
Modifier and Type | Interface and Description |
---|---|
static class |
CDOCheckout.ObjectType |
static class |
CDOCheckout.State |
Adapter.Internal
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE_OFFLINE |
static java.lang.String |
TYPE_ONLINE_HISTORICAL |
static java.lang.String |
TYPE_ONLINE_TRANSACTIONAL |
delete, getDescription, getID, getLabel, getStateFolder, getType, setDescription, setLabel
addListener, getListeners, hasListeners, removeListener
getAdapter
getTarget, isAdapterForType, notifyChanged, setTarget
getState
static final java.lang.String TYPE_ONLINE_TRANSACTIONAL
static final java.lang.String TYPE_ONLINE_HISTORICAL
static final java.lang.String TYPE_OFFLINE
URI getURI()
boolean isOffline()
boolean isOnline()
CDORepository getRepository()
int getBranchID()
void setBranchID(int branchID)
java.lang.String getBranchPath()
CDOBranchPoint getBranchPoint()
void setBranchPoint(CDOBranchPoint branchPoint)
void setBranchPoint(int branchID, long timeStamp)
CDOBranchPoint getBranchPoint(CDOCheckout fromCheckout)
CDOBranchPoint[] getBranchPoints()
boolean addBranchPoint(CDOBranchPoint branchPoint)
long getTimeStamp()
getTimeStamp
in interface CDOTimeProvider
void setTimeStamp(long timeStamp)
boolean isReadOnly()
void setReadOnly(boolean readOnly)
CDOID getRootID()
void setRootID(CDOID rootID)
CDOCheckout duplicate()
CDOCheckout.State getState()
boolean isOpen()
void open()
void close()
CDOView[] getViews()
CDOView getView()
EObject getRootObject()
CDOCheckout.ObjectType getRootType()
CDOView openView()
CDOView openView(ResourceSet resourceSet)
CDOView openView(boolean readOnly)
CDOView openView(boolean readOnly, ResourceSet resourceSet)
CDOTransaction openTransaction()
CDOTransaction openTransaction(ResourceSet resourceSet)
URI createResourceURI(java.lang.String path)
boolean isDirty()
java.lang.String getEditorOpenerID(CDOID objectID)
void setEditorOpenerID(CDOID objectID, java.lang.String editorOpenerID)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
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