Liferay 6.0.5

com.liferay.portal.dao.orm.jpa
Class SQLQueryImpl

java.lang.Object
  extended by com.liferay.portal.dao.orm.jpa.QueryImpl
      extended by com.liferay.portal.dao.orm.jpa.SQLQueryImpl
All Implemented Interfaces:
Query, SQLQuery

public class SQLQueryImpl
extends QueryImpl
implements SQLQuery


Field Summary
 
Fields inherited from class com.liferay.portal.dao.orm.jpa.QueryImpl
entityClass, firstResult, flushModeType, maxResults, parameterMap, queryString, sessionImpl, sqlQuery
 
Constructor Summary
SQLQueryImpl(SessionImpl sessionImpl, String queryString)
           
 
Method Summary
 SQLQuery addEntity(String alias, Class<?> entityClass)
           
 SQLQuery addScalar(String columnAlias, Type type)
           
 List<?> list(boolean unmodifiable)
           
 Object uniqueResult()
           
 
Methods inherited from class com.liferay.portal.dao.orm.jpa.QueryImpl
executeUpdate, iterate, iterate, list, scroll, setBoolean, setCacheable, setCacheMode, setCacheRegion, setDouble, setFirstResult, setFloat, setFlushMode, setInteger, setLong, setMaxResults, setSerializable, setShort, setString, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.kernel.dao.orm.Query
executeUpdate, iterate, iterate, list, scroll, setBoolean, setCacheable, setCacheMode, setCacheRegion, setDouble, setFirstResult, setFloat, setInteger, setLong, setMaxResults, setSerializable, setShort, setString, setTimestamp
 

Constructor Detail

SQLQueryImpl

public SQLQueryImpl(SessionImpl sessionImpl,
                    String queryString)
Method Detail

addEntity

public SQLQuery addEntity(String alias,
                          Class<?> entityClass)
Specified by:
addEntity in interface SQLQuery

addScalar

public SQLQuery addScalar(String columnAlias,
                          Type type)
Specified by:
addScalar in interface SQLQuery

list

public List<?> list(boolean unmodifiable)
             throws ORMException
Specified by:
list in interface Query
Overrides:
list in class QueryImpl
Throws:
ORMException

uniqueResult

public Object uniqueResult()
                    throws ORMException
Specified by:
uniqueResult in interface Query
Overrides:
uniqueResult in class QueryImpl
Throws:
ORMException

Liferay 6.0.5