Uses of Class
fr.igred.omero.exception.OMEROServerError
-
Packages that use OMEROServerError Package Description fr.igred.omero This package contains abstract wrapper classes for the OMERO Gateway and the basic OMERO object.fr.igred.omero.annotations This package contains wrapper classes for annotations.fr.igred.omero.exception This package contains wrapper classes for exceptions and an exception handler.fr.igred.omero.repository This package contains classes related to the hierarchical organization for images.fr.igred.omero.roi This package contains wrapper classes for OMERO shapes and ROIs. -
-
Uses of OMEROServerError in fr.igred.omero
Methods in fr.igred.omero that throw OMEROServerError Modifier and Type Method Description long
AnnotatableWrapper. addAndReplaceFile(Client client, java.io.File file)
Uploads a file, links it to the object and unlinks previous files with the same name, or deletes them if they're orphaned.long
AnnotatableWrapper. addAndReplaceFile(Client client, java.io.File file, GenericRepositoryObjectWrapper.ReplacePolicy policy)
Uploads a file, links it to the object and unlinks or deletes previous files with the same name.void
AnnotatableWrapper. addAndReplaceTable(Client client, TableWrapper table)
Adds a table to the object in OMERO and unlinks previous tables with the same name, or deletes them if they're orphaned.void
AnnotatableWrapper. addAndReplaceTable(Client client, TableWrapper table, GenericRepositoryObjectWrapper.ReplacePolicy policy)
Adds a table to the object in OMERO and unlinks or deletes previous tables with the same name.void
Client. delete(TableWrapper table)
Deletes a table from OMERO.void
Client. delete(GenericObjectWrapper<?> object)
Deletes an object from OMERO.void
Client. delete(java.util.Collection<? extends GenericObjectWrapper<?>> objects)
Deletes multiple objects from OMERO.protected static void
GenericObjectWrapper. delete(Client client, IObject object)
Deletes an object from OMERO.void
GatewayWrapper. deleteFile(java.lang.Long id)
Deletes a file from OMEROjava.util.List<IObject>
GatewayWrapper. findByQuery(java.lang.String query)
Finds objects on OMERO through a database query.java.util.List<DatasetWrapper>
Browser. getDatasets()
Gets all datasets available from OMERO.java.util.List<DatasetWrapper>
Browser. getDatasets(ExperimenterWrapper experimenter)
Gets all datasets available from OMERO owned by a given user.abstract java.util.List<ImageWrapper>
Browser. getImages(GenericAnnotationWrapper<?> annotation)
Gets all images with the specified annotation from OMERO.java.util.List<ImageWrapper>
Client. getImages(GenericAnnotationWrapper<?> annotation)
Gets all images with the specified annotation from OMERO.java.util.List<ImageWrapper>
Browser. getImagesTagged(TagAnnotationWrapper tag)
Deprecated.Gets all images tagged with a specified tag from OMERO.java.util.List<ImageWrapper>
Browser. getImagesTagged(java.lang.Long tagId)
Deprecated.Gets all images tagged with a specified tag from OMERO.java.util.List<ImageWrapper>
Browser. getImagesWithKey(java.lang.String key)
Gets all images with a certain key.java.util.List<ImageWrapper>
Browser. getImagesWithKeyValuePair(java.lang.String key, java.lang.String value)
Gets all images with a certain key value pair from OMEROjava.util.List<MapAnnotationWrapper>
Browser. getMapAnnotations()
Gets the list of map annotations available to the user.java.util.List<MapAnnotationWrapper>
Browser. getMapAnnotations(java.lang.String key)
Gets the list of map annotations with the specified key available to the user.java.util.List<MapAnnotationWrapper>
Browser. getMapAnnotations(java.lang.String key, java.lang.String value)
Gets the list of map annotations with the specified key and value available to the user.TagAnnotationWrapper
Browser. getTag(java.lang.Long id)
Gets a specific tag from the OMERO database.java.util.List<TagAnnotationWrapper>
Browser. getTags()
Gets the list of tag annotations available to the user.java.util.List<TagAnnotationWrapper>
Browser. getTags(java.lang.String name)
Gets the list of tag annotations with the specified name available to the user.java.util.List<WellWrapper>
Browser. getWells()
Gets all wells available from OMERO.java.util.List<WellWrapper>
Browser. getWells(ExperimenterWrapper experimenter)
Gets all wells available from OMERO owned by a given user.void
AnnotatableWrapper. rate(Client client, int rating)
Rates the object (using a rating annotation).protected void
AnnotatableWrapper. removeLink(Client client, java.lang.String linkType, long childId)
Removes the link of the given type with the given child ID.<A extends GenericAnnotationWrapper<?>>
voidAnnotatableWrapper. unlink(Client client, A annotation)
Unlinks the given annotation from the current object. -
Uses of OMEROServerError in fr.igred.omero.annotations
Methods in fr.igred.omero.annotations that throw OMEROServerError Modifier and Type Method Description int
GenericAnnotationWrapper. countAnnotationLinks(Client client)
Returns the number of annotations links for this object.java.util.List<DatasetWrapper>
GenericAnnotationWrapper. getDatasets(Client client)
Gets all datasets with this annotation from OMERO.java.io.File
FileAnnotationWrapper. getFile(Client client, java.lang.String path)
Returns the original file.java.util.List<FolderWrapper>
GenericAnnotationWrapper. getFolders(Client client)
Gets all folders with this annotation from OMERO.java.util.List<ImageWrapper>
GenericAnnotationWrapper. getImages(Client client)
Gets all images with this annotation from OMERO.java.util.List<PlateAcquisitionWrapper>
GenericAnnotationWrapper. getPlateAcquisitions(Client client)
Gets all plate acquisitions with this annotation from OMERO.java.util.List<PlateWrapper>
GenericAnnotationWrapper. getPlates(Client client)
Gets all plates with this annotation from OMERO.java.util.List<ProjectWrapper>
GenericAnnotationWrapper. getProjects(Client client)
Gets all projects with this annotation from OMERO.java.util.List<ScreenWrapper>
GenericAnnotationWrapper. getScreens(Client client)
Gets all screens with this annotation from OMERO.java.util.List<WellWrapper>
GenericAnnotationWrapper. getWells(Client client)
Gets all wells with this annotation from OMERO. -
Uses of OMEROServerError in fr.igred.omero.exception
Methods in fr.igred.omero.exception that throw OMEROServerError Modifier and Type Method Description ExceptionHandler<T>
ExceptionHandler. handleException(java.lang.String message)
Throws:AccessException
ifDSAccessException
was caughtServiceException
ifDSOutOfServiceException
was caughtOMEROServerError
ifServerError
was caughtstatic void
ExceptionHandler. handleException(java.lang.Throwable t, java.lang.String message)
Deprecated.Helper method to convert an exception from: DSAccessException to AccessException DSOutOfServiceException to ServiceException ServerError to OMEROServerErrorExceptionHandler<T>
ExceptionHandler. handleServiceOrServer(java.lang.String message)
Throws:ServiceException
ifDSOutOfServiceException
was caughtOMEROServerError
ifServerError
was caughtstatic void
ExceptionHandler. handleServiceOrServer(java.lang.Throwable t, java.lang.String message)
Deprecated.Helper method to convert an exception from: DSOutOfServiceException to ServiceException ServerError to OMEROServerError -
Uses of OMEROServerError in fr.igred.omero.repository
Methods in fr.igred.omero.repository that throw OMEROServerError Modifier and Type Method Description java.util.List<java.io.File>
ImageWrapper. download(Client client, java.lang.String path)
Downloads the original files from the server.java.util.List<DatasetWrapper>
ImageWrapper. getDatasets(Client client)
Retrieves the datasets containing this imagejava.util.List<ImageWrapper>
ImageWrapper. getFilesetImages(Client client)
Returns the list of images sharing the same fileset as the current image.FolderWrapper
ImageWrapper. getFolder(Client client, java.lang.Long folderId)
Deprecated.Gets the folder with the specified id on OMERO.java.util.List<FolderWrapper>
ImageWrapper. getFolders(Client client)
Gets the list of folders linked to this image.java.util.List<ImageWrapper>
DatasetWrapper. getImagesTagged(Client client, TagAnnotationWrapper tag)
Gets all images in the dataset tagged with a specified tag from OMERO.java.util.List<ImageWrapper>
DatasetWrapper. getImagesTagged(Client client, java.lang.Long tagId)
Gets all images in the dataset tagged with a specified tag from OMERO.java.util.List<ImageWrapper>
ProjectWrapper. getImagesTagged(Client client, TagAnnotationWrapper tag)
Gets all images in the project tagged with a specified tag from OMERO.java.util.List<ImageWrapper>
ProjectWrapper. getImagesTagged(Client client, java.lang.Long tagId)
Gets all images in the project tagged with a specified tag from OMERO.java.util.List<ProjectWrapper>
DatasetWrapper. getProjects(Client client)
Retrieves the projects containing this dataset.java.util.List<ProjectWrapper>
ImageWrapper. getProjects(Client client)
Retrieves the projects containing this imagejava.util.List<ScreenWrapper>
ImageWrapper. getScreens(Client client)
Retrieves the screens containing this imagejava.util.List<ScreenWrapper>
PlateAcquisitionWrapper. getScreens(Client client)
Retrieves the screens containing the parent plates.java.util.List<ScreenWrapper>
PlateWrapper. getScreens(Client client)
Retrieves the screens containing this plate.java.util.List<ScreenWrapper>
WellSampleWrapper. getScreens(Client client)
Returns the screens containing the parent Well.java.util.List<ScreenWrapper>
WellWrapper. getScreens(Client client)
Refreshes this well and retrieves the screens containing it.java.awt.image.BufferedImage
ImageWrapper. getThumbnail(Client client, int size)
Retrieves the image thumbnail of the specified size.java.util.List<java.lang.Long>
DatasetWrapper. importAndReplaceImages(Client client, java.lang.String path)
Imports one image file to the dataset in OMERO and replace older images sharing the same name after copying their annotations and ROIs, and concatenating the descriptions (on new lines) by unlinking them.java.util.List<java.lang.Long>
DatasetWrapper. importAndReplaceImages(Client client, java.lang.String path, GenericRepositoryObjectWrapper.ReplacePolicy policy)
Imports one image file to the dataset in OMERO and replace older images sharing the same name after copying their annotations and ROIs, and concatenating the descriptions (on new lines) by unlinking or even deleting them.java.util.List<java.lang.Long>
DatasetWrapper. importImage(Client client, java.lang.String path)
Imports one image file to the dataset in OMERO.protected static java.util.List<java.lang.Long>
GenericRepositoryObjectWrapper. importImage(GatewayWrapper client, DataObject target, java.lang.String path)
Imports one image file to the target in OMERO.java.util.List<java.lang.Long>
ScreenWrapper. importImage(GatewayWrapper client, java.lang.String path)
Imports one image file to the screen in OMERO.boolean
DatasetWrapper. importImages(Client client, java.lang.String... paths)
Imports all images candidates in the paths to the dataset in OMERO.protected static boolean
GenericRepositoryObjectWrapper. importImages(GatewayWrapper client, DataObject target, java.lang.String... paths)
Imports all images candidates in the paths to the target in OMERO.boolean
ScreenWrapper. importImages(GatewayWrapper client, java.lang.String... paths)
Imports all images candidates in the paths to the screen in OMERO.boolean
ImageWrapper. isOrphaned(Client client)
Checks if image is orphaned (not in a WellSample nor linked to a dataset).void
ProjectWrapper. removeDataset(Client client, DatasetWrapper dataset)
Removes a dataset from the project in OMERO.void
DatasetWrapper. removeImage(Client client, ImageWrapper image)
Removes an image from the dataset in OMERO.java.util.List<ImageWrapper>
DatasetWrapper. replaceImages(Client client, java.util.Collection<? extends ImageWrapper> oldImages, ImageWrapper newImage)
Replaces (and unlinks) a collection of images from this dataset by a new image, after copying their annotations and ROIs, and concatenating the descriptions (on new lines).Constructors in fr.igred.omero.repository that throw OMEROServerError Constructor Description FolderWrapper(Client client, java.lang.String name)
Constructor of the FolderWrapper class. -
Uses of OMEROServerError in fr.igred.omero.roi
Methods in fr.igred.omero.roi that throw OMEROServerError Modifier and Type Method Description void
ROIWrapper. saveROI(Client client)
Saves the ROI.
-