Liferay 6.1.2-ce-ga3

com.liferay.portal.dao.orm.hibernate
Class ProjectionFactoryImpl

java.lang.Object
  extended by com.liferay.portal.dao.orm.hibernate.ProjectionFactoryImpl
All Implemented Interfaces:
ProjectionFactory

public class ProjectionFactoryImpl
extends Object
implements ProjectionFactory


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

Constructor Detail

ProjectionFactoryImpl

public ProjectionFactoryImpl()
Method Detail

alias

public Projection alias(Projection projection,
                        String alias)
Specified by:
alias in interface ProjectionFactory

avg

public Projection avg(String propertyName)
Specified by:
avg in interface ProjectionFactory

count

public Projection count(String propertyName)
Specified by:
count in interface ProjectionFactory

countDistinct

public Projection countDistinct(String propertyName)
Specified by:
countDistinct in interface ProjectionFactory

distinct

public Projection distinct(Projection projection)
Specified by:
distinct in interface ProjectionFactory

groupProperty

public Projection groupProperty(String propertyName)
Specified by:
groupProperty in interface ProjectionFactory

max

public Projection max(String propertyName)
Specified by:
max in interface ProjectionFactory

min

public Projection min(String propertyName)
Specified by:
min in interface ProjectionFactory

projectionList

public ProjectionList projectionList()
Specified by:
projectionList in interface ProjectionFactory

property

public Projection property(String propertyName)
Specified by:
property in interface ProjectionFactory

rowCount

public Projection rowCount()
Specified by:
rowCount in interface ProjectionFactory

sqlProjection

public Projection sqlProjection(String sql,
                                String[] columnAliases,
                                Type[] types)
Specified by:
sqlProjection in interface ProjectionFactory

sum

public Projection sum(String propertyName)
Specified by:
sum in interface ProjectionFactory

Liferay 6.1.2-ce-ga3