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            @Override
031            public Projection alias(Projection projection, String alias) {
032                    throw new UnsupportedOperationException();
033            }
034    
035            @Override
036            public Projection avg(String propertyName) {
037                    throw new UnsupportedOperationException();
038            }
039    
040            @Override
041            public Projection count(String propertyName) {
042                    throw new UnsupportedOperationException();
043            }
044    
045            @Override
046            public Projection countDistinct(String propertyName) {
047                    throw new UnsupportedOperationException();
048            }
049    
050            @Override
051            public Projection distinct(Projection projection) {
052                    throw new UnsupportedOperationException();
053            }
054    
055            @Override
056            public Projection groupProperty(String propertyName) {
057                    throw new UnsupportedOperationException();
058            }
059    
060            @Override
061            public Projection max(String propertyName) {
062                    throw new UnsupportedOperationException();
063            }
064    
065            @Override
066            public Projection min(String propertyName) {
067                    throw new UnsupportedOperationException();
068            }
069    
070            @Override
071            public ProjectionList projectionList() {
072                    throw new UnsupportedOperationException();
073            }
074    
075            @Override
076            public Projection property(String propertyName) {
077                    throw new UnsupportedOperationException();
078            }
079    
080            @Override
081            public Projection rowCount() {
082                    throw new UnsupportedOperationException();
083            }
084    
085            @Override
086            public Projection sqlProjection(
087                    String sql, String[] columnAliases, Type[] types) {
088    
089                    throw new UnsupportedOperationException();
090            }
091    
092            @Override
093            public Projection sum(String propertyName) {
094                    throw new UnsupportedOperationException();
095            }
096    
097    }