org.eclipse.emf.cdo.workspace
Interface CDOWorkspace

All Superinterfaces:
CDORevisionProvider, Closeable, INotifier
All Known Subinterfaces:
InternalCDOWorkspace

public interface CDOWorkspace
extends CDORevisionProvider, Closeable, INotifier

Represents a local checkout from a remote repository.

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
static interface CDOWorkspace.DirtyStateChangedEvent
          An event fired when the overall state of the workspace changes between dirty and clean.
 
Method Summary
 CDOCommitInfo checkin()
           
 CDOCommitInfo checkin(String comment)
           
 CDOChangeSetData compare(String branchPath)
           
 CDOChangeSetData compare(String branchPath, long timeStamp)
           
 CDOWorkspaceBase getBase()
           
 String getBranchPath()
           
 CDOChangeSetData getLocalChanges()
           
 long getTimeStamp()
           
 boolean isDirty()
           
 boolean isFixed()
           
 CDOTransaction merge(CDOMerger merger, String branchPath)
           
 CDOTransaction merge(CDOMerger merger, String branchPath, long timeStamp)
           
 CDOTransaction openTransaction()
           
 CDOTransaction openTransaction(ResourceSet resourceSet)
           
 CDOView openView()
           
 CDOView openView(ResourceSet resourceSet)
           
 void replace(String branchPath, long timeStamp)
           
 void revert()
           
 CDOTransaction update(CDOMerger merger)
           
 
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 Detail

getBranchPath

String getBranchPath()

getTimeStamp

long getTimeStamp()

isFixed

boolean isFixed()

getBase

CDOWorkspaceBase getBase()

openView

CDOView openView()

openView

CDOView openView(ResourceSet resourceSet)

openTransaction

CDOTransaction openTransaction()

openTransaction

CDOTransaction openTransaction(ResourceSet resourceSet)

update

CDOTransaction update(CDOMerger merger)

merge

CDOTransaction merge(CDOMerger merger,
                     String branchPath)

merge

CDOTransaction merge(CDOMerger merger,
                     String branchPath,
                     long timeStamp)

checkin

CDOCommitInfo checkin()
                      throws CommitException
Throws:
CommitException

checkin

CDOCommitInfo checkin(String comment)
                      throws CommitException
Throws:
CommitException

compare

CDOChangeSetData compare(String branchPath)

compare

CDOChangeSetData compare(String branchPath,
                         long timeStamp)

getLocalChanges

CDOChangeSetData getLocalChanges()

replace

void replace(String branchPath,
             long timeStamp)

revert

void revert()

isDirty

boolean isDirty()
Since:
4.1


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.