Liferay 6.2.0

com.liferay.portal.kernel.dao.orm
Interface Query

All Known Subinterfaces:
SQLQuery

public interface Query


Method Summary
abstract  int executeUpdate()
           
abstract  Iterator iterate()
           
abstract  Iterator iterate(boolean modifiable)
           
abstract  Object iterateNext()
           
abstract  List list()
           
abstract  List list(boolean unmodifiable)
           
abstract  List list(boolean copy, boolean unmodifiable)
           
abstract  ScrollableResults scroll()
           
abstract  Query setBoolean(int pos, boolean value)
           
abstract  Query setBoolean(String name, boolean value)
           
abstract  Query setCacheable(boolean cacheable)
           
abstract  Query setCacheMode(CacheMode cacheMode)
           
abstract  Query setCacheRegion(String cacheRegion)
           
abstract  Query setDouble(int pos, double value)
           
abstract  Query setDouble(String name, double value)
           
abstract  Query setFirstResult(int firstResult)
           
abstract  Query setFloat(int pos, float value)
           
abstract  Query setFloat(String name, float value)
           
abstract  Query setInteger(int pos, int value)
           
abstract  Query setInteger(String name, int value)
           
abstract  Query setLockMode(String alias, LockMode lockMode)
           
abstract  Query setLong(int pos, long value)
           
abstract  Query setLong(String name, long value)
           
abstract  Query setMaxResults(int maxResults)
           
abstract  Query setSerializable(int pos, Serializable value)
           
abstract  Query setSerializable(String name, Serializable value)
           
abstract  Query setShort(int pos, short value)
           
abstract  Query setShort(String name, short value)
           
abstract  Query setString(int pos, String value)
           
abstract  Query setString(String name, String value)
           
abstract  Query setTimestamp(int pos, Timestamp value)
           
abstract  Query setTimestamp(String name, Timestamp value)
           
abstract  Object uniqueResult()
           
 

Method Detail

executeUpdate

int executeUpdate()
                  throws ORMException
Throws:
ORMException

iterate

Iterator iterate()
                 throws ORMException
Throws:
ORMException

iterate

Iterator iterate(boolean modifiable)
                 throws ORMException
Throws:
ORMException

iterateNext

Object iterateNext()
                   throws ORMException
Throws:
ORMException

list

List list()
          throws ORMException
Throws:
ORMException

list

List list(boolean unmodifiable)
          throws ORMException
Throws:
ORMException

list

List list(boolean copy,
          boolean unmodifiable)
          throws ORMException
Throws:
ORMException

scroll

ScrollableResults scroll()
                         throws ORMException
Throws:
ORMException

setBoolean

Query setBoolean(int pos,
                 boolean value)

setBoolean

Query setBoolean(String name,
                 boolean value)

setCacheable

Query setCacheable(boolean cacheable)

setCacheMode

Query setCacheMode(CacheMode cacheMode)

setCacheRegion

Query setCacheRegion(String cacheRegion)

setDouble

Query setDouble(int pos,
                double value)

setDouble

Query setDouble(String name,
                double value)

setFirstResult

Query setFirstResult(int firstResult)

setFloat

Query setFloat(int pos,
               float value)

setFloat

Query setFloat(String name,
               float value)

setInteger

Query setInteger(int pos,
                 int value)

setInteger

Query setInteger(String name,
                 int value)

setLockMode

Query setLockMode(String alias,
                  LockMode lockMode)

setLong

Query setLong(int pos,
              long value)

setLong

Query setLong(String name,
              long value)

setMaxResults

Query setMaxResults(int maxResults)

setSerializable

Query setSerializable(int pos,
                      Serializable value)

setSerializable

Query setSerializable(String name,
                      Serializable value)

setShort

Query setShort(int pos,
               short value)

setShort

Query setShort(String name,
               short value)

setString

Query setString(int pos,
                String value)

setString

Query setString(String name,
                String value)

setTimestamp

Query setTimestamp(int pos,
                   Timestamp value)

setTimestamp

Query setTimestamp(String name,
                   Timestamp value)

uniqueResult

Object uniqueResult()
                    throws ORMException
Throws:
ORMException

Liferay 6.2.0