public interface Browser
SecurityContext
.Modifier and Type | Method and Description |
---|---|
default List<IObject> |
findByQuery(String query)
Finds objects on OMERO through a database query.
|
BrowseFacility |
getBrowseFacility()
Gets the
BrowseFacility used to access the data from OMERO. |
SecurityContext |
getCtx()
Returns the current
SecurityContext . |
default Dataset |
getDataset(Long id)
Gets the dataset with the specified id from OMERO.
|
default List<Dataset> |
getDatasets()
Gets all datasets available from OMERO.
|
default List<Dataset> |
getDatasets(Experimenter experimenter)
Gets all datasets available from OMERO owned by a given user.
|
default List<Dataset> |
getDatasets(Long... ids)
Gets the datasets with the specified ids from OMERO.
|
default List<Dataset> |
getDatasets(String name)
Gets all datasets with a certain name from OMERO.
|
default Folder |
getFolder(long id)
Gets the folder with the specified ID from OMERO, fully loaded.
|
default List<Folder> |
getFolders()
Gets all folders available from OMERO.
|
default List<Folder> |
getFolders(Experimenter experimenter)
Gets all the folders owned by a given user from OMERO.
|
default Image |
getImage(Long id)
Returns the image with the specified ID from OMERO.
|
default List<Image> |
getImages()
Gets all images owned by the current user.
|
default List<Image> |
getImages(Annotation annotation)
Gets all images with the specified annotation from OMERO.
|
default List<Image> |
getImages(Long... ids)
Gets the images with the specified ids from OMERO
|
default List<Image> |
getImages(String name)
Gets all images with a certain name from OMERO.
|
default List<Image> |
getImages(String projectName,
String datasetName,
String imageName)
Gets all images with the name specified inside projects and datasets with the given names.
|
default List<Image> |
getImagesLike(String motif)
Gets all images with a certain motif in their name from OMERO.
|
default List<Image> |
getImagesWithKey(String key)
Gets all images with a certain key.
|
default List<Image> |
getImagesWithKeyValuePair(String key,
String value)
Gets all images with a certain key value pair from OMERO
|
default MapAnnotation |
getMapAnnotation(Long id)
Gets a specific map annotation (key/value pairs) from the OMERO database.
|
default List<MapAnnotation> |
getMapAnnotations()
Gets the list of map annotations available to the user.
|
default List<MapAnnotation> |
getMapAnnotations(String key)
Gets the list of map annotations with the specified key available to the user.
|
default List<MapAnnotation> |
getMapAnnotations(String key,
String value)
Gets the list of map annotations with the specified key and value available to the user.
|
MetadataFacility |
getMetadataFacility()
Gets the
MetadataFacility used to retrieve annotations from OMERO. |
default Plate |
getPlate(Long id)
Gets the plate with the specified id from OMERO.
|
default List<Plate> |
getPlates()
Gets all plates available from OMERO.
|
default List<Plate> |
getPlates(Experimenter experimenter)
Gets all plates available from OMERO owned by a given user.
|
default List<Plate> |
getPlates(Long... ids)
Gets the plates with the specified ids from OMERO.
|
default Project |
getProject(Long id)
Gets the project with the specified id from OMERO.
|
default List<Project> |
getProjects()
Gets all projects available from OMERO.
|
default List<Project> |
getProjects(Experimenter experimenter)
Gets all projects available from OMERO owned by a given user.
|
default List<Project> |
getProjects(Long... ids)
Gets the projects with the specified ids from OMERO.
|
default List<Project> |
getProjects(String name)
Gets all projects with a certain name from OMERO.
|
omero.api.IQueryPrx |
getQueryService()
Returns the
IQueryPrx used to find objects on OMERO. |
default Screen |
getScreen(Long id)
Gets the screen with the specified id from OMERO.
|
default List<Screen> |
getScreens()
Gets all screens available from OMERO.
|
default List<Screen> |
getScreens(Experimenter experimenter)
Gets all screens available from OMERO owned by a given user.
|
default List<Screen> |
getScreens(Long... ids)
Gets the screens with the specified ids from OMERO.
|
default TagAnnotation |
getTag(Long id)
Gets a specific tag from the OMERO database.
|
default List<TagAnnotation> |
getTags()
Gets the list of tag annotations available to the user.
|
default List<TagAnnotation> |
getTags(String name)
Gets the list of tag annotations with the specified name available to the user.
|
default Well |
getWell(Long id)
Gets the well with the specified id from OMERO.
|
default List<Well> |
getWells()
Gets all wells available from OMERO.
|
default List<Well> |
getWells(Experimenter experimenter)
Gets all wells available from OMERO owned by a given user.
|
default List<Well> |
getWells(Long... ids)
Gets the wells with the specified ids from OMERO.
|
default List<Folder> |
loadFolders(Long... ids)
Gets the folders with the specified IDs from OMERO (fully loaded).
|
SecurityContext getCtx()
SecurityContext
.BrowseFacility getBrowseFacility() throws ExecutionException
BrowseFacility
used to access the data from OMERO.ExecutionException
- A Facility can't be retrieved or instantiated.omero.api.IQueryPrx getQueryService() throws ServiceException, AccessException
IQueryPrx
used to find objects on OMERO.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.MetadataFacility getMetadataFacility() throws ExecutionException
MetadataFacility
used to retrieve annotations from OMERO.ExecutionException
- If the MetadataFacility can't be retrieved or instantiated.default List<IObject> findByQuery(String query) throws ServiceException, AccessException
query
- The database query.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.default Project getProject(Long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the project.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.NoSuchElementException
- No element with such id.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Project> getProjects(Long... ids) throws ServiceException, AccessException, ExecutionException
ids
- Project IDsServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Project> getProjects() throws ServiceException, AccessException, ExecutionException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Project> getProjects(Experimenter experimenter) throws ServiceException, AccessException, ExecutionException
experimenter
- The user.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Project> getProjects(String name) throws ServiceException, AccessException, ExecutionException
name
- Name searched.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default Dataset getDataset(Long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the dataset.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.NoSuchElementException
- No element with such id.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Dataset> getDatasets(Long... ids) throws ServiceException, AccessException, ExecutionException
ids
- Dataset IDsServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Dataset> getDatasets() throws ServiceException, AccessException, ExecutionException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Dataset> getDatasets(Experimenter experimenter) throws ServiceException, AccessException, ExecutionException
experimenter
- The user.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Dataset> getDatasets(String name) throws ServiceException, AccessException, ExecutionException
name
- Name searched.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default Image getImage(Long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the image.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.NoSuchElementException
- No element with such id.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImages(Long... ids) throws ServiceException, AccessException, ExecutionException
ids
- Image IDsServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImages() throws ServiceException, AccessException, ExecutionException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImages(String name) throws ServiceException, AccessException, ExecutionException
name
- Name searched.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImages(String projectName, String datasetName, String imageName) throws ServiceException, AccessException, ExecutionException
projectName
- Expected project name.datasetName
- Expected dataset name.imageName
- Expected image name.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImages(Annotation annotation) throws ServiceException, AccessException, ExecutionException
annotation
- TagAnnotation containing the tag researched.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImagesLike(String motif) throws ServiceException, AccessException, ExecutionException
motif
- Motif searched in an image name.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImagesWithKey(String key) throws ServiceException, AccessException, ExecutionException
key
- Name of the key researched.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Image> getImagesWithKeyValuePair(String key, String value) throws ServiceException, AccessException, ExecutionException
key
- Name of the key researched.value
- Value associated with the key.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default Screen getScreen(Long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the screen.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.NoSuchElementException
- No element with such id.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Screen> getScreens(Long... ids) throws ServiceException, AccessException, ExecutionException
ids
- A list of screen idsServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Screen> getScreens() throws ServiceException, AccessException, ExecutionException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Screen> getScreens(Experimenter experimenter) throws ServiceException, AccessException, ExecutionException
experimenter
- The user.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default Plate getPlate(Long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the plate.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.NoSuchElementException
- No element with such id.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Plate> getPlates(Long... ids) throws ServiceException, AccessException, ExecutionException
ids
- A list of plate idsServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Plate> getPlates() throws ServiceException, AccessException, ExecutionException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Plate> getPlates(Experimenter experimenter) throws ServiceException, AccessException, ExecutionException
experimenter
- The user.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default Well getWell(Long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the well.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.NoSuchElementException
- No element with such id.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Well> getWells(Long... ids) throws ServiceException, AccessException, ExecutionException
ids
- A list of well idsServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Well> getWells() throws ServiceException, AccessException, ExecutionException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Well> getWells(Experimenter experimenter) throws ServiceException, AccessException, ExecutionException
experimenter
- The user.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default Folder getFolder(long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the folder.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.NoSuchElementException
- No element with such id.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Folder> getFolders() throws ExecutionException, AccessException, ServiceException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Folder> getFolders(Experimenter experimenter) throws ExecutionException, AccessException, ServiceException
experimenter
- The user.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<Folder> loadFolders(Long... ids) throws ServiceException, AccessException, ExecutionException
ids
- Project IDsServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<TagAnnotation> getTags() throws ServiceException, AccessException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.default List<TagAnnotation> getTags(String name) throws ServiceException, AccessException
name
- Name of the tag searched.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.default TagAnnotation getTag(Long id) throws ServiceException, ExecutionException, AccessException
id
- ID of the tag.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.default List<MapAnnotation> getMapAnnotations() throws ServiceException, AccessException
ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.default List<MapAnnotation> getMapAnnotations(String key) throws ServiceException, AccessException
key
- Name of the tag searched.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.default List<MapAnnotation> getMapAnnotations(String key, String value) throws ServiceException, AccessException
key
- The required key.value
- The required value.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.default MapAnnotation getMapAnnotation(Long id) throws ServiceException, AccessException, ExecutionException
id
- ID of the map annotation.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.Copyright © 2020–2023 GReD. All rights reserved.