public interface Screen extends RepositoryObject, Annotatable
| Modifier and Type | Method and Description |
|---|---|
ScreenData |
asDataObject()
Returns an
ScreenData corresponding to the handled object. |
default List<RepositoryObject> |
getChildren(Browser browser)
Gets the object parents.
|
default List<Image> |
getImages(Browser browser)
Retrieves the images contained in this screen.
|
default List<RepositoryObject> |
getParents(Browser browser)
Returns an empty list as screens do not have parents.
|
default List<PlateAcquisition> |
getPlateAcquisitions(Browser browser)
Returns the plate acquisitions linked to this object, either directly, or through parents/children.
|
List<Plate> |
getPlates()
Returns the plates contained in this screen.
|
default List<Plate> |
getPlates(Browser browser)
Reloads this screen and returns the updated list of plates within.
|
default List<Plate> |
getPlates(String name)
Returns the plates contained in this screen, with the specified name.
|
String |
getProtocolDescription()
Returns the description of the protocol.
|
String |
getProtocolIdentifier()
Returns the identifier of the protocol.
|
String |
getReagentSetDescription()
Returns the description of the reagent set.
|
String |
getReagentSetIdentifier()
Returns the identifier of the Reagent set.
|
default List<Well> |
getWells(Browser browser)
Retrieves the wells linked to this object, either directly, or through parents/children.
|
List<Long> |
importImage(ConnectionHandler client,
String path)
Imports one image file to the screen in OMERO.
|
boolean |
importImages(ConnectionHandler client,
String... paths)
Imports all images candidates in the paths to the screen in OMERO.
|
void |
reload(Browser browser)
Reloads the screen from OMERO.
|
void |
setDescription(String description)
Sets the description of the screen.
|
void |
setName(String name)
Sets the name of the screen.
|
void |
setProtocolDescription(String value)
Sets the description of the protocol.
|
void |
setProtocolIdentifier(String value)
Sets the identifier of the protocol.
|
void |
setReagentSetDescription(String value)
Sets the identifier of the reagent.
|
void |
setReagentSetIdentifier(String value)
Sets the identifier of the reagent.
|
getDescription, getNameaddAndReplaceFile, addAndReplaceFile, addAndReplaceTable, addAndReplaceTable, addFile, addKeyValuePair, addTable, addTag, addTag, addTags, copyAnnotationLinks, getAnnotationData, getAnnotations, getFileAnnotations, getKeyValuePairs, getMapAnnotations, getMyRating, getTable, getTables, getTags, getValues, isLinked, link, link, link, linkIfNotLinked, rate, unlinkcanAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, distinct, flatten, getCreated, getElementsOf, getGroupId, getId, getOwner, getUpdated, saveAndUpdateScreenData asDataObject()
ScreenData corresponding to the handled object.asDataObject in interface RemoteObjectvoid setName(String name)
name - The name of the screen. Mustn't be null.IllegalArgumentException - If the name is null.void setDescription(String description)
description - The description of the screen.default List<RepositoryObject> getParents(Browser browser)
getParents in interface RepositoryObjectbrowser - The data browser.NoSuchElementException - Screens do not have parents.default List<RepositoryObject> getChildren(Browser browser) throws AccessException, ServiceException, ExecutionException
getChildren in interface RepositoryObjectbrowser - The data browser.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.default 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.default List<Plate> getPlates(String name)
name - The expected plates name.default List<PlateAcquisition> getPlateAcquisitions(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.default 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.default 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.String getProtocolDescription()
void setProtocolDescription(String value)
value - The value to set.String getProtocolIdentifier()
void setProtocolIdentifier(String value)
value - The value to set.String getReagentSetDescription()
void setReagentSetDescription(String value)
value - The value to set.String getReagentSetIdentifier()
void setReagentSetIdentifier(String value)
value - The value to set.void reload(Browser browser) throws ServiceException, AccessException, ExecutionException
reload in interface RepositoryObjectbrowser - The data browser.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.boolean importImages(ConnectionHandler client, String... paths) throws ServiceException, IOException, AccessException
client - The client handling the connection.paths - Paths to the image files on the computer.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.IOException - Cannot read file.List<Long> importImage(ConnectionHandler client, String path) throws ServiceException, AccessException, IOException
client - The client handling the connection.path - Path to the image file on the computer.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.IOException - Cannot read file.Copyright © 2020–2023 GReD. All rights reserved.