/* * Copyright 2011 ETH Zuerich, CISD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package ch.systemsx.cisd.openbis.dss.client.api.v1; import java.util.EnumSet; import java.util.HashMap; import java.util.List; import ch.systemsx.cisd.common.api.retry.Retry; import ch.systemsx.cisd.openbis.generic.shared.api.v1.IGeneralInformationService; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.ControlledVocabularyPropertyType; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.DataSet.Connections; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Experiment; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.NewVocabularyTerm; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Sample; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SampleFetchOption; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SearchCriteria; import ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.WebAppSettings; import ch.systemsx.cisd.openbis.generic.shared.basic.TechId; import ch.systemsx.cisd.openbis.generic.shared.basic.dto.Vocabulary; /** * Provides a fully-blown API for openBIS integration. The internals of the openBIS architecture are abstracted away from the API users (e.g. they do * not need to know openBIS is actually two servers - AS and DSS). *
* For the most basic operations (simple listing operations, data set upload/download) you can use instances of {@link IOpenbisServiceFacade} as * "simple" {@link ISimpleOpenbisServiceFacade}. *
* * @author Kaloyan Enimanev */ public interface IOpenbisServiceFacade extends ISimpleOpenbisServiceFacade { /** * Returns the persistent settings for a given custom web app. * * @param webAppId The id of the custom web app to get the display settings for. */ public WebAppSettings getWebAppSettings(String webAppId); /** * Sets the persistent settings for a given custom web app. * * @param customDisplaySettings The new display settings */ public void setWebAppSettings(WebAppSettings customDisplaySettings); /** * Returns all experiments matching specified search criteria. */ public List* searchForSamples(searchCritera, EnumSet.of(SampleFetchOption.PROPERTIES)) ** * @param searchCriteria The sample metadata values to be matched against. */ @Retry public List