blob: c602528342bec76dd3211b6db139886428c9d97a (
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
|
/**
* Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others.
* 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
* Stefan Winkler - 271444: [DB] Multiple refactorings https://bugs.eclipse.org/bugs/show_bug.cgi?id=271444
*/
package org.eclipse.emf.cdo.server.db.mapping;
import org.eclipse.emf.cdo.server.db.IDBStoreAccessor;
import org.eclipse.emf.cdo.spi.common.revision.InternalCDORevisionDelta;
import org.eclipse.net4j.util.om.monitor.OMMonitor;
/**
* Interface which complements {@link IClassMapping} with methods to facilitate
* revision delta support.
*
* @see {@link IMappingStrategy#hasDeltaSupport()
*
* @author Eike Stepper
* @author Stefan Winkler
* @since 2.0
*/
public interface IClassMappingDeltaSupport
{
/**
* Write a revision delta.
*
* @param dbStoreAccessor
* the accessor to use.
* @param delta
* the delta to write.
* @param created
* the creation timestamp of the new version
* @param monitor
* the monitor to report progress.
*/
public void writeRevisionDelta(IDBStoreAccessor dbStoreAccessor, InternalCDORevisionDelta delta, long created,
OMMonitor monitor);
}
|