|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataService
Method Summary | ||
---|---|---|
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. |
|
List<omero.model.IObject> |
findAllByQuery(String myQuery)
Run the query against the iQuery interface. |
|
omero.model.IObject |
findByQuery(String myQuery)
Run the query against the iQuery interface. |
|
List<omero.model.Dataset> |
getDatasets(List<Long> ids,
boolean getLeaves)
Get the Datasets with id's passed as list in ids. |
|
List<omero.model.Image> |
getImageByName(String imageName)
Get the list of images with name containing imageName. |
|
List<omero.model.Image> |
getImageFromDatasetByName(Long datasetId,
String imageName)
Get the images from the dataset with name, this can use wild cards. |
|
List<omero.model.Image> |
getImages(omero.api.ContainerClass nodeType,
List<Long> nodeIds)
Retrieves the images contained in containers specified by the node type. |
|
List<omero.model.Pixels> |
getPixelsFromImage(long imageId)
Get the pixels associated with the image. |
|
omero.model.PixelsType |
getPixelType(String type)
Get the pixelsType with type. |
|
List<omero.model.PixelsType> |
getPixelTypes()
Get the PixelTypes available in the system. |
|
List<omero.model.Project> |
getProjects(List<Long> ids,
boolean getLeaves)
Get the projects in the users. |
|
|
saveAndReturnArray(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(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. |
Method Detail |
---|
List<omero.model.Image> getImages(omero.api.ContainerClass nodeType, List<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 in
omero.ServerError
- If an error occurred while trying to
retrieve data from OMERO service.List<omero.model.Pixels> getPixelsFromImage(long imageId) throws omero.ServerError
imageId
-
DSOutOfServiceException
- If the connection is broken, or logged in
omero.ServerError
- If an error occurred while trying toList<omero.model.Dataset> getDatasets(List<Long> ids, boolean getLeaves) throws omero.ServerError
ids
- see above.getLeaves
- should image data be populated.
DSOutOfServiceException
omero.ServerError
List<omero.model.Project> getProjects(List<Long> ids, boolean getLeaves) throws omero.ServerError
ids
- The ids of the users.getLeaves
- see above.
DSOutOfServiceException
omero.ServerError
List<omero.model.PixelsType> getPixelTypes() throws omero.ServerError
DSOutOfServiceException
omero.ServerError
omero.model.PixelsType getPixelType(String type) throws omero.ServerError
type
- see above.
DSOutOfServiceException
omero.ServerError
List<omero.model.IObject> findAllByQuery(String myQuery) throws omero.ServerError
myQuery
- the string containing the query.
DSOutOfServiceException
omero.ServerError
omero.model.IObject findByQuery(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
List<omero.model.Image> getImageFromDatasetByName(Long datasetId, String imageName) throws omero.ServerError
datasetId
- see above.imageName
- see above.
DSOutOfServiceException
omero.ServerError
List<omero.model.Image> getImageByName(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(List<omero.model.IObject> graph) throws omero.ServerError
graph
- see above.
DSOutOfServiceException
omero.ServerError
<T extends omero.model.IObject> List<T> saveAndReturnArray(List<omero.model.IObject> graph) throws omero.ServerError
T
- The Type to return.graph
- the object
DSOutOfServiceException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.