| Summary: | Provide an offline CDOWorkspace with Checkout/Update/Commit workflows | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Eike Stepper <stepper> | ||||||
| Component: | cdo.core | Assignee: | Eike Stepper <stepper> | ||||||
| Status: | ASSIGNED --- | QA Contact: | Eike Stepper <stepper> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | antonel.pazargic, bulrich, cyril.jaquier, jerome.benois, lu.xingxiao, martin.fluegge, tom.seidel | ||||||
| Version: | 4.13 | Keywords: | noteworthy | ||||||
| Target Milestone: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Eike Stepper
Initial Design:
public final class CDOWorkspaceUtil
{
public static CDOWorkspace checkout(IStore local, CDOSessionConfigurationFactory remote, String branchPath, long timeStamp);
public static CDOWorkspace open(IStore local, CDOSessionConfigurationFactory remote);
}
public interface CDOWorkspace extends Closeable
{
public IRepository getLocalRepository();
public CDOView openView();
public CDOView openView(ResourceSet resourceSet);
public CDOTransaction openTransaction();
public CDOTransaction openTransaction(ResourceSet resourceSet);
public CDOTransaction update(CDOMerger merger);
public CDOTransaction update(CDOMerger merger, String branchPath);
public CDOTransaction update(CDOMerger merger, String branchPath, long timeStamp);
public void revert();
public void replace(String branchPath, long timeStamp);
public void commit(String comment);
}
Created attachment 180562 [details]
Patch v1 - incomplete
Working so far:
- Checkout
- Reading through CDOViews
- Modifying objects through CDOTransactions (local commit)
- Adding objects through CDOTransactions (local commit)
See org.eclipse.emf.cdo.tests.WorkspaceTest All 11141 tests passed. Committed patch v1 to HEAD. Created attachment 181855 [details]
Patch v2 - incomplete
Moving all open enhancement requests to 4.1 Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master. Moving all outstanding enhancements to 4.3 Moving all open enhancement requests to 4.4 Moving all open enhancement requests to 4.4 Moving all open bugzillas to 4.5. Moving all unaddressed bugzillas to 4.6. Moving all open bugs to 4.7 Moving all unresolved issues to version 4.8- Moving all unresolved issues to version 4.9 Moving to 4.13. |