Interface CDOCheckout
-
- All Superinterfaces:
org.eclipse.emf.common.notify.Adapter,CDOElement.StateProvider,CDOExplorerElement,CDOTimeProvider,java.lang.Comparable<CDOExplorerElement>,IAdaptable,org.eclipse.net4j.util.event.INotifier
public interface CDOCheckout extends CDOExplorerElement, CDOTimeProvider, CDOElement.StateProvider
A CDO checkout.- Since:
- 4.4
- Author:
- Eike Stepper
- No Implement
- This interface is not intended to be implemented by clients.
- No Extend
- This interface is not intended to be extended by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCDOCheckout.ObjectTypestatic classCDOCheckout.State
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_OFFLINEstatic java.lang.StringTYPE_ONLINE_HISTORICALstatic java.lang.StringTYPE_ONLINE_TRANSACTIONAL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaddBranchPoint(CDOBranchPoint branchPoint)voidclose()org.eclipse.emf.common.util.URIcreateResourceURI(java.lang.String path)CDOCheckoutduplicate()intgetBranchID()java.lang.StringgetBranchPath()CDOBranchPointgetBranchPoint()CDOBranchPointgetBranchPoint(CDOCheckout fromCheckout)CDOBranchPoint[]getBranchPoints()java.lang.StringgetEditorOpenerID(CDOID objectID)CDORepositorygetRepository()CDOIDgetRootID()java.lang.StringgetRootLabel()org.eclipse.emf.ecore.EObjectgetRootObject()CDOCheckout.ObjectTypegetRootType()CDOCheckout.StategetState()longgetTimeStamp()org.eclipse.emf.common.util.URIgetURI()CDOViewgetView()CDOView[]getViews()booleanisDirty()booleanisOffline()booleanisOnline()booleanisOpen()booleanisPrefetch()booleanisReadOnly()voidopen()CDOTransactionopenTransaction()CDOTransactionopenTransaction(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)CDOViewopenView()CDOViewopenView(boolean readOnly)CDOViewopenView(boolean readOnly, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)CDOViewopenView(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)voidsetBranchID(int branchID)voidsetBranchPoint(int branchID, long timeStamp)voidsetBranchPoint(CDOBranchPoint branchPoint)voidsetBranchPoint(CDOBranchPointRef branchPointRef)voidsetEditorOpenerID(CDOID objectID, java.lang.String editorOpenerID)voidsetPrefetch(boolean prefetch)voidsetReadOnly(boolean readOnly)voidsetRootID(CDOID rootID)voidsetTimeStamp(long timeStamp)booleanwaitUntilPrefetched()-
Methods inherited from interface org.eclipse.emf.common.notify.Adapter
getTarget, isAdapterForType, notifyChanged, setTarget
-
Methods inherited from interface org.eclipse.emf.cdo.CDOElement.StateProvider
getState
-
Methods inherited from interface org.eclipse.emf.cdo.explorer.CDOExplorerElement
delete, getDescription, getError, getFolder, getID, getLabel, getProperties, getStateFolder, getStateFolder, getType, setDescription, setLabel
-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
-
-
-
Field Detail
-
TYPE_ONLINE_TRANSACTIONAL
static final java.lang.String TYPE_ONLINE_TRANSACTIONAL
- See Also:
- Constant Field Values
-
TYPE_ONLINE_HISTORICAL
static final java.lang.String TYPE_ONLINE_HISTORICAL
- See Also:
- Constant Field Values
-
TYPE_OFFLINE
static final java.lang.String TYPE_OFFLINE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getURI
org.eclipse.emf.common.util.URI getURI()
-
isOffline
boolean isOffline()
-
isOnline
boolean isOnline()
-
getRepository
CDORepository getRepository()
-
getBranchID
int getBranchID()
-
setBranchID
void setBranchID(int branchID)
-
getBranchPath
java.lang.String getBranchPath()
-
getBranchPoint
CDOBranchPoint getBranchPoint()
-
setBranchPoint
void setBranchPoint(CDOBranchPoint branchPoint)
-
setBranchPoint
void setBranchPoint(CDOBranchPointRef branchPointRef)
- Since:
- 4.8
-
setBranchPoint
void setBranchPoint(int branchID, long timeStamp)
-
getBranchPoint
CDOBranchPoint getBranchPoint(CDOCheckout fromCheckout)
-
getBranchPoints
CDOBranchPoint[] getBranchPoints()
-
addBranchPoint
boolean addBranchPoint(CDOBranchPoint branchPoint)
-
getTimeStamp
long getTimeStamp()
- Specified by:
getTimeStampin interfaceCDOTimeProvider
-
setTimeStamp
void setTimeStamp(long timeStamp)
-
isReadOnly
boolean isReadOnly()
-
setReadOnly
void setReadOnly(boolean readOnly)
-
getRootID
CDOID getRootID()
-
setRootID
void setRootID(CDOID rootID)
-
getRootLabel
java.lang.String getRootLabel()
- Since:
- 4.8
-
isPrefetch
boolean isPrefetch()
- Since:
- 4.11
-
setPrefetch
void setPrefetch(boolean prefetch)
- Since:
- 4.11
-
waitUntilPrefetched
boolean waitUntilPrefetched()
- Since:
- 4.11
-
duplicate
CDOCheckout duplicate()
- Since:
- 4.5
-
getState
CDOCheckout.State getState()
-
isOpen
boolean isOpen()
-
open
void open()
-
close
void close()
-
getViews
CDOView[] getViews()
-
getView
CDOView getView()
-
getRootObject
org.eclipse.emf.ecore.EObject getRootObject()
-
getRootType
CDOCheckout.ObjectType getRootType()
-
openView
CDOView openView()
-
openView
CDOView openView(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
-
openView
CDOView openView(boolean readOnly)
-
openView
CDOView openView(boolean readOnly, org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
-
openTransaction
CDOTransaction openTransaction()
-
openTransaction
CDOTransaction openTransaction(org.eclipse.emf.ecore.resource.ResourceSet resourceSet)
-
createResourceURI
org.eclipse.emf.common.util.URI createResourceURI(java.lang.String path)
-
isDirty
boolean isDirty()
-
getEditorOpenerID
java.lang.String getEditorOpenerID(CDOID objectID)
-
setEditorOpenerID
void setEditorOpenerID(CDOID objectID, java.lang.String editorOpenerID)
-
-