blob: fb258d03c20b8dd555116cb9aca12d13b90aa45b [file] [log] [blame]
Constantin Ziesche09dcb6b2020-10-07 13:47:39 +02001/*******************************************************************************
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*******************************************************************************/
11using BaSyx.Models.Core.AssetAdministrationShell.Generics;
12using BaSyx.Models.Core.Common;
13using BaSyx.Utils.ResultHandling;
14
15namespace 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}