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
|
void |
getOriginalMetadata(SecurityContext ctx,
long imageId,
java.io.File output)
Get the original metadata of an image and write it into a file
|
void |
getOriginalMetadata(SecurityContext ctx,
long imageId,
java.lang.StringBuffer buffer)
Get the original metadata of an image and write it a StringBuilder
|
java.util.List<java.lang.String> |
getOriginalPaths(SecurityContext ctx,
ImageData img)
Get the original file paths where the image was imported from.
|
java.util.List<PlaneInfoData> |
getPlaneInfos(SecurityContext ctx,
PixelsData pix)
Get the plane infos.
|
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
public java.util.List<PlaneInfoData> getPlaneInfos(SecurityContext ctx, PixelsData pix) throws DSOutOfServiceException, DSAccessException
ctx
- The SecurityContextpix
- The PixelsDataDSOutOfServiceException
DSAccessException
public void getOriginalMetadata(SecurityContext ctx, long imageId, java.io.File output) throws java.lang.Exception
ctx
- The SecurityContextimageId
- The image idoutput
- The output filejava.lang.Throwable
java.lang.Exception
public void getOriginalMetadata(SecurityContext ctx, long imageId, java.lang.StringBuffer buffer)
ctx
- The SecurityContextimageId
- The image idbuffer
- The bufferjava.lang.Throwable