com.liferay.portal.kernel.dao.orm
Class ProjectionFactoryUtil
java.lang.Object
com.liferay.portal.kernel.dao.orm.ProjectionFactoryUtil
public class ProjectionFactoryUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProjectionFactoryUtil
public ProjectionFactoryUtil()
alias
public static Projection alias(Projection projection,
String alias)
avg
public static Projection avg(String propertyName)
count
public static Projection count(String propertyName)
countDistinct
public static Projection countDistinct(String propertyName)
distinct
public static Projection distinct(Projection projection)
getProjectionFactory
public static ProjectionFactory getProjectionFactory()
groupProperty
public static Projection groupProperty(String propertyName)
max
public static Projection max(String propertyName)
min
public static Projection min(String propertyName)
projectionList
public static ProjectionList projectionList()
property
public static Projection property(String propertyName)
rowCount
public static Projection rowCount()
sqlProjection
public static Projection sqlProjection(String sql,
String[] columnAliases,
Type[] types)
sum
public static Projection sum(String propertyName)
setProjectionFactory
public void setProjectionFactory(ProjectionFactory projectionFactory)