Interface IOpenbisServiceFacade

    • Method Detail

      • getWebAppSettings

        WebAppSettings getWebAppSettings​(java.lang.String webAppId)
        Returns the persistent settings for a given custom web app.
        Parameters:
        webAppId - The id of the custom web app to get the display settings for.
      • setWebAppSettings

        void setWebAppSettings​(WebAppSettings customDisplaySettings)
        Sets the persistent settings for a given custom web app.
        Parameters:
        customDisplaySettings - The new display settings
      • searchForExperiments

        java.util.List<Experiment> searchForExperiments​(SearchCriteria searchCriteria)
        Returns all experiments matching specified search criteria.
      • searchForSamples

        java.util.List<Sample> searchForSamples​(SearchCriteria searchCriteria)
        Return all samples that match the search criteria. This is a short cut for
         searchForSamples(searchCritera, EnumSet.of(SampleFetchOption.PROPERTIES))
         
        Parameters:
        searchCriteria - The sample metadata values to be matched against.
      • searchForDataSets

        java.util.List<DataSet> searchForDataSets​(SearchCriteria searchCriteria)
        Return all data sets matching a specified search criteria.
        Parameters:
        searchCriteria - the criteria used for searching.
      • listDataSets

        java.util.List<DataSet> listDataSets​(java.util.List<Sample> samples,
                                             java.util.EnumSet<DataSet.Connections> connectionsToGet)
        Return all data sets attached to the given samples with connections.
        Parameters:
        samples - The samples for which we return attached data sets.
      • addAdHocVocabularyTerm

        @Deprecated
        void addAdHocVocabularyTerm​(TechId vocabularyId,
                                    java.lang.String code,
                                    java.lang.String label,
                                    java.lang.String description,
                                    java.lang.Long previousTermOrdinal)
        Deprecated.
        Adds new ad-hoc terms to a vocabulary starting from specified ordinal + 1.
        Parameters:
        vocabularyId - The id of vocabulary which should be extended.
        code - Code of new vocabulary term.
        label - Label of new vocabulary term.
        description - Free text describing new vocabulary term.
        previousTermOrdinal - new vocabulary term will be placed right after vocabulary term with given ordinal number.
      • addAdHocVocabularyTerm

        void addAdHocVocabularyTerm​(java.lang.Long vocabularyId,
                                    NewVocabularyTerm term)
        Adds new ad-hoc terms to a vocabulary starting from specified ordinal + 1.
        Parameters:
        vocabularyId - The id of vocabulary which should be extended.
        term - the vocabulary term to be added.