Package | Description |
---|---|
ome.services.graphs |
Server classes for handling complicated graphs of model objects.
|
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 |
---|---|
QueryBuilder |
BaseGraphSpec.chgrpQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
|
QueryBuilder |
GraphSpec.chgrpQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
Return a
QueryBuilder which has been properly initialized to take the parameters "id"
and "grp" and then have query(Session) called. |
QueryBuilder |
LightSourceGraphSpec.chgrpQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
|
QueryBuilder |
BaseGraphSpec.chmodQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
|
QueryBuilder |
GraphSpec.chmodQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
|
protected QueryBuilder |
BaseGraphSpec.createQueryBuilder(String[] sub,
GraphEntry subpath)
Deprecated.
|
QueryBuilder |
BaseGraphSpec.deleteQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
|
QueryBuilder |
GraphSpec.deleteQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
|
QueryBuilder |
RenderingDefGraphSpec.deleteQuery(EventContext ec,
String table,
GraphOpts opts)
Deprecated.
Uses direct SQL in order to workaround any security filters
which may be in place since rdefs are considered outside of
the security system.
|
protected QueryBuilder |
GraphStep.optionalNullBuilder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.Query |
BaseGraphSpec.buildQuery(String[] sub,
GraphEntry subpath,
QueryBuilder qb,
QueryBuilder and,
org.hibernate.Session session)
Deprecated.
|
protected abstract boolean |
AbstractHierarchyGraphSpec.isOverrideKeep(int step,
QueryBuilder and,
String alias)
Deprecated.
If
BaseGraphSpec.overrideKeep() returns true for a subclass, then this method
will likely want to (at least sometimes) return a true value. |
protected boolean |
AnnotationGraphSpec.isOverrideKeep(int step,
QueryBuilder and,
String alias)
Deprecated.
|
protected boolean |
LightSourceGraphSpec.isOverrideKeep(int step,
QueryBuilder and,
String alias)
Deprecated.
|
protected void |
BaseGraphSpec.join(QueryBuilder qb,
String from,
String fromAlias,
String to,
String toAlias)
Deprecated.
Used to generate a join statement on the
QueryBuilder making use
of {@link ExtendedMetadata#getRelationship(String, String). |
protected void |
BaseGraphSpec.joinDataset(QueryBuilder qb,
String dataset,
String fileset)
Deprecated.
|
protected void |
BaseGraphSpec.joinPlate(QueryBuilder qb,
String plate,
String fileset)
Deprecated.
|
void |
BaseGraphSpec.permissionsClause(EventContext ec,
QueryBuilder qb,
boolean sqlQuery)
Deprecated.
Appends a clause to the
QueryBuilder based on the current user. |
long[][] |
AbstractHierarchyGraphSpec.queryBackupIds(org.hibernate.Session session,
int step,
GraphEntry subpath,
QueryBuilder and)
Deprecated.
|
long[][] |
BaseGraphSpec.queryBackupIds(org.hibernate.Session session,
int step,
GraphEntry subpath,
QueryBuilder and)
Deprecated.
|
long[][] |
GraphSpec.queryBackupIds(org.hibernate.Session session,
int step,
GraphEntry subpath,
QueryBuilder and)
Deprecated.
If a given path is processed before its sub-path, this points to a
one-to-one relationship.
|
protected void |
BaseGraphSpec.walk(String[] sub,
GraphEntry entry,
QueryBuilder qb)
Deprecated.
Walks the parts given adding a new relationship between each.
|
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,
String path) |
protected void |
SearchAction.annotatedBy(QueryBuilder qb,
String path) |
protected void |
SearchAction.createdOrModified(Class cls,
QueryBuilder qb,
String path) |
protected void |
SearchAction.ids(QueryBuilder qb,
String path) |
static void |
SearchAction.notNullOrLikeOrEqual(QueryBuilder qb,
String path,
Class type,
Object value,
boolean useLike,
boolean caseSensitive) |
protected void |
SearchAction.ownerOrGroup(Class cls,
QueryBuilder qb,
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(String str)
Appends "and" plus your string unless this is the first where-spec in
which case it is simply appended.
|
QueryBuilder |
QueryBuilder.append(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(String type,
String alias) |
QueryBuilder |
QueryBuilder.join(String path,
String alias,
boolean outer,
boolean fetch) |
QueryBuilder |
QueryBuilder.or(String str)
Appends "or" plus your string unless this is the first where-spec in
which case it is simply appended.
|
QueryBuilder |
QueryBuilder.order(String path,
boolean ascending) |
QueryBuilder |
QueryBuilder.param(int id,
Object o) |
QueryBuilder |
QueryBuilder.param(String key,
Object o) |
QueryBuilder |
QueryBuilder.paramList(String key,
Collection c) |
QueryBuilder |
QueryBuilder.select(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.1.3-ice35-b52
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.