Constantin Ziesche | 09dcb6b | 2020-10-07 13:47:39 +0200 | [diff] [blame^] | 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2020 Robert Bosch GmbH |
| 3 | * Author: Constantin Ziesche (constantin.ziesche@bosch.com) |
| 4 | * |
| 5 | * This program and the accompanying materials are made available under the |
| 6 | * terms of the Eclipse Public License 2.0 which is available at |
| 7 | * http://www.eclipse.org/legal/epl-2.0 |
| 8 | * |
| 9 | * SPDX-License-Identifier: EPL-2.0 |
| 10 | *******************************************************************************/ |
| 11 | using BaSyx.Models.Core.AssetAdministrationShell.Generics; |
| 12 | using BaSyx.Models.Core.Common; |
| 13 | using BaSyx.Utils.ResultHandling; |
| 14 | |
| 15 | namespace BaSyx.API.Clients |
| 16 | { |
| 17 | public interface ISubmodelRepositoryClient |
| 18 | { |
| 19 | IResult<ISubmodel> CreateOrUpdateSubmodel(ISubmodel submodel); |
| 20 | |
| 21 | IResult<IElementContainer<ISubmodel>> RetrieveSubmodels(); |
| 22 | |
| 23 | IResult<ISubmodel> RetrieveSubmodel(string submodelId); |
| 24 | |
| 25 | IResult DeleteSubmodel(string submodelId); |
| 26 | } |
| 27 | } |