Package | Description |
---|---|
ome.api |
Contains the central verbs of the Omero System.
|
ome.logic |
The central repository of implementations which will be accessible through this server.
|
ome.parameters |
Contains necessary parameters for various API methods throughout OMERO.
|
ome.services |
Base services package for OMERO API services
This includes classes that implement OMERO API services described as interfaces in the
OMERO Common component.
|
ome.services.query |
facilitates the creation of Hibernate Queries and Criteria.
|
ome.services.scripts | |
ome.services.search |
Internal search implementation classes.
|
ome.tools.hibernate |
Hibernate specific tools for the OMERO Server
Classes/Interfaces that implement Hibernate method mechanics for the OMERO server
Related Documentation
For more information, please see:
TODO
|
omero.util |
Modifier and Type | Method and Description |
---|---|
void |
Search.byHqlQuery(java.lang.String query,
Parameters p)
Delegates to
IQuery.findAllByQuery(String, Parameters) method to
take advantage of the Search.and() , Search.or() , and
Search.not() methods, or queue-semantics. |
java.lang.Long |
IMetadata.countSpecifiedAnnotations(java.lang.Class type,
java.util.Set<java.lang.String> include,
java.util.Set<java.lang.String> exclude,
Parameters options)
Counts the number of annotation of a given type.
|
<T extends IObject> |
IContainer.createDataObject(T object,
Parameters options)
Creates the specified data object.
|
IObject[] |
IContainer.createDataObjects(IObject[] dataObjects,
Parameters options)
convenience method to save network calls.
|
<T extends IObject> |
IQuery.findAllByFullText(java.lang.Class<T> type,
java.lang.String query,
Parameters parameters)
executes a full text search based on Lucene.
|
<T extends IObject> |
IQuery.findAllByQuery(java.lang.String queryName,
Parameters parameters)
executes the stored query with the given name.
|
<T extends IObject> |
IQuery.findByQuery(java.lang.String queryName,
Parameters parameters)
executes the stored query with the given name.
|
<T extends IObject> |
IContainer.findContainerHierarchies(java.lang.Class<T> rootNodeType,
java.util.Set<java.lang.Long> imagesIds,
Parameters options)
Retrieves hierarchy trees in various hierarchies that contain the
specified Images.
|
java.util.Map |
IContainer.getCollectionCount(java.lang.String type,
java.lang.String property,
java.util.Set<java.lang.Long> ids,
Parameters options)
Counts the number of members in a collection for a given object.
|
<T extends IObject> |
IContainer.getImages(java.lang.Class<T> rootNodeType,
java.util.Set<java.lang.Long> rootNodeIds,
Parameters options)
Retrieve a user's (or all users') images within any given container.
|
java.util.Set<Image> |
IContainer.getImagesByOptions(Parameters options)
Retrieve images by options.
|
java.util.Map<java.lang.Long,java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>>> |
IContainer.getImagesBySplitFilesets(java.util.Map<java.lang.Class<? extends IObject>,java.util.List<java.lang.Long>> included,
Parameters options)
Given a list of IDs of certain entity types, calculates which filesets are split such that
a non-empty proper subset of their images are referenced, directly or indirectly, as being
included.
|
java.util.Map<java.lang.Long,java.lang.Long> |
IMetadata.getTaggedObjectsCount(java.util.Set<java.lang.Long> tagIds,
Parameters options)
Returns a map whose key is a tag's id and the value the number of
Projects, Datasets, and Images linked to that tag.
|
java.util.Set<Image> |
IContainer.getUserImages(Parameters options)
Retrieve a user's images.
|
ILink[] |
IContainer.link(ILink[] dataObjectLinks,
Parameters options)
Convenience method for creating links.
|
<T extends IObject,A extends Annotation> |
IMetadata.loadAnnotations(java.lang.Class<T> nodeType,
java.util.Set<java.lang.Long> rootNodeIds,
java.util.Set<java.lang.String> annotationType,
java.util.Set<java.lang.Long> annotatorIds,
Parameters options)
Loads all the annotations of given types,
that have been attached to the specified
rootNodes
for the specified annotatorIds . |
<T extends IObject> |
IContainer.loadContainerHierarchy(java.lang.Class<T> rootNodeType,
java.util.Set<java.lang.Long> rootNodeIds,
Parameters options)
Retrieves hierarchy trees rooted by a given node (unless orphan is
specified -- See below)
This method also retrieves the Experimenters linked to the objects in the
tree.
|
<A extends Annotation> |
IMetadata.loadSpecifiedAnnotations(java.lang.Class type,
java.util.Set<java.lang.String> include,
java.util.Set<java.lang.String> exclude,
Parameters options)
Loads all the annotations of a given type.
|
<A extends Annotation> |
IMetadata.loadSpecifiedAnnotationsLinkedTo(java.lang.Class type,
java.util.Set<java.lang.String> include,
java.util.Set<java.lang.String> exclude,
java.lang.Class rootNodeType,
java.util.Set<java.lang.Long> rootNodeIds,
Parameters options)
Loads the annotations of a given type linked to the specified objects.
|
java.util.Map<java.lang.Long,java.util.Set<IObject>> |
IMetadata.loadTagContent(java.util.Set<java.lang.Long> tagIds,
Parameters options)
Loads the Tag Set if the id is specified otherwise loads all the Tag
Set.
|
java.util.Set<IObject> |
IMetadata.loadTagSets(Parameters options)
Loads all the tag Sets.
|
java.util.List<java.lang.Object[]> |
IQuery.projection(java.lang.String query,
Parameters parameters)
Return a list of Java
Object instances (not IObject
instances). |
java.util.Collection |
IContainer.retrieveCollection(IObject dataObject,
java.lang.String collectionName,
Parameters options)
Retrieves a collection with all members initialized ("loaded").
|
void |
IContainer.unlink(ILink[] dataObjectLinks,
Parameters options)
Removes links between OmeroDataObjects e.g Project-Dataset, Dataset-Image
Note that the objects themselves aren't deleted, only the Link objects.
|
<T extends IObject> |
IContainer.updateDataObject(T dataObject,
Parameters options)
Updates a data object.
|
IObject[] |
IContainer.updateDataObjects(IObject[] dataObjects,
Parameters options)
convenience method to save network calls.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
QueryImpl.aggByQuery(java.lang.String agg,
java.lang.String field,
java.lang.String query,
Parameters params) |
java.util.Map<java.lang.String,java.lang.Long> |
QueryImpl.aggMapByQuery(java.lang.String agg,
java.lang.String mapKey,
java.lang.String field,
java.lang.String query,
Parameters params) |
java.lang.Long |
MetadataImpl.countSpecifiedAnnotations(java.lang.Class type,
java.util.Set<java.lang.String> include,
java.util.Set<java.lang.String> exclude,
Parameters options) |
IObject |
PojosImpl.createDataObject(IObject arg0,
Parameters arg1) |
IObject[] |
PojosImpl.createDataObjects(IObject[] arg0,
Parameters arg1) |
<T extends IObject> |
QueryImpl.findAllByFullText(java.lang.Class<T> type,
java.lang.String query,
Parameters params) |
<T extends IObject> |
QueryImpl.findAllByQuery(java.lang.String queryName,
Parameters params) |
<T extends IObject> |
QueryImpl.findByQuery(java.lang.String queryName,
Parameters params) |
java.util.Set |
PojosImpl.findContainerHierarchies(java.lang.Class rootNodeType,
java.util.Set imageIds,
Parameters options) |
java.util.Map |
PojosImpl.getCollectionCount(java.lang.String type,
java.lang.String property,
java.util.Set ids,
Parameters options) |
java.util.Set |
PojosImpl.getImages(java.lang.Class rootNodeType,
java.util.Set rootNodeIds,
Parameters options) |
java.util.Set |
PojosImpl.getImagesByOptions(Parameters options) |
java.util.Map<java.lang.Long,java.util.Map<java.lang.Boolean,java.util.List<java.lang.Long>>> |
PojosImpl.getImagesBySplitFilesets(java.util.Map<java.lang.Class<? extends IObject>,java.util.List<java.lang.Long>> included,
Parameters options) |
java.util.Map |
MetadataImpl.getTaggedObjectsCount(java.util.Set<java.lang.Long> tagIds,
Parameters options) |
java.util.Set |
PojosImpl.getUserImages(Parameters options) |
ILink[] |
PojosImpl.link(ILink[] arg0,
Parameters arg1) |
<T extends IObject,A extends Annotation> |
MetadataImpl.loadAnnotations(java.lang.Class<T> rootNodeType,
java.util.Set<java.lang.Long> rootNodeIds,
java.util.Set<java.lang.String> annotationTypes,
java.util.Set<java.lang.Long> annotatorIds,
Parameters options) |
java.util.Set |
PojosImpl.loadContainerHierarchy(java.lang.Class rootNodeType,
java.util.Set rootNodeIds,
Parameters options) |
<A extends Annotation> |
MetadataImpl.loadSpecifiedAnnotations(java.lang.Class type,
java.util.Set<java.lang.String> include,
java.util.Set<java.lang.String> exclude,
Parameters options) |
<A extends Annotation> |
MetadataImpl.loadSpecifiedAnnotationsLinkedTo(java.lang.Class type,
java.util.Set<java.lang.String> include,
java.util.Set<java.lang.String> exclude,
java.lang.Class rootNodeType,
java.util.Set<java.lang.Long> rootNodeIds,
Parameters options) |
java.util.Map<java.lang.Long,java.util.Set<IObject>> |
MetadataImpl.loadTagContent(java.util.Set<java.lang.Long> tagIds,
Parameters options) |
java.util.Set<IObject> |
MetadataImpl.loadTagSets(Parameters options) |
java.util.List<java.lang.Object[]> |
QueryImpl.projection(java.lang.String query,
Parameters p) |
java.util.Collection |
PojosImpl.retrieveCollection(IObject arg0,
java.lang.String arg1,
Parameters arg2) |
void |
PojosImpl.unlink(ILink[] arg0,
Parameters arg1) |
IObject |
PojosImpl.updateDataObject(IObject arg0,
Parameters arg1) |
IObject[] |
PojosImpl.updateDataObjects(IObject[] arg0,
Parameters arg1) |
Modifier and Type | Method and Description |
---|---|
Parameters |
Parameters.add(QueryParameter parameter) |
Parameters |
Parameters.addAlgorithm(java.lang.String algo) |
Parameters |
Parameters.addAll(Parameters old)
adds all the information from the passed in Parameters instance to this
instance.
|
Parameters |
Parameters.addAll(QueryParameter[] queryParameters)
adds all the information from the passed in Parameters instance to this
instance.
|
Parameters |
Parameters.addBoolean(java.lang.String name,
java.lang.Boolean value) |
Parameters |
Parameters.addClass(java.lang.Class klass) |
Parameters |
Parameters.addClass(java.lang.String name,
java.lang.Class value) |
Parameters |
Parameters.addId(java.lang.Long id) |
Parameters |
Parameters.addIds(java.util.Collection ids) |
Parameters |
Parameters.addInteger(java.lang.String name,
java.lang.Integer value) |
Parameters |
Parameters.addList(java.lang.String name,
java.util.List value) |
Parameters |
Parameters.addLong(java.lang.String name,
java.lang.Long value) |
Parameters |
Parameters.addMap(java.lang.String name,
java.util.Map value) |
Parameters |
Parameters.addSet(java.lang.String name,
java.util.Set value) |
Parameters |
Parameters.addString(java.lang.String name,
java.lang.String value) |
Parameters |
Parameters.allExps() |
Parameters |
Parameters.cache()
Deprecated.
experimental: may be wholly removed in next major version
|
Parameters |
Parameters.endTime(java.sql.Timestamp timestamp) |
Parameters |
Parameters.exp(long id) |
Parameters |
Parameters.grp(long id) |
Parameters |
Parameters.leaves() |
Parameters |
Parameters.noCache()
Set queries to not be cacheable.
|
Parameters |
Parameters.noLeaves() |
Parameters |
Parameters.noOrphan() |
Parameters |
Parameters.orphan() |
Parameters |
Parameters.page(java.lang.Integer offset,
java.lang.Integer limit) |
Parameters |
Parameters.paginate(java.lang.Integer offset,
java.lang.Integer limit) |
Parameters |
Parameters.setFilter(Filter filter) |
Parameters |
Parameters.setOptions(Options options) |
Parameters |
Parameters.startTime(java.sql.Timestamp timestamp) |
Parameters |
Parameters.unique() |
Modifier and Type | Method and Description |
---|---|
Parameters |
Parameters.addAll(Parameters old)
adds all the information from the passed in Parameters instance to this
instance.
|
Constructor and Description |
---|
Parameters(Parameters old)
copy constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
SearchBean.addParameters(Parameters params) |
void |
SearchBean.byHqlQuery(java.lang.String query,
Parameters p) |
Modifier and Type | Field and Description |
---|---|
protected Parameters |
Query.params
container of
QueryParameter instances. |
Modifier and Type | Method and Description |
---|---|
Query |
ClassQuerySource.lookup(java.lang.String queryID,
Parameters parameters) |
Query |
NullQuerySource.lookup(java.lang.String queryID,
Parameters parameters) |
Query |
StringQuerySource.lookup(java.lang.String queryID,
Parameters parameters) |
<T> Query<T> |
QueryFactory.lookup(java.lang.String queryID,
Parameters params) |
abstract <T> Query<T> |
QuerySource.lookup(java.lang.String queryID,
Parameters parameters)
map the queryID argument to some Query instance (including null).
|
Constructor and Description |
---|
AbstractClassIdsOptionsQuery(Parameters parameters) |
CollectionCountQueryDefinition(Parameters parameters) |
IObjectClassQuery(Parameters parameters) |
PojosFindAnnotationsQueryDefinition(Parameters parameters) |
PojosFindHierarchiesQueryDefinition(Parameters p) |
PojosGetImagesByOptionsQueryDefinition(Parameters parameters) |
PojosGetImagesQueryDefinition(Parameters parameters) |
PojosGetUserImagesQueryDefinition(Parameters parameters) |
PojosLoadHierarchyQueryDefinition(Parameters parameters) |
Query(Definitions definitions,
Parameters parameters)
main constructor used by subclasses.
|
StringQuery(Parameters parameters)
Default constructor, used primarily for testing.
|
StringQuery(SqlAction sql,
Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<OriginalFile> |
ScriptFinder.loadScripts(ServiceFactory sf,
Parameters p)
Load all scripts that match the name, hash, and format for script
|
Modifier and Type | Method and Description |
---|---|
void |
SearchValues.copy(Parameters params)
Copies all known values from Parameters
|
Constructor and Description |
---|
HqlQuery(SearchValues values,
java.lang.String query,
Parameters p) |
Modifier and Type | Method and Description |
---|---|
void |
QueryBuilder.params(Parameters params2) |
Modifier and Type | Method and Description |
---|---|
Parameters |
IceMapper.convert(omero.sys.Parameters params) |
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.