com.liferay.portal.kernel.dao.orm
Interface Query
- All Known Subinterfaces:
- SQLQuery
public interface Query
View Source
- Author:
- Brian Wing Shun Chan
executeUpdate
int executeUpdate()
throws ORMException
- Throws:
ORMException
iterate
java.util.Iterator iterate()
throws ORMException
- Throws:
ORMException
iterate
java.util.Iterator iterate(boolean modifiable)
throws ORMException
- Throws:
ORMException
list
java.util.List list()
throws ORMException
- Throws:
ORMException
list
java.util.List list(boolean unmodifiable)
throws ORMException
- Throws:
ORMException
scroll
ScrollableResults scroll()
throws ORMException
- Throws:
ORMException
setBoolean
Query setBoolean(int pos,
boolean value)
setCacheable
Query setCacheable(boolean cacheable)
setCacheMode
Query setCacheMode(CacheMode cacheMode)
setCacheRegion
Query setCacheRegion(java.lang.String cacheRegion)
setDouble
Query setDouble(int pos,
double value)
setFirstResult
Query setFirstResult(int firstResult)
setFloat
Query setFloat(int pos,
float value)
setInteger
Query setInteger(int pos,
int value)
setLong
Query setLong(int pos,
long value)
setMaxResults
Query setMaxResults(int maxResults)
setShort
Query setShort(int pos,
short value)
setSerializable
Query setSerializable(int pos,
java.io.Serializable value)
setString
Query setString(int pos,
java.lang.String value)
setTimestamp
Query setTimestamp(int pos,
java.sql.Timestamp value)
uniqueResult
java.lang.Object uniqueResult()
throws ORMException
- Throws:
ORMException