public interface DataService
修飾子とタイプ | メソッドと説明 |
---|---|
void |
attachImageToDataset(omero.model.Dataset dataset,
omero.model.Image image)
Attach an image to a dataset.
|
void |
deleteObject(omero.model.IObject row)
Delete the object.
|
java.util.List<omero.model.IObject> |
findAllByQuery(java.lang.String myQuery)
Run the query against the iQuery interface.
|
omero.model.IObject |
findByQuery(java.lang.String myQuery)
Run the query against the iQuery interface.
|
java.util.List<omero.model.Dataset> |
getDatasets(java.util.List<java.lang.Long> ids,
boolean getLeaves)
Get the Datasets with id's passed as list in ids.
|
java.util.List<omero.model.Image> |
getImageByName(java.lang.String imageName)
Get the list of images with name containing imageName.
|
java.util.List<omero.model.Image> |
getImageFromDatasetByName(java.lang.Long datasetId,
java.lang.String imageName)
Get the images from the dataset with name, this can use wild cards.
|
java.util.List<omero.model.Image> |
getImages(omero.api.ContainerClass nodeType,
java.util.List<java.lang.Long> nodeIds)
Retrieves the images contained in containers specified by the
node type.
|
java.util.List<omero.model.Pixels> |
getPixelsFromImage(long imageId)
Get the pixels associated with the image.
|
omero.model.PixelsType |
getPixelType(java.lang.String type)
Get the pixelsType with type.
|
java.util.List<omero.model.PixelsType> |
getPixelTypes()
Get the PixelTypes available in the system.
|
java.util.List<omero.model.Project> |
getProjects(java.util.List<java.lang.Long> ids,
boolean getLeaves)
Get the projects in the users.
|
<T extends omero.model.IObject> |
saveAndReturnArray(java.util.List<omero.model.IObject> graph)
Save and return the array.
|
omero.model.IObject |
saveAndReturnObject(omero.model.IObject obj)
Save and return the Object.
|
void |
saveArray(java.util.List<omero.model.IObject> graph)
Save the array.
|
void |
saveObject(omero.model.IObject obj)
Save the object to the db .
|
omero.model.Pixels |
updatePixels(omero.model.Pixels object)
Update the pixels object in the server.
|
java.util.List<omero.model.Image> getImages(omero.api.ContainerClass nodeType, java.util.List<java.lang.Long> nodeIds) throws omero.ServerError
nodeType
- The type of container. Can either be Project,
Dataset, CategoryGroup, Category or Image.nodeIds
- Set of node ids..Set
of retrieved images.DSOutOfServiceException
- If the connection is broken, or logged inomero.ServerError
- If an error occurred while trying to
retrieve data from OMERO service.java.util.List<omero.model.Pixels> getPixelsFromImage(long imageId) throws omero.ServerError
imageId
- DSOutOfServiceException
- If the connection is broken, or logged inomero.ServerError
- If an error occurred while trying tojava.util.List<omero.model.Dataset> getDatasets(java.util.List<java.lang.Long> ids, boolean getLeaves) throws omero.ServerError
ids
- see above.getLeaves
- should image data be populated.DSOutOfServiceException
omero.ServerError
java.util.List<omero.model.Project> getProjects(java.util.List<java.lang.Long> ids, boolean getLeaves) throws omero.ServerError
ids
- The ids of the projects.getLeaves
- see above.DSOutOfServiceException
omero.ServerError
java.util.List<omero.model.PixelsType> getPixelTypes() throws omero.ServerError
DSOutOfServiceException
omero.ServerError
omero.model.PixelsType getPixelType(java.lang.String type) throws omero.ServerError
type
- see above.DSOutOfServiceException
omero.ServerError
java.util.List<omero.model.IObject> findAllByQuery(java.lang.String myQuery) throws omero.ServerError
myQuery
- the string containing the query.DSOutOfServiceException
omero.ServerError
omero.model.IObject findByQuery(java.lang.String myQuery) throws omero.ServerError
myQuery
- the string containing the query.DSOutOfServiceException
omero.ServerError
void attachImageToDataset(omero.model.Dataset dataset, omero.model.Image image) throws omero.ServerError
dataset
- image
- DSOutOfServiceException
omero.ServerError
java.util.List<omero.model.Image> getImageFromDatasetByName(java.lang.Long datasetId, java.lang.String imageName) throws omero.ServerError
datasetId
- see above.imageName
- see above.DSOutOfServiceException
omero.ServerError
java.util.List<omero.model.Image> getImageByName(java.lang.String imageName) throws omero.ServerError
imageName
- see above.DSOutOfServiceException
omero.ServerError
void saveObject(omero.model.IObject obj) throws omero.ServerError
obj
- see above.DSOutOfServiceException
omero.ServerError
omero.model.IObject saveAndReturnObject(omero.model.IObject obj) throws omero.ServerError
obj
- see above.DSOutOfServiceException
omero.ServerError
void saveArray(java.util.List<omero.model.IObject> graph) throws omero.ServerError
graph
- see above.DSOutOfServiceException
omero.ServerError
<T extends omero.model.IObject> java.util.List<T> saveAndReturnArray(java.util.List<omero.model.IObject> graph) throws omero.ServerError
T
- The Type to return.graph
- the objectDSOutOfServiceException
omero.ServerError
void deleteObject(omero.model.IObject row) throws omero.ServerError
row
- the object.(commonly a row in db)DSOutOfServiceException
omero.ServerError
omero.model.Pixels updatePixels(omero.model.Pixels object) throws omero.ServerError
object
- see above.DSOutOfServiceException
DSAccessException
omero.ServerError