public class OMEROGateway extends Object implements AutoCloseable
Constructor and Description |
---|
OMEROGateway(LoginCredentials credentials,
JIPipeProgressInfo progressInfo) |
Modifier and Type | Method and Description |
---|---|
void |
attachKeyValuePairs(Map<String,String> keyValuePairs,
DataObject data,
SecurityContext context) |
void |
attachTags(Set<String> tags,
DataObject data,
SecurityContext context) |
void |
close() |
BrowseFacility |
getBrowseFacility() |
LoginCredentials |
getCredentials() |
DataManagerFacility |
getDataManagerFacility() |
DatasetData |
getDataset(long datasetId,
long groupId)
Gets a dataset
|
Gateway |
getGateway() |
ImageData |
getImage(long imageId,
long groupId)
Gets a dataset
|
Map<String,TagAnnotationData> |
getKnownTags(SecurityContext context) |
MetadataFacility |
getMetadataFacility() |
JIPipeProgressInfo |
getProgressInfo() |
ProjectData |
getProject(long projectId,
long groupId)
Gets a project
|
ExperimenterData |
getUser() |
public OMEROGateway(LoginCredentials credentials, JIPipeProgressInfo progressInfo)
public LoginCredentials getCredentials()
public Gateway getGateway()
public BrowseFacility getBrowseFacility()
public DataManagerFacility getDataManagerFacility()
public JIPipeProgressInfo getProgressInfo()
public ExperimenterData getUser()
public void close()
close
in interface AutoCloseable
public MetadataFacility getMetadataFacility()
public ProjectData getProject(long projectId, long groupId)
projectId
- the project IDgroupId
- the group ID. Can be negative; then all available group Ids will be testedpublic DatasetData getDataset(long datasetId, long groupId)
datasetId
- the project IDgroupId
- the group ID. Can be negative; then all available group Ids will be testedpublic ImageData getImage(long imageId, long groupId)
imageId
- the image IDgroupId
- the group ID. Can be negative; then all available group Ids will be testedpublic Map<String,TagAnnotationData> getKnownTags(SecurityContext context) throws DSOutOfServiceException, ServerError
DSOutOfServiceException
ServerError
public void attachKeyValuePairs(Map<String,String> keyValuePairs, DataObject data, SecurityContext context) throws DSOutOfServiceException, DSAccessException
public void attachTags(Set<String> tags, DataObject data, SecurityContext context) throws DSOutOfServiceException, DSAccessException, ServerError
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.