org.apache.openjpa.persistence
Interface OpenJPAQuerySPI

All Superinterfaces:
OpenJPAQuery, Query
All Known Implementing Classes:
QueryImpl

public interface OpenJPAQuerySPI
extends OpenJPAQuery


Field Summary
 
Fields inherited from interface org.apache.openjpa.persistence.OpenJPAQuery
FLUSH_FALSE, FLUSH_TRUE, FLUSH_WITH_CONNECTION, HINT_RESULT_COUNT, OP_DELETE, OP_SELECT, OP_UPDATE
 
Method Summary
 OpenJPAQuery addAggregateListener(AggregateListener listener)
          Register an aggregate listener for the query.
 OpenJPAQuery addFilterListener(FilterListener listener)
          Register a filter listener for the query.
 OpenJPAQuery removeAggregateListener(AggregateListener listener)
          Remove an aggregate listener from the query.
 OpenJPAQuery removeFilterListener(FilterListener listener)
          Remove a filter listener from the query.
 
Methods inherited from interface org.apache.openjpa.persistence.OpenJPAQuery
closeAll, compile, getCandidateCollection, getDataStoreActions, getEntityManager, getFetchPlan, getFirstResult, getFlushMode, getIgnoreChanges, getLanguage, getMaxResults, getNamedParameters, getOperation, getPositionalParameters, getQueryString, getResultClass, hasPositionalParameters, hasSubclasses, setCandidateCollection, setFirstResult, setFlushMode, setHint, setIgnoreChanges, setMaxResults, setParameter, setParameter, setParameter, setParameter, setParameter, setParameter, setParameters, setParameters, setResultClass, setSubclasses
 
Methods inherited from interface javax.persistence.Query
executeUpdate, getResultList, getSingleResult
 

Method Detail

addFilterListener

OpenJPAQuery addFilterListener(FilterListener listener)
Register a filter listener for the query.

Specified by:
addFilterListener in interface OpenJPAQuery

removeFilterListener

OpenJPAQuery removeFilterListener(FilterListener listener)
Remove a filter listener from the query.

Specified by:
removeFilterListener in interface OpenJPAQuery

addAggregateListener

OpenJPAQuery addAggregateListener(AggregateListener listener)
Register an aggregate listener for the query.

Specified by:
addAggregateListener in interface OpenJPAQuery

removeAggregateListener

OpenJPAQuery removeAggregateListener(AggregateListener listener)
Remove an aggregate listener from the query.

Specified by:
removeAggregateListener in interface OpenJPAQuery


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.