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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAneventfired when the overall state of theworkspacechanges between dirty and clean.static interfaceAneventfired when the state of objects in theworkspacechange 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()intlongbooleanisDirty()booleanisFixed()openTransaction(ResourceSet resourceSet) openView()openView(ResourceSet resourceSet) voidvoidrevert()Methods inherited from interface org.eclipse.emf.cdo.CDOElement.StateProvider
getStateMethods inherited from interface org.eclipse.emf.cdo.common.revision.CDORevisionProvider
getRevisionMethods inherited from interface org.eclipse.net4j.util.collection.Closeable
close, isClosedMethods 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
-