Package org.eclipse.emf.cdo.workspace
Interface CDOWorkspace
- All Superinterfaces:
CDOElement.StateProvider
,CDORevisionProvider
,org.eclipse.net4j.util.collection.Closeable
,org.eclipse.net4j.util.event.INotifier
- All Known Subinterfaces:
InternalCDOWorkspace
public interface CDOWorkspace
extends CDORevisionProvider, CDOElement.StateProvider, org.eclipse.net4j.util.collection.Closeable, org.eclipse.net4j.util.event.INotifier
Represents a local
checkout
from a remote repository.- 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
Modifier and TypeInterfaceDescriptionstatic interface
Anevent
fired when the overall state of theworkspace
changes between dirty and clean.static interface
Anevent
fired when the state of objects in theworkspace
change between new, dirty and clean.Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Method Summary
Modifier and TypeMethodDescriptioncheckin()
getBase()
int
long
boolean
isDirty()
boolean
isFixed()
openTransaction
(ResourceSet resourceSet) openView()
openView
(ResourceSet resourceSet) void
void
revert()
Methods inherited from interface org.eclipse.emf.cdo.CDOElement.StateProvider
getState
Methods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionProvider
getRevision
Methods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosed
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
-
Method Details
-
getBranchID
int getBranchID()- Since:
- 4.2
-
getBranchPath
String getBranchPath() -
getTimeStamp
long getTimeStamp() -
isFixed
boolean isFixed() -
getBase
CDOWorkspaceBase getBase() -
openView
CDOView openView() -
openView
-
openTransaction
CDOTransaction openTransaction() -
openTransaction
-
update
-
merge
-
merge
-
checkin
- Throws:
CommitException
-
checkin
- Throws:
CommitException
-
compare
-
compare
-
getLocalChanges
CDOChangeSetData getLocalChanges() -
replace
-
revert
void revert() -
isDirty
boolean isDirty()- Since:
- 4.1
-