Package fr.igred.omero
Interface ContainerLinked
-
- All Superinterfaces:
ImageLinked,RemoteObject
- All Known Subinterfaces:
Annotation,Dataset,FileAnnotation,Image,MapAnnotation,Project,RatingAnnotation,TagAnnotation,TextualAnnotation
- All Known Implementing Classes:
AnnotationWrapper,DatasetWrapper,FileAnnotationWrapper,ImageWrapper,MapAnnotationWrapper,ProjectWrapper,RatingAnnotationWrapper,TagAnnotationWrapper,TextualAnnotationWrapper
public interface ContainerLinked extends ImageLinked
Interface to handle objects that can be linked to containers (projects, datasets) on OMERO.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<Dataset>getDatasets(Browser browser)Retrieves the datasets linked to this object, either directly, or through parents/children.java.util.List<Project>getProjects(Browser browser)Retrieves the projects linked to this object, either directly, or through parents/children.-
Methods inherited from interface fr.igred.omero.ImageLinked
getImages
-
Methods inherited from interface fr.igred.omero.RemoteObject
asDataObject, canAnnotate, canChgrp, canChown, canDelete, canEdit, canLink, getCreated, getGroupId, getId, getOwner, saveAndUpdate
-
-
-
-
Method Detail
-
getProjects
java.util.List<Project> getProjects(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException, ServerException
Retrieves the projects linked to this object, either directly, or through parents/children.- Parameters:
browser- The data browser.- Returns:
- See above.
- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.ServerException- Server error.
-
getDatasets
java.util.List<Dataset> getDatasets(Browser browser) throws ServiceException, AccessException, java.util.concurrent.ExecutionException, ServerException
Retrieves the datasets linked to this object, either directly, or through parents/children.- Parameters:
browser- The data browser.- Returns:
- See above.
- Throws:
ServiceException- Cannot connect to OMERO.AccessException- Cannot access data.java.util.concurrent.ExecutionException- A Facility can't be retrieved or instantiated.ServerException- Server error.
-
-