public class ScreenWrapper extends ImportWrapper<ScreenData> implements Screen
Wraps function calls to the ScreenData contained.
| Modifier and Type | Field and Description |
|---|---|
static String |
ANNOTATION_LINK
Annotation link name for this type of object
|
data| Constructor and Description |
|---|
ScreenWrapper(DataManager dm,
String name,
String description)
Constructor of the ProjectWrapper class.
|
ScreenWrapper(ScreenData screen)
Constructor of the class ScreenWrapper.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
annotationLinkType()
Returns the type of annotation link for this object.
|
String |
getDescription()
Gets the screen description
|
String |
getName()
Gets the screen name.
|
List<Plate> |
getPlates()
Returns the plates contained in this screen.
|
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.
|
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.
|
addAndReplaceFile, addAndReplaceTable, addKeyValuePair, addTag, addTag, getAnnotations, getFileAnnotations, getMapAnnotations, getMyRating, getTable, getTags, rate, removeLink, unlinkasDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, getUpdated, saveAndUpdate, toString, wrap, wrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasDataObject, getChildren, getImages, getParents, getPlateAcquisitions, getPlates, getPlates, getWellsaddAndReplaceFile, 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, saveAndUpdatepublic static final String ANNOTATION_LINK
public ScreenWrapper(DataManager dm, String name, String description) throws ServiceException, AccessException, ExecutionException
dm - The data manager.name - Project name.description - Project description.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.public ScreenWrapper(ScreenData screen)
screen - The ScreenData contained in the ScreenWrapper.protected String annotationLinkType()
annotationLinkType in class AnnotatableWrapper<ScreenData>public String getName()
getName in interface RepositoryObjectpublic void setName(String name)
setName in interface Screenname - The name of the screen. Mustn't be null.IllegalArgumentException - If the name is null.public String getDescription()
getDescription in interface RepositoryObjectpublic void setDescription(String description)
setDescription in interface Screendescription - The description of the screen.public String getProtocolDescription()
getProtocolDescription in interface Screenpublic void setProtocolDescription(String value)
setProtocolDescription in interface Screenvalue - The value to set.public String getProtocolIdentifier()
getProtocolIdentifier in interface Screenpublic void setProtocolIdentifier(String value)
setProtocolIdentifier in interface Screenvalue - The value to set.public String getReagentSetDescription()
getReagentSetDescription in interface Screenpublic void setReagentSetDescription(String value)
setReagentSetDescription in interface Screenvalue - The value to set.public String getReagentSetIdentifier()
getReagentSetIdentifier in interface Screenpublic void setReagentSetIdentifier(String value)
setReagentSetIdentifier in interface Screenvalue - The value to set.public void reload(Browser browser) throws ServiceException, AccessException, ExecutionException
reload in interface RepositoryObjectreload in interface Screenbrowser - The data browser.ServiceException - Cannot connect to OMERO.AccessException - Cannot access data.ExecutionException - A Facility can't be retrieved or instantiated.public boolean importImages(ConnectionHandler client, String... paths) throws ServiceException, IOException, AccessException
importImages in interface ScreenimportImages in class ImportWrapper<ScreenData>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.public List<Long> importImage(ConnectionHandler client, String path) throws ServiceException, AccessException, IOException
importImage in interface ScreenimportImage in class ImportWrapper<ScreenData>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.