blob: 7084b479edfee655bed147d278916c614c344239 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
/***************************************************************************
* Copyright (c) 2004 - 2007 Eike Stepper, Germany.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eike Stepper - initial API and implementation
**************************************************************************/
package org.eclipse.emf.cdo.server;
import org.eclipse.emf.cdo.internal.protocol.model.CDOClassImpl;
import org.eclipse.emf.cdo.internal.protocol.model.CDOClassProxy;
import org.eclipse.emf.cdo.internal.protocol.model.CDOFeatureImpl;
import org.eclipse.emf.cdo.internal.protocol.model.CDOPackageImpl;
import org.eclipse.emf.cdo.internal.protocol.revision.CDORevisionImpl;
import org.eclipse.emf.cdo.protocol.model.CDOClass;
import org.eclipse.emf.cdo.protocol.model.CDOFeature;
/**
* @author Eike Stepper
*/
public interface IStoreWriter extends IStoreReader
{
public IView getView();
/**
* Stores a complete description of a package so that it can be restored to an
* identical state at a later point in time.
* <p>
* <b>Note:</b> The implementor of this method must not assume that
* references to classes in this package or in any other package are already
* resolved or are resolveable at the point in time when this method is called
* by the framework. References to classes frequently appear in
* {@link CDOClass#getSuperTypes()} and in
* {@link CDOFeature#getReferenceType()}. Instead
* {@link CDOClassImpl#getSuperTypeProxies()} and
* {@link CDOFeatureImpl#getReferenceTypeProxy()} should be used.
* <p>
*
* @see CDOClassProxy#getPackageURI()
* @see CDOClassProxy#getClassifierID()
*/
public void writePackages(CDOPackageImpl... cdoPackages);
public void writeRevision(CDORevisionImpl revision);
}
|