blob: e971ca0460be6df2851b6057241072b315e42ca1 [file] [log] [blame]
//------------------------------------------------------------------------------
// Copyright (c) 2005, 2007 IBM Corporation 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:
// IBM Corporation - initial implementation
//------------------------------------------------------------------------------
package org.eclipse.epf.library.persistence.internal;
/**
* Interface a resource must implement to support fail-safe persistence
*
* @author Phong Nguyen Le
*
* @since 1.2
*/
public interface IFailSafeSavable {
void commit();
boolean restore();
void setTxID(String txID);
boolean hasTempURI();
void txFinished(boolean successful);
void deleteBackup();
}