Uses of Class
ome.tools.hibernate.QueryBuilder

Packages that use QueryBuilder
ome.services.graphs Server classes for handling complicated graphs of model objects. 
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  
 

Uses of QueryBuilder in ome.services.graphs
 

Methods in ome.services.graphs with parameters of type QueryBuilder
protected  void BaseGraphSpec.join(QueryBuilder qb, String from, String fromAlias, String to, String toAlias)
          Used to generate a join statement on the QueryBuilder making use of {@link ExtendedMetadata#getRelationship(String, String).
static void GraphState.permissionsClause(EventContext ec, QueryBuilder qb)
          Appends a clause to the QueryBuilder based on the current user.
 long[][] AnnotationGraphSpec.queryBackupIds(org.hibernate.Session session, int step, GraphEntry subpath, QueryBuilder and)
           
 long[][] BaseGraphSpec.queryBackupIds(org.hibernate.Session session, int step, GraphEntry subpath, QueryBuilder and)
           
 long[][] GraphSpec.queryBackupIds(org.hibernate.Session session, int step, GraphEntry subpath, QueryBuilder and)
          If a given path is deleted before its sub-path, this points to a one-to-one relationship.
 

Uses of QueryBuilder in ome.services.search
 

Methods in ome.services.search with parameters of type QueryBuilder
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)
           
 

Uses of QueryBuilder in ome.services.sharing
 

Methods in ome.services.sharing with parameters of type QueryBuilder
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.
 

Uses of QueryBuilder in ome.tools.hibernate
 

Methods in ome.tools.hibernate that return QueryBuilder
 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.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(String key, Object o)
           
 QueryBuilder QueryBuilder.paramList(String key, Collection c)
           
 QueryBuilder QueryBuilder.select(String... selects)
           
 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.
 

Methods in ome.tools.hibernate with parameters of type QueryBuilder
 QueryBuilder QueryBuilder.subselect(QueryBuilder subselect)
          Appends the string representation of the QueryBuilder argument inside of parentheses.
 



OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.