Liferay 6.2-ce-ga5

com.liferay.portal.kernel.dao.orm
Class ProjectionFactoryUtil

java.lang.Object
  extended by com.liferay.portal.kernel.dao.orm.ProjectionFactoryUtil

public class ProjectionFactoryUtil
extends Object


Constructor Summary
ProjectionFactoryUtil()
           
 
Method Summary
static Projection alias(Projection projection, String alias)
           
static Projection avg(String propertyName)
           
static Projection count(String propertyName)
           
static Projection countDistinct(String propertyName)
           
static Projection distinct(Projection projection)
           
static ProjectionFactory getProjectionFactory()
           
static Projection groupProperty(String propertyName)
           
static Projection max(String propertyName)
           
static Projection min(String propertyName)
           
static ProjectionList projectionList()
           
static Projection property(String propertyName)
           
static Projection rowCount()
           
 void setProjectionFactory(ProjectionFactory projectionFactory)
           
static Projection sqlProjection(String sql, String[] columnAliases, Type[] types)
           
static Projection sum(String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProjectionFactoryUtil

public ProjectionFactoryUtil()
Method Detail

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)

Liferay 6.2-ce-ga5