001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.dao.orm.jpa;
016    
017    import com.liferay.portal.kernel.dao.orm.Projection;
018    import com.liferay.portal.kernel.dao.orm.ProjectionFactory;
019    import com.liferay.portal.kernel.dao.orm.ProjectionList;
020    import com.liferay.portal.kernel.dao.orm.Type;
021    import com.liferay.portal.kernel.security.pacl.DoPrivileged;
022    
023    /**
024     * @author Prashant Dighe
025     * @author Brian Wing Shun Chan
026     */
027    @DoPrivileged
028    public class ProjectionFactoryImpl implements ProjectionFactory {
029    
030            public Projection alias(Projection projection, String alias) {
031                    throw new UnsupportedOperationException();
032            }
033    
034            public Projection avg(String propertyName) {
035                    throw new UnsupportedOperationException();
036            }
037    
038            public Projection count(String propertyName) {
039                    throw new UnsupportedOperationException();
040            }
041    
042            public Projection countDistinct(String propertyName) {
043                    throw new UnsupportedOperationException();
044            }
045    
046            public Projection distinct(Projection projection) {
047                    throw new UnsupportedOperationException();
048            }
049    
050            public Projection groupProperty(String propertyName) {
051                    throw new UnsupportedOperationException();
052            }
053    
054            public Projection max(String propertyName) {
055                    throw new UnsupportedOperationException();
056            }
057    
058            public Projection min(String propertyName) {
059                    throw new UnsupportedOperationException();
060            }
061    
062            public ProjectionList projectionList() {
063                    throw new UnsupportedOperationException();
064            }
065    
066            public Projection property(String propertyName) {
067                    throw new UnsupportedOperationException();
068            }
069    
070            public Projection rowCount() {
071                    throw new UnsupportedOperationException();
072            }
073    
074            public Projection sqlProjection(
075                    String sql, String[] columnAliases, Type[] types) {
076    
077                    throw new UnsupportedOperationException();
078            }
079    
080            public Projection sum(String propertyName) {
081                    throw new UnsupportedOperationException();
082            }
083    
084    }