diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/transaction/CDOUserSavepoint.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/transaction/CDOUserSavepoint.java | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/transaction/CDOUserSavepoint.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/transaction/CDOUserSavepoint.java index 79c44afd48..1434a1f94f 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/transaction/CDOUserSavepoint.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/transaction/CDOUserSavepoint.java @@ -1,41 +1,41 @@ -/*
- * Copyright (c) 2004 - 2012 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:
- * Simon McDuff - initial API and implementation
- * Eike Stepper - maintenance
- * Simon McDuff - bug 213402
- */
-package org.eclipse.emf.cdo.transaction;
-
-/**
- * Creates a save point in a {@link CDOUserTransaction} that can be used to roll back a part of the transaction.
- * <p>
- * <b>Note:</b> Save points do not flush to disk. Everything is done in memory on the client side.
- *
- * @author Simon McDuff
- * @since 3.0
- * @noextend This interface is not intended to be extended by clients.
- * @noimplement This interface is not intended to be implemented by clients.
- */
-public interface CDOUserSavepoint
-{
- public CDOUserTransaction getTransaction();
-
- public CDOUserSavepoint getNextSavepoint();
-
- public CDOUserSavepoint getPreviousSavepoint();
-
- /**
- * @since 4.1
- */
- public int getNumber();
-
- public boolean isValid();
-
- public void rollback();
-}
+/* + * Copyright (c) 2004 - 2012 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: + * Simon McDuff - initial API and implementation + * Eike Stepper - maintenance + * Simon McDuff - bug 213402 + */ +package org.eclipse.emf.cdo.transaction; + +/** + * Creates a save point in a {@link CDOUserTransaction} that can be used to roll back a part of the transaction. + * <p> + * <b>Note:</b> Save points do not flush to disk. Everything is done in memory on the client side. + * + * @author Simon McDuff + * @since 3.0 + * @noextend This interface is not intended to be extended by clients. + * @noimplement This interface is not intended to be implemented by clients. + */ +public interface CDOUserSavepoint +{ + public CDOUserTransaction getTransaction(); + + public CDOUserSavepoint getNextSavepoint(); + + public CDOUserSavepoint getPreviousSavepoint(); + + /** + * @since 4.1 + */ + public int getNumber(); + + public boolean isValid(); + + public void rollback(); +} |