Uses of Class
fr.igred.omero.exception.AccessException
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 wrapper classes for users, groups and planes information.
This package contains classes related to the hierarchical organization for images.
This package contains wrapper classes for OMERO shapes and ROIs.
-
Uses of AccessException 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
AnnotatableWrapper.addFileAnnotation
(Client client, FileAnnotationWrapper annotation) Deprecated.Links a file annotation to the object.void
AnnotatableWrapper.addKeyValuePair
(Client client, String key, String value) Adds a single Key-Value pair to the object.void
AnnotatableWrapper.addMapAnnotation
(Client client, MapAnnotationWrapper mapAnnotation) Deprecated.Adds a List of Key-Value pair to the object.void
AnnotatableWrapper.addPairKeyValue
(Client client, String key, String value) Deprecated.Adds a single Key-Value pair to the object.void
AnnotatableWrapper.addTable
(Client client, TableWrapper table) Adds a table to the object in OMERO.void
AnnotatableWrapper.addTag
(Client client, TagAnnotationWrapper tag) Deprecated.Adds a tag to the object in OMERO, if possible.void
Adds a tag to the object in OMERO, if possible.void
Adds a newly created tag to the object in OMERO, if possible.void
AnnotatableWrapper.addTags
(Client client, TagAnnotationWrapper... tags) Deprecated.Adds multiple tag to the object in OMERO, if possible.void
Adds multiple tags by ID to the object in OMERO, if possible.void
AnnotatableWrapper.copyAnnotationLinks
(Client client, AnnotatableWrapper<?> object) Copies annotation links from some other object to this one.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.AnnotatableWrapper.getAnnotations
(Client client) Retrieves annotations linked to the object (of known types).Browser.getDataset
(Long id) Gets the dataset with the specified id from OMERO.Browser.getDatasets()
Gets all datasets available from OMERO.Browser.getDatasets
(ExperimenterWrapper experimenter) Gets all datasets available from OMERO owned by a given user.Browser.getDatasets
(Long... ids) Gets the datasets with the specified ids from OMERO.Browser.getDatasets
(String name) Gets all datasets with a certain name from OMERO.AnnotatableWrapper.getFileAnnotations
(Client client) Returns the file annotationsBrowser.getFolder
(long id) Gets the folder with the specified ID from OMERO, fully loaded.Browser.getFolders()
Gets all folders available from OMERO.Browser.getFolders
(ExperimenterWrapper experimenter) Gets all the folders owned by a given user from OMERO.Returns the group which matches the name.Returns the image with the specified ID from OMERO.Browser.getImages()
Gets all images owned by the current user.abstract List<ImageWrapper>
Browser.getImages
(GenericAnnotationWrapper<?> annotation) Gets all images with the specified annotation from OMERO.Gets the images with the specified ids from OMEROGets all images with a certain name from OMERO.abstract List<ImageWrapper>
Gets all images with the name specified inside projects and datasets with the given names.Client.getImages
(GenericAnnotationWrapper<?> annotation) Gets all images with the specified annotation from OMERO.Gets all images with the name specified inside projects and datasets with the given names.abstract List<ImageWrapper>
Browser.getImagesKey
(String key) Deprecated.Gets all images with a certain keyClient.getImagesKey
(String key) Deprecated.Gets all images with a certain keyBrowser.getImagesLike
(String motif) Gets all images with a certain motif in their name from OMERO.abstract List<ImageWrapper>
Browser.getImagesPairKeyValue
(String key, String value) Deprecated.Gets all images with a certain key value pair from OMEROClient.getImagesPairKeyValue
(String key, String value) Deprecated.Gets all images with a certain key value pair from OMEROBrowser.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 OMEROAnnotatableWrapper.getKeyValuePairs
(Client client) Gets the List of key-value pairs associated to an object as a map (no duplicate key should exist).Browser.getMapAnnotation
(Long id) Gets a specific map annotation (key/value pairs) from the OMERO database.AnnotatableWrapper.getMapAnnotations
(Client client) Gets all map annotations linked to an object in OMERO, if possible.int
AnnotatableWrapper.getMyRating
(Client client) Returns the user rating for this object (averaged if multiple ratings are linked).Gets the plate with the specified id from OMERO.Browser.getPlates()
Gets all plates available from OMERO.Browser.getPlates
(ExperimenterWrapper experimenter) Gets all plates available from OMERO owned by a given user.Gets the plates with the specified ids from OMERO.Browser.getProject
(Long id) Gets the project with the specified id from OMERO.Browser.getProjects()
Gets all projects available from OMERO.Browser.getProjects
(ExperimenterWrapper experimenter) Gets all projects available from OMERO owned by a given user.Browser.getProjects
(Long... ids) Gets the projects with the specified ids from OMERO.Browser.getProjects
(String name) Gets all projects with a certain name from OMERO.AnnotatableWrapper.getRatings
(Client client) Returns all the ratings from all users for this object.Gets the screen with the specified id from OMERO.Browser.getScreens()
Gets all screens available from OMERO.Browser.getScreens
(ExperimenterWrapper experimenter) Gets all screens available from OMERO owned by a given user.Browser.getScreens
(Long... ids) Gets the screens with the specified ids from OMERO.Gets a certain table linked to the object in OMERO.Gets all tables linked to the object in OMERO.Gets all tags linked to an object in OMERO, if possible.Returns the user which matches the username.Gets the value from a Key-Value pair associated to the object.Gets the well with the specified id from OMERO.Browser.getWells()
Gets all wells available from OMERO.Browser.getWells
(ExperimenterWrapper experimenter) Gets all wells available from OMERO owned by a given user.Gets the wells with the specified ids from OMERO.<A extends GenericAnnotationWrapper<?>>
booleanChecks if a specific annotation is linked to the object.protected <A extends AnnotationData>
voidAttach anAnnotationData
to this object.<A extends GenericAnnotationWrapper<?>>
voidAdds an annotation to the object in OMERO, if possible (and if it's not a TagSet).void
AnnotatableWrapper.link
(Client client, GenericAnnotationWrapper<?>... annotations) Adds multiple annotations to the object in OMERO, if possible.void
AnnotatableWrapper.linkIfNotLinked
(Client client, GenericAnnotationWrapper<?>... annotations) Adds multiple annotations to the object in OMERO if they are not already linked.Browser.loadFolders
(Long... ids) Gets the folders with the specified IDs from OMERO (fully loaded).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.Saves an object on OMERO.void
GenericObjectWrapper.saveAndUpdate
(Client client) Saves and updates object.Client.sudoGetUser
(String username) Gets the client associated with the username in the parameters.<A extends GenericAnnotationWrapper<?>>
voidUnlinks the given annotation from the current object. -
Uses of AccessException in fr.igred.omero.annotations
Modifier and TypeMethodDescriptionvoid
Adds rows from an ImageJResultsTable
.void
TableWrapper.addRows
(Client client, ResultsTable results, Long imageId, List<? extends Roi> ijRois, String roiProperty) Adds rows from an ImageJResultsTable
.GenericAnnotationWrapper.getDatasets
(Client client) Gets all datasets with this annotation from OMERO.GenericAnnotationWrapper.getFolders
(Client client) Gets all folders with this annotation from OMERO.Gets all images 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
TagSetWrapper.link
(Client dm, TagAnnotationWrapper tag) Links a tag to this tag set.void
TagSetWrapper.link
(Client dm, TagAnnotationWrapper... tags) Links multiple tags to this tag set.void
Reloads the tag set from OMERO.ModifierConstructorDescriptionTableWrapper
(Client client, ResultsTable results, Long imageId, List<? extends Roi> ijRois) Constructor of the class TableWrapper.TableWrapper
(Client client, ResultsTable results, Long imageId, List<? extends Roi> ijRois, String roiProperty) Constructor of the class TableWrapper.TagAnnotationWrapper
(Client client, String name, String description) Constructor of the TagAnnotationWrapper class.TagSetWrapper
(Client dm, String name, String description) Constructor of the TagSetWrapper class. -
Uses of AccessException 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.handleOMEROException
(String message) 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.handleOMEROException
(Throwable throwable, String message) Checks the cause of an exception on OMERO and throws:ServiceException
if the cause was:SessionException
AuthenticationException
ResourceError
AccessException
if the cause was:SecurityViolation
Anything elseExceptionHandler.handleServerAndService
(String message) Checks if a ServerError or a DSOutOfService was thrown and handles the exception according to the cause.ExceptionHandler.handleServiceOrAccess
(String message) Deprecated.Throws:ServiceException
ifDSOutOfServiceException
was caughtAccessException
ifDSAccessException
was caughtstatic void
ExceptionHandler.handleServiceOrAccess
(Throwable t, String message) Deprecated.Helper method to convert an exception from: DSOutOfServiceException to ServiceException DSAccessException to AccessException -
Uses of AccessException in fr.igred.omero.meta
-
Uses of AccessException in fr.igred.omero.repository
Modifier and TypeMethodDescriptionProjectWrapper.addDataset
(Client client, DatasetWrapper dataset) Adds a dataset to the project in OMERO.ProjectWrapper.addDataset
(Client client, String name, String description) Creates a dataset and adds it to the project in OMERO.void
DatasetWrapper.addImage
(Client client, ImageWrapper image) Adds a single image to the dataset in OMEROvoid
DatasetWrapper.addImages
(Client client, List<? extends ImageWrapper> images) Adds a list of image to the dataset in OMERO.void
FolderWrapper.addImages
(Client client, ImageWrapper... images) Links images to the folder in OMERO.void
FolderWrapper.addROI
(Client client, ROIWrapper roi) Deprecated.Adds an ROI to the folder and associate it to the image id set(an image need to be associated)void
FolderWrapper.addROIs
(Client client, long imageId, ROIWrapper... rois) Adds ROIs to the folder and associate them to the provided image ID.void
FolderWrapper.addROIs
(Client client, ImageWrapper image, ROIWrapper... rois) Adds ROIs to the folder and associate them to the provided image.void
GenericRepositoryObjectWrapper.copyAnnotationLinks
(Client client, GenericRepositoryObjectWrapper<?> object) Copies annotation links from some other object to this one.Downloads the original files from the server.double[][][][][]
PixelsWrapper.getAllPixels
(Client client) Returns an array containing the value for each voxeldouble[][][][][]
PixelsWrapper.getAllPixels
(Client client, int[] xBounds, int[] yBounds, int[] cBounds, int[] zBounds, int[] tBounds) Returns an array containing the value for each voxel corresponding to the boundsImageWrapper.getChannelColor
(Client client, int index) Gets the current color of the channelImageWrapper.getChannelImportedColor
(Client client, int index) Gets the original color of the channelImageWrapper.getChannelName
(Client client, int index) Gets the name of the channel.ImageWrapper.getChannels
(Client client) Gets the image channels.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.ImageWrapper.getFolders
(Client client) Gets the list of folders linked to this image.Gets all images in the dataset available from OMERO.Gets all images in the dataset with a certain name from OMERO.Retrieves the images contained in this folder.Retrieves the images contained in the wells in the parent plate.Returns the images contained in the wells of this plate.Gets all images in the project available from OMERO.Gets all images in the project with a certain name from OMERO.Gets all images with a certain name from datasets with the specified name inside this project on OMERO.Retrieves the images contained in this screen.DatasetWrapper.getImagesKey
(Client client, String key) Deprecated.Gets all images in the dataset with a certain keyProjectWrapper.getImagesKey
(Client client, String key) Deprecated.Gets all images in the project with a certain keyDatasetWrapper.getImagesLike
(Client client, String motif) Gets all images in the dataset with a certain motif in their name from OMERO.ProjectWrapper.getImagesLike
(Client client, String motif) Gets all images in the project with a certain motif in their name from OMERO.DatasetWrapper.getImagesPairKeyValue
(Client client, String key, String value) Deprecated.Gets all images in the dataset with a certain key value pair from OMEROProjectWrapper.getImagesPairKeyValue
(Client client, String key, String value) Deprecated.Gets all images in the project with a certain key value pair from OMERO.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.getImagesWithKey
(Client client, String key) Gets all images in the dataset with a certain keyProjectWrapper.getImagesWithKey
(Client client, String key) Gets all images in the project with a certain keyDatasetWrapper.getImagesWithKeyValuePair
(Client client, String key, String value) Gets all images in the dataset with a certain key value pair from OMEROProjectWrapper.getImagesWithKeyValuePair
(Client client, String key, String value) Gets all images in the project with a certain key value pair from OMERO.ImageWrapper.getPlateAcquisitions
(Client client) Returns the plate acquisitions linked to this image.ScreenWrapper.getPlateAcquisitions
(Client client) Returns the plate acquisitions linked to this object, either directly, or through parents/children.WellSampleWrapper.getPlateAcquisitions
(Client client) Returns the plate acquisitions linked to the parent Well.WellWrapper.getPlateAcquisitions
(Client client) Refreshes this well and returns the plate acquisitions linked to it.Retrieves the plates containing this image.Returns the (updated) parent plate as a singleton list.Returns the plates containing the parent Well.DatasetWrapper.getProjects
(Client client) Retrieves the projects containing this dataset.ImageWrapper.getProjects
(Client client) Retrieves the projects containing this imagebyte[][][][]
PixelsWrapper.getRawPixels
(Client client, int bpp) Returns an array containing the raw values for each voxel for each planesbyte[][][][]
PixelsWrapper.getRawPixels
(Client client, int[] xBounds, int[] yBounds, int[] cBounds, int[] zBounds, int[] tBounds, int bpp) Returns an array containing the raw values for each voxel for each plane corresponding to the boundsImageWrapper.getROIFolders
(Client client) Gets the list of folders linked to the ROIs in this image.Deprecated.Gets the ROI contained in the folder associated with the image id set (an image need to be associated)Gets the ROIs contained in the folder associated with the provided image ID.FolderWrapper.getROIs
(Client client, ImageWrapper image) Gets the ROIs contained in the folder associated with the provided image.Gets all ROIs linked to the image in OMEROImageWrapper.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.Retrieves the well containing this well sampleRetrieves the wells containing this image.Retrieves the wells contained in the parent plate.Gets all wells in the plate available from OMERO.Retrieves the wells linked to this object, either directly, or through parents/children.ImageWrapper.getWellSamples
(Client client) Retrieves the well samples containing this image and updates them from OMERO.PlateAcquisitionWrapper.getWellSamples
(Browser browser) Retrieves the well samples for this plate acquisition from OMERO and updates the object.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.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.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.protected <A extends AnnotationData>
voidAdds an annotation to the object in OMERO, if possible.protected <A extends AnnotationData>
voidAdds a tag to the object in OMERO, if possible.void
PixelsWrapper.loadPlanesInfo
(Client client) Loads the planes information.void
Deprecated.Reloads the object from OMERO.void
ScreenWrapper.refresh
(GatewayWrapper client) Deprecated.Reloads the screen from OMERO.void
Reloads the dataset from OMERO.void
Reloads the folder from OMERO, to update all links.void
Deprecated.Reloads the folder from OMERO, to update all links.void
Reloads the object from OMERO.void
Reloads the image from OMERO.void
Reloads the plate acquisition from OMERO.void
Reloads the plate from OMERO.void
Reloads the project from OMERO.void
Reloads the screen from OMERO.void
Reloads the well sample from OMERO.void
Reloads the well from OMERO.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).void
ImageWrapper.saveROI
(Client client, ROIWrapper roi) Deprecated.Links a ROI to the image in OMEROImageWrapper.saveROIs
(Client client, ROIWrapper... rois) Links ROIs to the image in OMERO.ImageWrapper.saveROIs
(Client client, Collection<? extends ROIWrapper> rois) Links ROIs to the image in OMERO.ImageWrapper.toImagePlus
(Client client) Generates the ImagePlus from the ij library corresponding to the image from OMERO WARNING : you need to include the ij library to use this functionImageWrapper.toImagePlus
(Client client, int[] xBounds, int[] yBounds, int[] cBounds, int[] zBounds, int[] tBounds) Gets the imagePlus generated from the image from OMERO corresponding to the bound.ImageWrapper.toImagePlus
(Client client, ROIWrapper roi) Gets the imagePlus from the image generated from the ROI.void
FolderWrapper.unlinkAllROI
(Client client) Deprecated.Unlink all ROI, associated to the image set, in the folder.void
FolderWrapper.unlinkAllROIs
(Client client) Unlink all ROIs associated to this folder.void
FolderWrapper.unlinkAllROIs
(Client client, long imageId) Unlink all ROIs associated to the provided image ID from the folder.void
FolderWrapper.unlinkAllROIs
(Client client, ImageWrapper image) Unlink all ROIs associated to the provided image from the folder.void
FolderWrapper.unlinkROI
(Client client, ROIWrapper roi) Deprecated.Unlink an ROI, associated to the image set, in the folder.void
FolderWrapper.unlinkROIs
(Client client, ROIWrapper... rois) Unlink ROIs from the folder.void
FolderWrapper.unlinkROIs
(Client client, Collection<? extends ROIWrapper> rois) Unlink ROIs from the folder.ModifierConstructorDescriptionProjectWrapper
(Client client, String name, String description) Constructor of the ProjectWrapper class.ScreenWrapper
(Client client, String name, String description) Constructor of the ProjectWrapper class. -
Uses of AccessException in fr.igred.omero.roi
Modifier and TypeMethodDescription<A extends AnnotationData>
voidAttach anAnnotationData
to this object.protected <A extends AnnotationData>
voidAttach anAnnotationData
to this object.