public class BrowseFacility extends Facility
| Modifier and Type | Method and Description |
|---|---|
omero.model.IObject |
findIObject(SecurityContext ctx,
omero.model.IObject o)
Retrieves an updated version of the specified object.
|
omero.model.IObject |
findIObject(SecurityContext ctx,
String klassName,
long id)
Retrieves an updated version of the specified object.
|
omero.model.IObject |
findIObject(SecurityContext ctx,
String klassName,
long id,
boolean allGroups)
Retrieves an updated version of the specified object.
|
<T extends DataObject> |
findObject(SecurityContext ctx,
Class<T> klass,
long id)
Retrieves an updated version of the specified object.
|
<T extends DataObject> |
findObject(SecurityContext ctx,
Class<T> klass,
long id,
boolean allGroups)
Retrieves an updated version of the specified object.
|
DataObject |
findObject(SecurityContext ctx,
String pojoName,
long id)
Retrieves an updated version of the specified object.
|
DataObject |
findObject(SecurityContext ctx,
String pojoName,
long id,
boolean allGroups)
Retrieves an updated version of the specified object.
|
Set<GroupData> |
getAvailableGroups(SecurityContext ctx,
ExperimenterData user)
Retrieves the groups visible by the current experimenter.
|
Collection<DatasetData> |
getDatasets(SecurityContext ctx)
Loads all datasets
|
Collection<DatasetData> |
getDatasets(SecurityContext ctx,
Collection<Long> ids)
Loads the datasets with the given ids
|
Collection<DatasetData> |
getDatasets(SecurityContext ctx,
long ownerId)
Loads the datasets for a particular user
|
Collection<DatasetData> |
getDatasets(SecurityContext ctx,
long ownerId,
Collection<Long> ids)
Loads the datasets with the given ids which belong to a particular user
|
Collection<FolderData> |
getFolders(SecurityContext ctx)
Get all folders the logged in user has access to.
|
Collection<FolderData> |
getFolders(SecurityContext ctx,
Collection<Long> ids)
Get the folders for the given folder ids.
|
Collection<FolderData> |
getFolders(SecurityContext ctx,
long userId)
Get the folders which belong to the given user.
|
Collection<DataObject> |
getHierarchy(SecurityContext ctx,
Class rootType,
List<Long> rootIDs,
omero.sys.Parameters options)
Retrieves hierarchy trees rooted by a given node.
|
Collection<DataObject> |
getHierarchy(SecurityContext ctx,
Class rootType,
long userId)
Retrieves hierarchy trees rooted by a given node.
|
ImageData |
getImage(SecurityContext ctx,
long id)
Loads a image
|
ImageData |
getImage(SecurityContext ctx,
long id,
ParametersI params)
Loads a image
|
Collection<ImageData> |
getImages(SecurityContext ctx,
Collection<Long> ids)
Loads the images with the given ids
|
Collection<ImageData> |
getImages(SecurityContext ctx,
Collection<Long> ids,
ParametersI params)
Loads the images with the given ids
|
Collection<ImageData> |
getImages(SecurityContext ctx,
long ownerId,
Collection<Long> ids)
Loads the images for a particular user
|
Collection<ImageData> |
getImagesForDatasets(SecurityContext ctx,
Collection<Long> datasetIds)
Load all images belonging to particular datasets
|
Collection<ImageData> |
getImagesForProjects(SecurityContext ctx,
Collection<Long> projectIds)
Load all images belonging to particular projects
|
Collection<String> |
getLookupTables(SecurityContext ctx)
Get the available lookup tables
|
Collection<ImageData> |
getOrphanedImages(SecurityContext ctx,
long userID)
Get orphaned images for a certain user
|
Collection<PlateData> |
getPlates(SecurityContext ctx)
Loads all plates
|
Collection<PlateData> |
getPlates(SecurityContext ctx,
Collection<Long> ids)
Loads the plates with the given ids
|
Collection<PlateData> |
getPlates(SecurityContext ctx,
long ownerId)
Loads the plates for a particular user
|
Collection<PlateData> |
getPlates(SecurityContext ctx,
long ownerId,
Collection<Long> ids)
Loads the plates with the given ids which belong to a particular user
|
Collection<ProjectData> |
getProjects(SecurityContext ctx)
Get all projects
|
Collection<ProjectData> |
getProjects(SecurityContext ctx,
Collection<Long> ids)
Get the projects for the given project ids
|
Collection<ProjectData> |
getProjects(SecurityContext ctx,
long ownerId)
Get the projects of a certain user
|
Collection<ProjectData> |
getProjects(SecurityContext ctx,
long ownerId,
Collection<Long> ids)
Get the projects for the given project ids which belong to a certain user
|
Collection<ScreenData> |
getScreens(SecurityContext ctx)
Loads all screens
|
Collection<ScreenData> |
getScreens(SecurityContext ctx,
Collection<Long> ids)
Loads the screens with the given ids
|
Collection<ScreenData> |
getScreens(SecurityContext ctx,
long ownerId)
Loads the screens for a particular user
|
Collection<ScreenData> |
getScreens(SecurityContext ctx,
long ownerId,
Collection<Long> ids)
Loads the screens with the given ids which belong to a particular user
|
Collection<ImageData> |
getUserImages(SecurityContext ctx)
Loads all images of the logged in user
|
Collection<WellData> |
getWells(SecurityContext ctx,
Collection<Long> wellIds)
Loads the wells
|
Collection<WellData> |
getWells(SecurityContext ctx,
long plateId)
Loads the wells for a given plate
|
Collection<FolderData> |
loadFolders(SecurityContext ctx,
Collection<Long> ids)
Loads the folders for the given Ids.
|
Set<DataObject> |
loadHierarchy(SecurityContext ctx,
Class rootType,
List<Long> rootIDs,
omero.sys.Parameters options)
Deprecated.
Please use the more generic method
getHierarchy(SecurityContext, Class, long) |
Set<DataObject> |
loadHierarchy(SecurityContext ctx,
Class rootType,
long userId)
Deprecated.
Please use the more generic method
getHierarchy(SecurityContext, Class, List, Parameters) |
addPropertyChangeListener, clear, firePropertyChanged, firePropertyChanged, getFacility, logDebug, logError, logInfo, logWarn, removePropertyChangeListenerpublic Collection<DataObject> getHierarchy(SecurityContext ctx, Class rootType, long userId) throws DSOutOfServiceException, DSAccessException
ctx - The security context.rootType - The type of node to handle.userId - The user's to retrieve the data to handle.DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<DataObject> getHierarchy(SecurityContext ctx, Class rootType, List<Long> rootIDs, omero.sys.Parameters options) throws DSOutOfServiceException, DSAccessException
ctx - The security context.rootType - The type of node to handle.rootIDs - The node's id.options - The retrieval options.DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Set<DataObject> loadHierarchy(SecurityContext ctx, Class rootType, long userId) throws DSOutOfServiceException
getHierarchy(SecurityContext, Class, List, Parameters)ctx - The security context.rootType - The type of node to handle.userId - The user's to retrieve the data to handle.DSOutOfServiceException - If the connection is broken, or not logged inpublic Set<DataObject> loadHierarchy(SecurityContext ctx, Class rootType, List<Long> rootIDs, omero.sys.Parameters options) throws DSOutOfServiceException
getHierarchy(SecurityContext, Class, long)ctx - The security context.rootType - The type of node to handle.rootIDs - The node's id.options - The retrieval options.DSOutOfServiceException - If the connection is broken, or not logged inpublic <T extends DataObject> T findObject(SecurityContext ctx, Class<T> klass, long id) throws DSOutOfServiceException, DSAccessException
ctx - The security context.klass - The type of object to retrieve.id - The object's id.DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public <T extends DataObject> T findObject(SecurityContext ctx, Class<T> klass, long id, boolean allGroups) throws DSOutOfServiceException, DSAccessException
ctx - The security context.klass - The type of object to retrieve.id - The object's id.allGroups - Pass true to take all groups into account,
false to only use ctx's groupnull it doesn't exist).DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public omero.model.IObject findIObject(SecurityContext ctx, String klassName, long id) throws DSOutOfServiceException, DSAccessException
ctx - The security context.klassName - The type of object to retrieve.id - The object's id.DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public DataObject findObject(SecurityContext ctx, String pojoName, long id) throws DSOutOfServiceException, DSAccessException
ctx - The security context.pojoName - The type of object to retrieve. (Either the simple or the full
class name, e. g. omero.gateway.model.DatasetData or
DatasetData)id - The object's id.DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public omero.model.IObject findIObject(SecurityContext ctx, String klassName, long id, boolean allGroups) throws DSOutOfServiceException, DSAccessException
ctx - The security context.klassName - The type of object to retrieve.id - The object's id.allGroups - Pass true to look for all groupsDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public DataObject findObject(SecurityContext ctx, String pojoName, long id, boolean allGroups) throws DSOutOfServiceException, DSAccessException
ctx - The security context.pojoName - The type of object to retrieve. (Either the simple or the full
class name, e. g. omero.gateway.model.DatasetData or
DatasetData)id - The object's id.allGroups - Pass true to look for all groupsnull it doesn't exist).DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public omero.model.IObject findIObject(SecurityContext ctx, omero.model.IObject o) throws DSOutOfServiceException, DSAccessException
ctx - The security context.o - The object to retrieve.null if the object
hasn't been persisted previouslyDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Set<GroupData> getAvailableGroups(SecurityContext ctx, ExperimenterData user) throws DSOutOfServiceException, DSAccessException
ctx - The security context.user - The user currently logged in.DSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ProjectData> getProjects(SecurityContext ctx) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextProjectDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ProjectData> getProjects(SecurityContext ctx, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextids - The ids of the projects to fetchProjectDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ProjectData> getProjects(SecurityContext ctx, long ownerId) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getProjects(SecurityContext) )ProjectDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ProjectData> getProjects(SecurityContext ctx, long ownerId, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getProjects(SecurityContext, Collection) )ids - The ids of the projects to fetchProjectDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<DatasetData> getDatasets(SecurityContext ctx) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextDatasetDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<DatasetData> getDatasets(SecurityContext ctx, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextids - The ids of the datasets to loadDatasetDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<DatasetData> getDatasets(SecurityContext ctx, long ownerId) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getDatasets(SecurityContext) )DatasetDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<DatasetData> getDatasets(SecurityContext ctx, long ownerId, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getDatasets(SecurityContext, Collection) )ids - The ids of the datasets to loadDatasetDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ScreenData> getScreens(SecurityContext ctx) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextScreenDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ScreenData> getScreens(SecurityContext ctx, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextids - The ids of the screens to loadScreenDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ScreenData> getScreens(SecurityContext ctx, long ownerId) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getScreens(SecurityContext) )ScreenDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ScreenData> getScreens(SecurityContext ctx, long ownerId, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getScreens(SecurityContext, Collection) )ids - The ids of the screens to loadScreenDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<PlateData> getPlates(SecurityContext ctx) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextPlateDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<PlateData> getPlates(SecurityContext ctx, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextids - The ids of the screens to loadPlateDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<PlateData> getPlates(SecurityContext ctx, long ownerId) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getPlates(SecurityContext) )PlateDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<PlateData> getPlates(SecurityContext ctx, long ownerId, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the user (if <0 see
getPlates(SecurityContext, Collection) )ids - The ids of the plates to loadPlateDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<WellData> getWells(SecurityContext ctx, Collection<Long> wellIds) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextwellIds - The ids of the wells to loadWellDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<WellData> getWells(SecurityContext ctx, long plateId) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextplateId - The ID of the plateWellDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ImageData> getUserImages(SecurityContext ctx) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextImageDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public ImageData getImage(SecurityContext ctx, long id) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextid - The ids of the image to loadImageDataDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public ImageData getImage(SecurityContext ctx, long id, ParametersI params) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextid - The ids of the image to loadparams - Custom parameters, can be nullImageDataDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ImageData> getImages(SecurityContext ctx, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextids - The ids of the images to loadImageDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ImageData> getImages(SecurityContext ctx, Collection<Long> ids, ParametersI params) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextids - The ids of the images to loadparams - Custom parameters, can be nullImageDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ImageData> getOrphanedImages(SecurityContext ctx, long userID)
ctx - The SecurityContextuserID - The id of the userpublic Collection<ImageData> getImages(SecurityContext ctx, long ownerId, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextownerId - The id of the userids - The image idsImageDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ImageData> getImagesForDatasets(SecurityContext ctx, Collection<Long> datasetIds) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextdatasetIds - The ids of the datasetsImageDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<ImageData> getImagesForProjects(SecurityContext ctx, Collection<Long> projectIds) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextprojectIds - The ids of the projectsImageDatasDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<FolderData> loadFolders(SecurityContext ctx, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
FolderData objects will be
fully initialized. (See getFolders(SecurityContext, Collection) for
a faster but not fully initialized method)ctx - The SecurityContextids - The folder IdsDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<FolderData> getFolders(SecurityContext ctx) throws DSOutOfServiceException, DSAccessException
FolderData objects won't be fully initialized (i. e. sub folder,
roi, etc. collections will be unloaded!). If you need fully initialized objects
see loadFolders(SecurityContext, Collection).ctx - The SecurityContextDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<FolderData> getFolders(SecurityContext ctx, Collection<Long> ids) throws DSOutOfServiceException, DSAccessException
FolderData objects won't be fully initialized (i. e. sub folder,
roi, etc. collections will be unloaded!). If you need fully initialized objects
see loadFolders(SecurityContext, Collection).ctx - The SecurityContextids - The folder idsDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<FolderData> getFolders(SecurityContext ctx, long userId) throws DSOutOfServiceException, DSAccessException
FolderData objects won't be fully initialized (i. e. sub folder,
roi, etc. collections will be unloaded!). If you need fully initialized objects
see loadFolders(SecurityContext, Collection).ctx - The SecurityContextuserId - The user idDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.public Collection<String> getLookupTables(SecurityContext ctx) throws DSOutOfServiceException, DSAccessException
ctx - The SecurityContextDSOutOfServiceException - If the connection is broken, or not logged inDSAccessException - If an error occurred while trying to retrieve data from OMERO
service.
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.