public class OMEROUtils extends Object
Constructor and Description |
---|
OMEROUtils() |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
getKeyValuePairs(omero.gateway.facility.MetadataFacility metadata,
omero.gateway.SecurityContext context,
omero.gateway.model.DataObject dataObject) |
static Set<String> |
getTags(omero.gateway.facility.MetadataFacility metadata,
omero.gateway.SecurityContext context,
omero.gateway.model.DataObject dataObject) |
static List<omero.model.Pixels> |
importImages(ome.formats.importer.ImportLibrary library,
ome.formats.OMEROMetadataStoreClient store,
ome.formats.importer.ImportConfig config,
ome.formats.importer.ImportCandidates candidates)
Copy of importCandidates in
ImportLibrary that returns the list of uploaded images. |
static ResultsTableData |
tableFromOMERO(omero.gateway.model.TableData tableData) |
static omero.gateway.model.TableData |
tableToOMERO(ResultsTableData resultsTableData) |
static String |
tryGetWebClientURL(String webclientUrl,
String type,
long id) |
public static ResultsTableData tableFromOMERO(omero.gateway.model.TableData tableData)
public static omero.gateway.model.TableData tableToOMERO(ResultsTableData resultsTableData)
public static Map<String,String> getKeyValuePairs(omero.gateway.facility.MetadataFacility metadata, omero.gateway.SecurityContext context, omero.gateway.model.DataObject dataObject) throws omero.gateway.exception.DSAccessException, omero.gateway.exception.DSOutOfServiceException
omero.gateway.exception.DSAccessException
omero.gateway.exception.DSOutOfServiceException
public static Set<String> getTags(omero.gateway.facility.MetadataFacility metadata, omero.gateway.SecurityContext context, omero.gateway.model.DataObject dataObject) throws omero.gateway.exception.DSAccessException, omero.gateway.exception.DSOutOfServiceException
omero.gateway.exception.DSAccessException
omero.gateway.exception.DSOutOfServiceException
public static List<omero.model.Pixels> importImages(ome.formats.importer.ImportLibrary library, ome.formats.OMEROMetadataStoreClient store, ome.formats.importer.ImportConfig config, ome.formats.importer.ImportCandidates candidates)
ImportLibrary
that returns the list of uploaded images.
This method also throws all exceptions.library
- the librarystore
- the storeconfig
- the configcandidates
- the candidatesCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.