1 /*
2 * Copyright James Leigh (c) 2007.
3 *
4 * Licensed under the Aduna BSD-style license.
5 */
6 package org.openrdf.repository.memento;
7
8 import org.openrdf.repository.RepositoryConnection;
9 import org.openrdf.repository.RepositoryException;
10
11 /**
12 * Implemented by interal objects used to track changes.
13 *
14 * @author James Leigh
15 *
16 */
17 interface Command {
18 public abstract void undo(RepositoryConnection conn)
19 throws RepositoryException;
20
21 public abstract void redo(RepositoryConnection conn)
22 throws RepositoryException;
23 }