Uses of Class
fr.igred.omero.exception.ServiceException
-
Packages that use ServiceException 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 ServiceException in fr.igred.omero
Methods in fr.igred.omero that throw ServiceException Modifier and Type Method Description void
GatewayWrapper. connect(String hostname, int port, String sessionId)
Connects to OMERO using a session ID.void
GatewayWrapper. connect(String hostname, int port, String username, char[] password)
Connects the user to OMERO.void
GatewayWrapper. connect(String hostname, int port, String username, char[] password, Long groupID)
Connects the user to OMERO.void
GatewayWrapper. connect(LoginCredentials cred)
Connects the user to OMERO.void
Client. delete(TableWrapper table)
Deletes a table from OMEROvoid
Client. delete(GenericObjectWrapper<?> object)
Deletes an object from OMERO.protected static void
GenericObjectWrapper. delete(Client client, IObject object)
Deletes an object from OMERO.void
GatewayWrapper. deleteFile(Long id)
Deletes a file from OMEROList<IObject>
GatewayWrapper. findByQuery(String query)
Finds objects on OMERO through a database query.DatasetWrapper
Client. getDataset(Long id)
Gets the dataset with the specified id from OMERO.List<DatasetWrapper>
Client. getDatasets()
Gets all datasets available from OMERO.List<DatasetWrapper>
Client. getDatasets(Long... ids)
Gets the datasets with the specified ids from OMERO.List<DatasetWrapper>
Client. getDatasets(String name)
Gets all datasets with a certain name from OMERO.GroupWrapper
Client. getGroup(String groupName)
Returns the group which matches the name.ImageWrapper
Client. getImage(Long id)
Returns an ImageWrapper that contains the image with the specified id from OMERO.List<ImageWrapper>
Client. getImages()
Gets all images owned by the current user.List<ImageWrapper>
Client. getImages(Long... ids)
Gets the images with the specified ids from OMEROList<ImageWrapper>
Client. getImages(String name)
Gets all images with a certain from OMERO.List<ImageWrapper>
Client. getImagesKey(String key)
Gets all images with a certain keyList<ImageWrapper>
Client. getImagesLike(String motif)
Gets all images with a certain motif in their name from OMERO.List<ImageWrapper>
Client. getImagesPairKeyValue(String key, String value)
Gets all images with a certain key value pair from OMEROList<ImageWrapper>
Client. getImagesTagged(TagAnnotationWrapper tag)
Gets all images tagged with a specified tag from OMERO.List<ImageWrapper>
Client. getImagesTagged(Long tagId)
Gets all images tagged with a specified tag from OMERO.OMEROMetadataStoreClient
GatewayWrapper. getImportStore()
Creates or recycles the import store.PlateWrapper
Client. getPlate(Long id)
Gets the plate with the specified id from OMERO.List<PlateWrapper>
Client. getPlates()
Gets all plates available from OMERO.List<PlateWrapper>
Client. getPlates(Long... ids)
Gets the plates with the specified ids from OMERO.ProjectWrapper
Client. getProject(Long id)
Gets the project with the specified id from OMERO.List<ProjectWrapper>
Client. getProjects()
Gets all projects available from OMERO.List<ProjectWrapper>
Client. getProjects(Long... ids)
Gets the projects with the specified ids from OMERO.List<ProjectWrapper>
Client. getProjects(String name)
Gets all projects with a certain name from OMERO.ScreenWrapper
Client. getScreen(Long id)
Gets the screen with the specified id from OMERO.List<ScreenWrapper>
Client. getScreens()
Gets all screens available from OMERO.List<ScreenWrapper>
Client. getScreens(Long... ids)
Gets the screens with the specified ids from OMERO.String
GatewayWrapper. getSessionId()
Get the ID of the current sessionTagAnnotationWrapper
Client. getTag(Long id)
Gets a specific tag from the OMERO databaseList<TagAnnotationWrapper>
Client. getTags()
Gets the list of TagAnnotationWrapper available to the userList<TagAnnotationWrapper>
Client. getTags(String name)
Gets the list of TagAnnotationWrapper with the specified name available to the userExperimenterWrapper
Client. getUser(String username)
Returns the user which matches the username.WellWrapper
Client. getWell(Long id)
Gets the well with the specified id from OMERO.List<WellWrapper>
Client. getWells()
Gets all wells available from OMERO.List<WellWrapper>
Client. getWells(Long... ids)
Gets the wells with the specified ids from OMERO.IObject
GatewayWrapper. save(IObject object)
Saves an object on OMERO.void
GenericObjectWrapper. saveAndUpdate(Client client)
Saves and updates object.Client
Client. sudoGetUser(String username)
Gets the client associated with the username in the parameters. -
Uses of ServiceException in fr.igred.omero.annotations
Methods in fr.igred.omero.annotations that throw ServiceException Modifier and Type Method Description void
TableWrapper. addRows(Client client, ResultsTable results, Long imageId, List<Roi> ijRois)
Adds rows from an ImageJResultsTable
.void
TableWrapper. addRows(Client client, ResultsTable results, Long imageId, List<Roi> ijRois, String roiProperty)
Adds rows from an ImageJResultsTable
.List<DatasetWrapper>
GenericAnnotationWrapper. getDatasets(Client client)
Gets all datasets with this tag from OMERO.File
FileAnnotationWrapper. getFile(Client client, String path)
List<ImageWrapper>
GenericAnnotationWrapper. getImages(Client client)
Gets all images with this tag from OMERO.List<PlateWrapper>
GenericAnnotationWrapper. getPlates(Client client)
Gets all plates with this tag from OMERO.List<ProjectWrapper>
GenericAnnotationWrapper. getProjects(Client client)
Gets all projects with this tag from OMERO.List<ScreenWrapper>
GenericAnnotationWrapper. getScreens(Client client)
Gets all screens with this tag from OMERO.List<WellWrapper>
GenericAnnotationWrapper. getWells(Client client)
Gets all wells with this tag from OMERO.Constructors in fr.igred.omero.annotations that throw ServiceException Constructor Description TableWrapper(Client client, ResultsTable results, Long imageId, List<Roi> ijRois)
Constructor of the class TableWrapper.TableWrapper(Client client, ResultsTable results, Long imageId, List<Roi> ijRois, String roiProperty)
Constructor of the class TableWrapper.TagAnnotationWrapper(Client client, String name, String description)
Constructor of the TagAnnotationWrapper class. -
Uses of ServiceException in fr.igred.omero.exception
Methods in fr.igred.omero.exception that throw ServiceException Modifier and Type Method Description static void
ExceptionHandler. handleException(Throwable t, String message)
Helper method to convert an exception from: DSAccessException to AccessException DSOutOfServiceException to ServiceException ServerError to OMEROServerErrorstatic void
ExceptionHandler. handleServiceOrAccess(Throwable t, String message)
Helper method to convert an exception from: DSOutOfServiceException to ServiceException DSAccessException to AccessExceptionstatic void
ExceptionHandler. handleServiceOrServer(Throwable t, String message)
Helper method to convert an exception from: DSOutOfServiceException to ServiceException ServerError to OMEROServerError -
Uses of ServiceException in fr.igred.omero.repository
Methods in fr.igred.omero.repository that throw ServiceException Modifier and Type Method Description DatasetWrapper
ProjectWrapper. addDataset(Client client, DatasetWrapper dataset)
Adds a dataset to the project in OMERO.DatasetWrapper
ProjectWrapper. addDataset(Client client, String name, String description)
Adds a dataset 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
GenericRepositoryObjectWrapper. addMapAnnotation(Client client, MapAnnotationWrapper mapAnnotation)
Adds a List of Key-Value pair to the objectvoid
GenericRepositoryObjectWrapper. addPairKeyValue(Client client, String key, String value)
Adds a single Key-Value pair to the object.void
FolderWrapper. addROI(Client client, ROIWrapper roi)
Add an ROI to the folder and associate it to the image id set(an image need to be associated)void
GenericRepositoryObjectWrapper. addTable(Client client, TableWrapper table)
Adds a table to the object in OMEROprotected void
FolderWrapper. addTag(Client client, TagAnnotationData tagData)
Private function.void
GenericRepositoryObjectWrapper. addTag(Client client, TagAnnotationWrapper tag)
Adds a tag to the object in OMERO, if possible.void
GenericRepositoryObjectWrapper. addTag(Client client, Long id)
Adds multiple tags to the object in OMERO, if possible.void
GenericRepositoryObjectWrapper. addTag(Client client, String name, String description)
Adds a newly created tag to the object in OMERO, if possible.protected void
GenericRepositoryObjectWrapper. addTag(Client client, TagAnnotationData tagData)
Protected function.protected void
PlateAcquisitionWrapper. addTag(Client client, TagAnnotationData tagData)
Protected function.void
GenericRepositoryObjectWrapper. addTags(Client client, TagAnnotationWrapper... tags)
Adds multiple tag to the object in OMERO, if possible.void
GenericRepositoryObjectWrapper. addTags(Client client, Long... ids)
Adds multiple tags by ID to the object in OMERO, if possible.List<File>
ImageWrapper. download(Client client, String path)
Downloads the original files from the server.Color
ImageWrapper. getChannelColor(Client client, int index)
Gets the current color of the channelColor
ImageWrapper. getChannelImportedColor(Client client, int index)
Gets the original color of the channelString
ImageWrapper. getChannelName(Client client, int index)
Gets the name of the channelList<ChannelWrapper>
ImageWrapper. getChannels(Client client)
Gets the image channelsList<FileAnnotationWrapper>
GenericRepositoryObjectWrapper. getFileAnnotations(Client client)
Returns the file annotationsFolderWrapper
ImageWrapper. getFolder(Client client, Long folderId)
Gets the folder with the specified id on OMERO.List<FolderWrapper>
ImageWrapper. getFolders(Client client)
Gets the list of Folder linked to the image Associate the folder to the imageList<ImageWrapper>
DatasetWrapper. getImages(Client client)
Gets all images in the dataset available from OMERO.List<ImageWrapper>
DatasetWrapper. getImages(Client client, String name)
Gets all images in the dataset with a certain from OMERO.List<ImageWrapper>
ProjectWrapper. getImages(Client client)
Gets all images in the project available from OMERO.List<ImageWrapper>
ProjectWrapper. getImages(Client client, String name)
Gets all images in the project with a certain from OMERO.List<ImageWrapper>
DatasetWrapper. getImagesKey(Client client, String key)
Gets all images in the dataset with a certain keyList<ImageWrapper>
ProjectWrapper. getImagesKey(Client client, String key)
Gets all images in the project with a certain keyList<ImageWrapper>
DatasetWrapper. getImagesLike(Client client, String motif)
Gets all images in the dataset with a certain motif in their name from OMERO.List<ImageWrapper>
ProjectWrapper. getImagesLike(Client client, String motif)
Gets all images in the project with a certain motif in their name from OMERO.List<ImageWrapper>
DatasetWrapper. getImagesPairKeyValue(Client client, String key, String value)
Gets all images in the dataset with a certain key value pair from OMEROList<ImageWrapper>
ProjectWrapper. getImagesPairKeyValue(Client client, String key, String value)
Gets all images in the project with a certain key value pair from OMERO.List<ImageWrapper>
DatasetWrapper. getImagesTagged(Client client, TagAnnotationWrapper tag)
Gets all images in the dataset tagged with a specified tag from OMERO.List<ImageWrapper>
DatasetWrapper. getImagesTagged(Client client, Long tagId)
Gets all images in the dataset tagged with a specified tag from OMERO.List<ImageWrapper>
ProjectWrapper. getImagesTagged(Client client, TagAnnotationWrapper tag)
Gets all images in the project tagged with a specified tag from OMERO.List<ImageWrapper>
ProjectWrapper. getImagesTagged(Client client, Long tagId)
Gets all images in the project tagged with a specified tag from OMERO.Map<String,String>
GenericRepositoryObjectWrapper. getKeyValuePairs(Client client)
Gets the List of NamedValue (Key-Value pair) associated to an object.List<ROIWrapper>
FolderWrapper. getROIs(Client client)
Gets the ROI contained in the folder associated with the image id set (an image need to be associated)List<ROIWrapper>
ImageWrapper. getROIs(Client client)
Gets all ROIs linked to the image in OMEROTableWrapper
GenericRepositoryObjectWrapper. getTable(Client client, Long fileId)
Gets a certain table linked to the object in OMEROList<TableWrapper>
GenericRepositoryObjectWrapper. getTables(Client client)
Gets all tables linked to the object in OMERO.List<TagAnnotationWrapper>
GenericRepositoryObjectWrapper. getTags(Client client)
Gets all tag linked to an object in OMERO, if possible.BufferedImage
ImageWrapper. getThumbnail(Client client, int size)
Retrieves the image thumbnail of the specified size.String
GenericRepositoryObjectWrapper. getValue(Client client, String key)
Gets the value from a Key-Value pair associated to the objectList<WellWrapper>
PlateWrapper. getWells(Client client)
Gets all wells in the plate available from OMERO.List<Long>
DatasetWrapper. importImage(Client client, String path)
Imports one image candidate 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.void
DatasetWrapper. refresh(Client client)
Refreshes the wrapped dataset.void
ProjectWrapper. refresh(Client client)
Refreshes the wrapped project.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.protected void
GenericRepositoryObjectWrapper. removeLink(Client client, String linkType, long childId)
Removes the link of the given type with the given child ID.void
ImageWrapper. saveROI(Client client, ROIWrapper roi)
Links a ROI to the image in OMEROImagePlus
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 functionImagePlus
ImageWrapper. toImagePlus(Client client, int[] xBound, int[] yBound, int[] cBound, int[] zBound, int[] tBound)
Gets the imagePlus generated from the image from OMERO corresponding to the boundImagePlus
ImageWrapper. toImagePlus(Client client, ROIWrapper roi)
Gets the imagePlus from the image generated from the ROI.<A extends GenericAnnotationWrapper<?>>
voidGenericRepositoryObjectWrapper. unlink(Client client, A annotation)
Unlinks the given annotation from the current object.void
FolderWrapper. unlinkAllROI(Client client)
Unlink all ROI, associated to the image set, in the folder.void
FolderWrapper. unlinkROI(Client client, ROIWrapper roi)
Unlink an ROI, associated to the image set, in the folder.Constructors in fr.igred.omero.repository that throw ServiceException Constructor Description FolderWrapper(Client client, String name)
Constructor of the FolderWrapper class.ProjectWrapper(Client client, String name, String description)
Constructor of the ProjectWrapper class. -
Uses of ServiceException in fr.igred.omero.roi
Methods in fr.igred.omero.roi that throw ServiceException Modifier and Type Method Description void
ROIWrapper. saveROI(Client client)
Saves the ROI.
-