Modifier and Type | Method and Description |
---|---|
java.util.List<AnnotationData> |
getAnnotations(SecurityContext ctx,
DataObject object)
Get all annotations for the given
DataObject |
java.util.List<AnnotationData> |
getAnnotations(SecurityContext ctx,
DataObject object,
java.util.List<java.lang.Class<? extends AnnotationData>> annotationTypes,
java.util.List<java.lang.Long> userIds)
Get the annotations for the given
DataObject |
java.util.Map<DataObject,java.util.List<AnnotationData>> |
getAnnotations(SecurityContext ctx,
java.util.List<? extends DataObject> objects,
java.util.List<java.lang.Class<? extends AnnotationData>> annotationTypes,
java.util.List<java.lang.Long> userIds)
Get the annotations for the given
DataObject s |
java.util.List<ChannelData> |
getChannelData(SecurityContext ctx,
long imageId)
Get the
ChannelData for a specific image |
ImageAcquisitionData |
getImageAcquisitionData(SecurityContext ctx,
long imageId)
Loads the
ImageAcquisitionData for a specific image |
java.util.List<java.lang.String> |
getManagedRepositoriesPaths(SecurityContext ctx,
ImageData img)
Get the file paths of the image in the managed repository
|
java.util.List<java.lang.String> |
getOriginalPaths(SecurityContext ctx,
ImageData img)
Get the original file paths where the image was imported from.
|
addPropertyChangeListener, clear, firePropertyChanged, firePropertyChanged, getFacility, logDebug, logError, logInfo, logWarn, removePropertyChangeListener
public ImageAcquisitionData getImageAcquisitionData(SecurityContext ctx, long imageId) throws DSOutOfServiceException, DSAccessException
ImageAcquisitionData
for a specific imagectx
- The SecurityContext
imageId
- The imageIdDSOutOfServiceException
- If the connection is broken, or not logged inDSAccessException
- If an error occurred while trying to retrieve data from OMERO
service.public java.util.List<ChannelData> getChannelData(SecurityContext ctx, long imageId) throws DSOutOfServiceException, DSAccessException
ChannelData
for a specific imagectx
- The SecurityContext
imageId
- The imageId to get the ChannelData forDSOutOfServiceException
- If the connection is broken, or not logged inDSAccessException
- If an error occurred while trying to retrieve data from OMERO
service.public java.util.List<AnnotationData> getAnnotations(SecurityContext ctx, DataObject object) throws DSOutOfServiceException, DSAccessException
DataObject
ctx
- The SecurityContext
object
- The DataObject
to load the annotations forDSOutOfServiceException
- If the connection is broken, or not logged inDSAccessException
- If an error occurred while trying to retrieve data from OMERO
service.public java.util.List<AnnotationData> getAnnotations(SecurityContext ctx, DataObject object, java.util.List<java.lang.Class<? extends AnnotationData>> annotationTypes, java.util.List<java.lang.Long> userIds) throws DSOutOfServiceException, DSAccessException
DataObject
ctx
- The SecurityContext
object
- The DataObject
to load the annotations forannotationTypes
- The type of annotations to load (can be null
)userIds
- Only load annotations of certain users (can be
null
, i. e. all users)DSOutOfServiceException
- If the connection is broken, or not logged inDSAccessException
- If an error occurred while trying to retrieve data from OMERO
service.public java.util.Map<DataObject,java.util.List<AnnotationData>> getAnnotations(SecurityContext ctx, java.util.List<? extends DataObject> objects, java.util.List<java.lang.Class<? extends AnnotationData>> annotationTypes, java.util.List<java.lang.Long> userIds) throws DSOutOfServiceException, DSAccessException
DataObject
sctx
- The SecurityContext
objects
- The DataObject
s to load the annotations for (have to
be all of the same type)annotationTypes
- The type of annotations to load (can be null
)userIds
- Only load annotations of certain users (can be
null
, i. e. all users)AnnotationData
mapped to the DataObject
they are attached to.DSOutOfServiceException
- If the connection is broken, or not logged inDSAccessException
- If an error occurred while trying to retrieve data from OMERO
service.public java.util.List<java.lang.String> getManagedRepositoriesPaths(SecurityContext ctx, ImageData img) throws DSOutOfServiceException, DSAccessException
ctx
- The SecurityContextimg
- The imageDSOutOfServiceException
DSAccessException
public java.util.List<java.lang.String> getOriginalPaths(SecurityContext ctx, ImageData img) throws DSOutOfServiceException, DSAccessException
ctx
- The SecurityContextimg
- The imageDSOutOfServiceException
DSAccessException