public interface Annotation extends RemoteObject
Modifier and Type | Method and Description |
---|---|
AnnotationData |
asDataObject()
Returns an
AnnotationData corresponding to the handled object. |
default int |
countAnnotationLinks(Browser browser)
Returns the number of annotations links for this object.
|
List<Dataset> |
getDatasets(Browser browser)
Gets all datasets with this annotation from OMERO.
|
String |
getDescription()
Gets the annotation description.
|
List<Folder> |
getFolders(Browser browser)
Gets all folders with this annotation from OMERO.
|
List<Image> |
getImages(Browser browser)
Gets all images with this annotation from OMERO.
|
Timestamp |
getLastModified()
Returns the time when the annotation was last modified.
|
String |
getNameSpace()
Retrieves the annotation namespace.
|
List<PlateAcquisition> |
getPlateAcquisitions(Browser browser)
Gets all plate acquisitions with this annotation from OMERO.
|
List<Plate> |
getPlates(Browser browser)
Gets all plates with this annotation from OMERO.
|
List<Project> |
getProjects(Browser browser)
Gets all projects with this annotation from OMERO.
|
List<Screen> |
getScreens(Browser browser)
Gets all screens with this annotation from OMERO.
|
List<Well> |
getWells(Browser browser)
Gets all wells with this annotation from OMERO.
|
void |
setDescription(String description)
Sets the description of the underlying
AnnotationData instance. |
void |
setNameSpace(String name)
Sets the annotation namespace.
|
canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdate
AnnotationData asDataObject()
AnnotationData
corresponding to the handled object.asDataObject
in interface RemoteObject
String getNameSpace()
void setNameSpace(String name)
name
- The value to set.Timestamp getLastModified()
String getDescription()
void setDescription(String description)
AnnotationData
instance.description
- The descriptiondefault int countAnnotationLinks(Browser browser) throws ServiceException, AccessException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.List<Project> getProjects(Browser browser) throws ServiceException, AccessException, ExecutionException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.List<Dataset> getDatasets(Browser browser) throws ServiceException, AccessException, ExecutionException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.List<Image> getImages(Browser browser) throws ServiceException, AccessException, ExecutionException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.List<Screen> getScreens(Browser browser) throws ServiceException, AccessException, ExecutionException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.List<Plate> getPlates(Browser browser) throws ServiceException, AccessException, ExecutionException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.List<PlateAcquisition> getPlateAcquisitions(Browser browser) throws ServiceException, AccessException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.List<Well> getWells(Browser browser) throws ServiceException, AccessException, ExecutionException
browser
- The data browser.ServiceException
- Cannot connect to OMERO.AccessException
- Cannot access data.ExecutionException
- A Facility can't be retrieved or instantiated.List<Folder> getFolders(Browser browser) throws ServiceException, AccessException, ExecutionException
browser
- The data browser.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.