Package ome.services.query
Class PojosFindHierarchiesQueryDefinition
- java.lang.Object
- 
- ome.services.query.Query
- 
- ome.services.query.AbstractClassIdsOptionsQuery
- 
- ome.services.query.PojosFindHierarchiesQueryDefinition
 
 
 
- 
- All Implemented Interfaces:
- org.springframework.orm.hibernate3.HibernateCallback
 
 public class PojosFindHierarchiesQueryDefinition extends AbstractClassIdsOptionsQuery walks up the hierarchy tree starting atImagenodes while fetching various information.- Since:
- OMERO 3.0
- See Also:
- IContainer.findContainerHierarchies(Class, java.util.Set, Parameters)
 
- 
- 
Field Summary- 
Fields inherited from class ome.services.query.QueryFETCH, INNER_JOIN, LEFT_JOIN, newlyEnabledFilters, params
 
- 
 - 
Constructor SummaryConstructors Constructor Description PojosFindHierarchiesQueryDefinition(ome.parameters.Parameters p)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuildQuery(org.hibernate.Session session)main point of entry for subclasses.protected voidenableFilters(org.hibernate.Session session)does nothing by default, but can be overridden by subclasses to enable particular filters.- 
Methods inherited from class ome.services.query.Querycheck, checkParameters, disableFilters, disableQueryCache, doInHibernate, enableQueryCache, get, ownerOrGroupFilters, setCriteria, setQuery, setTimeout, value
 
- 
 
- 
- 
- 
Method Detail- 
buildQueryprotected void buildQuery(org.hibernate.Session session) throws org.hibernate.HibernateException, java.sql.SQLExceptionDescription copied from class:Querymain point of entry for subclasses. This method must build either aCriteriaor aQueryinstance and make it available viaQuery.setCriteria(org.hibernate.Criteria)orQuery.setQuery(org.hibernate.Query)- Specified by:
- buildQueryin class- Query
- Throws:
- org.hibernate.HibernateException
- java.sql.SQLException
 
 - 
enableFiltersprotected void enableFilters(org.hibernate.Session session) Description copied from class:Querydoes nothing by default, but can be overridden by subclasses to enable particular filters.- Overrides:
- enableFiltersin class- Query
 
 
- 
 
-