Package | Description |
---|---|
ome.services.scripts | |
ome.services.search |
Internal search implementation classes.
|
ome.services.sharing |
ome.api.IShare support infrastructure.
|
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
|
Modifier and Type | Method and Description |
---|---|
void |
ScriptRepoHelper.buildQuery(QueryBuilder qb)
Adds a single clause of the form "AND (A OR B ...)" where each
ScriptFileType A, B, etc. is given a chance to define
its own clause. |
Modifier and Type | Method and Description |
---|---|
protected void |
SearchAction.annotatedBetween(QueryBuilder qb,
java.lang.String path) |
protected void |
SearchAction.annotatedBy(QueryBuilder qb,
java.lang.String path) |
protected void |
SearchAction.createdOrModified(java.lang.Class cls,
QueryBuilder qb,
java.lang.String path) |
protected void |
SearchAction.ids(QueryBuilder qb,
java.lang.String path) |
static void |
SearchAction.notNullOrLikeOrEqual(QueryBuilder qb,
java.lang.String path,
java.lang.Class type,
java.lang.Object value,
boolean useLike,
boolean caseSensitive) |
protected void |
SearchAction.ownerOrGroup(java.lang.Class cls,
QueryBuilder qb,
java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
protected void |
ShareBean.applyIfShareAccessible(QueryBuilder qb)
If the current user is not an admin, then this methods adds a subclause
to the HQL:
AND ( share.owner.id = :userId or user.id = :userId )
where() should already have been called. |
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
QueryBuilder.and(java.lang.String str)
Appends "and" plus your string unless this is the first where-spec in
which case it is simply appended.
|
QueryBuilder |
QueryBuilder.append(java.lang.String string)
Simple delegate method to allow appending arbitrary strings.
|
QueryBuilder |
QueryBuilder.appendSpace() |
QueryBuilder |
QueryBuilder.filterNow()
In order to support the order() method in addition
to a filter, we allow applying the filter and nulling
the instance eagerly before the user calls order.
|
QueryBuilder |
QueryBuilder.from(java.lang.String type,
java.lang.String alias) |
QueryBuilder |
QueryBuilder.join(java.lang.String path,
java.lang.String alias,
boolean outer,
boolean fetch) |
QueryBuilder |
QueryBuilder.or(java.lang.String str)
Appends "or" plus your string unless this is the first where-spec in
which case it is simply appended.
|
QueryBuilder |
QueryBuilder.order(java.lang.String path,
boolean ascending) |
QueryBuilder |
QueryBuilder.param(int id,
java.lang.Object o) |
QueryBuilder |
QueryBuilder.param(java.lang.String key,
java.lang.Object o) |
QueryBuilder |
QueryBuilder.paramList(java.lang.String key,
java.util.Collection c) |
QueryBuilder |
QueryBuilder.select(java.lang.String... selects) |
QueryBuilder |
QueryBuilder.skipFrom() |
QueryBuilder |
QueryBuilder.skipWhere() |
QueryBuilder |
QueryBuilder.subselect(QueryBuilder subselect)
Appends the string representation of the
QueryBuilder argument
inside of parentheses. |
QueryBuilder |
QueryBuilder.where()
Marks the end of all fetches by adding a "where" clause to the string.
|
QueryBuilder |
QueryBuilder.whereClause()
Similar to how skipFrom and skipWhere were previously used, this sets
the current builder to
where() but without prefacing the
"where " string. |
Modifier and Type | Method and Description |
---|---|
QueryBuilder |
QueryBuilder.subselect(QueryBuilder subselect)
Appends the string representation of the
QueryBuilder argument
inside of parentheses. |
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.