1 /*******************************************************************************
2 * Copyright (c) 2013 University of Stuttgart.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * and the Apache License 2.0 which both accompany this distribution,
6 * and are available at http://www.eclipse.org/legal/epl-v10.html
7 * and http://www.apache.org/licenses/LICENSE-2.0
10 * Oliver Kopp - initial API and implementation
11 *******************************************************************************/
12 package org.eclipse.winery.common.interfaces;
14 import java.io.IOException;
16 import org.eclipse.winery.common.ids.GenericId;
19 * Enables access to the winery repository via Ids defined in package
20 * {@link org.eclipse.winery.common.ids}
22 * Methods are moved from
23 * {@link org.eclipse.winery.repository.backend.IGenericRepository} to here as
24 * soon there is an implementation for them. The ultimate goal is to eliminate
27 * These methods are shared between {@link IWineryRepository} and
28 * {@link org.eclipse.winery.repository.backend.IRepository}
30 public interface IWineryRepositoryCommon {
33 * Deletes the TOSCA element <b>and all sub elements</b> referenced by the
34 * given id from the repository
36 * We assume that each id is a directory
40 public void forceDelete(GenericId id) throws IOException;