Uses of Class
fr.igred.omero.exception.OMEROServerError
Package
Description
This package contains abstract wrapper classes for the OMERO Gateway and the basic OMERO object.
This package contains wrapper classes for annotations.
This package contains wrapper classes for exceptions and an exception handler.
This package contains classes related to the hierarchical organization for images.
This package contains wrapper classes for OMERO shapes and ROIs.
-
Uses of OMEROServerError in fr.igred.omero
Modifier and TypeMethodDescriptionlong
AnnotatableWrapper.addAndReplaceFile
(Client client, 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, 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) Deprecated.Deletes a table from OMERO.void
Client.delete
(GenericObjectWrapper<?> object) Deletes an object from OMERO.void
Client.delete
(Collection<? extends GenericObjectWrapper<?>> objects) Deletes multiple objects from OMERO.protected static void
Deletes an object from OMERO.void
GatewayWrapper.deleteFile
(Long id) Deletes a file from OMEROvoid
GatewayWrapper.deleteFiles
(Long... ids) Deletes files from OMERO.void
Client.deleteTable
(TableWrapper table) Deletes a table from OMERO.void
Client.deleteTables
(Collection<? extends TableWrapper> tables) Deletes tables from OMERO.GatewayWrapper.findByQuery
(String query) Finds objects on OMERO through a database query.Browser.getDatasets()
Gets all datasets available from OMERO.Browser.getDatasets
(ExperimenterWrapper experimenter) Gets all datasets available from OMERO owned by a given user.Client.getGroup
(long groupId) Returns the group which matches the group ID.abstract List<ImageWrapper>
Browser.getImages
(GenericAnnotationWrapper<?> annotation) Gets all images with the specified annotation from OMERO.Client.getImages
(GenericAnnotationWrapper<?> annotation) Gets all images with the specified annotation from OMERO.Browser.getImagesTagged
(TagAnnotationWrapper tag) Deprecated.Gets all images tagged with a specified tag from OMERO.Browser.getImagesTagged
(Long tagId) Deprecated.Gets all images tagged with a specified tag from OMERO.Browser.getImagesWithKey
(String key) Gets all images with a certain key.Browser.getImagesWithKeyValuePair
(String key, String value) Gets all images with a certain key value pair from OMEROBrowser.getMapAnnotations()
Gets the list of map annotations available to the user.Browser.getMapAnnotations
(String key) Gets the list of map annotations with the specified key available to the user.Browser.getMapAnnotations
(String key, String value) Gets the list of map annotations with the specified key and value available to the user.Gets a specific tag from the OMERO database.Browser.getTags()
Gets the list of tag annotations available to the user.Gets the list of tag annotations with the specified name available to the user.Client.getUser
(long userId) Returns the user which matches the user ID.Browser.getWells()
Gets all wells available from OMERO.Browser.getWells
(ExperimenterWrapper experimenter) Gets all wells available from OMERO owned by a given user.void
Rates the object (using a rating annotation).protected void
AnnotatableWrapper.removeLink
(Client client, String linkType, long childId) Removes the link of the given type with the given child ID.<A extends GenericAnnotationWrapper<?>>
voidUnlinks the given annotation from the current object. -
Uses of OMEROServerError in fr.igred.omero.annotations
Modifier and TypeMethodDescriptionint
GenericAnnotationWrapper.countAnnotationLinks
(Client client) Returns the number of annotations links for this object.GenericAnnotationWrapper.getDatasets
(Client client) Gets all datasets with this annotation from OMERO.Returns the original file.GenericAnnotationWrapper.getFolders
(Client client) Gets all folders with this annotation from OMERO.Gets all images with this annotation from OMERO.GenericAnnotationWrapper.getPlateAcquisitions
(Client client) Gets all plate acquisitions with this annotation from OMERO.Gets all plates with this annotation from OMERO.GenericAnnotationWrapper.getProjects
(Client client) Gets all projects with this annotation from OMERO.GenericAnnotationWrapper.getScreens
(Client client) Gets all screens with this annotation from OMERO.Reloads the tag set and returns the corresponding list of tags.Gets all wells with this annotation from OMERO.void
Reloads the tag set from OMERO. -
Uses of OMEROServerError in fr.igred.omero.exception
Modifier and TypeMethodDescriptionExceptionHandler.handleException
(String message) Deprecated.Throws:AccessException
ifDSAccessException
was caughtServiceException
ifDSOutOfServiceException
was caught The appropriate exception ifServerError
was caught (seeExceptionHandler.handleOMEROException(java.lang.Throwable, java.lang.String)
)static void
ExceptionHandler.handleException
(Throwable t, String message) Deprecated.Helper method to convert an exception from: DSAccessException to AccessException DSOutOfServiceException to ServiceException ServerError to OMEROServerErrorExceptionHandler.handleServiceOrServer
(String message) Deprecated.Throws:ServiceException
ifDSOutOfServiceException
was caughtOMEROServerError
ifServerError
was caughtstatic void
ExceptionHandler.handleServiceOrServer
(Throwable t, String message) Deprecated.Helper method to convert an exception from: DSOutOfServiceException to ServiceException ServerError to OMEROServerError -
Uses of OMEROServerError in fr.igred.omero.repository
Modifier and TypeMethodDescriptionDownloads the original files from the server.ImageWrapper.getDatasets
(Client client) Retrieves the datasets containing this imageImageWrapper.getFilesetImages
(Client client) Returns the list of images sharing the same fileset as the current image.Deprecated.Gets the folder with the specified id on OMERO.ImageWrapper.getFolders
(Client client) Gets the list of folders linked to this image.DatasetWrapper.getImagesTagged
(Client client, TagAnnotationWrapper tag) Gets all images in the dataset tagged with a specified tag from OMERO.DatasetWrapper.getImagesTagged
(Client client, Long tagId) Gets all images in the dataset tagged with a specified tag from OMERO.ProjectWrapper.getImagesTagged
(Client client, TagAnnotationWrapper tag) Gets all images in the project tagged with a specified tag from OMERO.ProjectWrapper.getImagesTagged
(Client client, Long tagId) Gets all images in the project tagged with a specified tag from OMERO.DatasetWrapper.getProjects
(Client client) Retrieves the projects containing this dataset.ImageWrapper.getProjects
(Client client) Retrieves the projects containing this imageImageWrapper.getScreens
(Client client) Retrieves the screens containing this imagePlateAcquisitionWrapper.getScreens
(Client client) Retrieves the screens containing the parent plates.PlateWrapper.getScreens
(Client client) Retrieves the screens containing this plate.WellSampleWrapper.getScreens
(Client client) Returns the screens containing the parent Well.WellWrapper.getScreens
(Client client) Refreshes this well and retrieves the screens containing it.ImageWrapper.getThumbnail
(Client client, int size) Retrieves the image thumbnail of the specified size.DatasetWrapper.importAndReplaceImages
(Client client, 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.DatasetWrapper.importAndReplaceImages
(Client client, 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.DatasetWrapper.importImage
(Client client, String path) Imports one image file to the dataset in OMERO.GenericRepositoryObjectWrapper.importImage
(GatewayWrapper client, DataObject target, String path) Imports one image file to the target in OMERO.ScreenWrapper.importImage
(GatewayWrapper client, String path) Imports one image file to the screen in OMERO.boolean
DatasetWrapper.importImages
(Client client, int threads, String... paths) Imports all images candidates in the paths to the dataset in OMERO.boolean
DatasetWrapper.importImages
(Client client, String... paths) Imports all images candidates in the paths to the dataset in OMERO.protected static boolean
GenericRepositoryObjectWrapper.importImages
(GatewayWrapper client, DataObject target, int threads, String... paths) Imports all images candidates in the paths to the target in OMERO.boolean
ScreenWrapper.importImages
(GatewayWrapper client, int threads, String... paths) Imports all images candidates in the paths to the screen in OMERO.boolean
ScreenWrapper.importImages
(GatewayWrapper client, 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.DatasetWrapper.replaceImages
(Client client, 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).ModifierConstructorDescriptionFolderWrapper
(Client client, String name) Constructor of the FolderWrapper class. -
Uses of OMEROServerError in fr.igred.omero.roi