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.Conjunction;
018    import com.liferay.portal.kernel.dao.orm.Criterion;
019    import com.liferay.portal.kernel.dao.orm.Disjunction;
020    import com.liferay.portal.kernel.dao.orm.RestrictionsFactory;
021    import com.liferay.portal.kernel.dao.orm.Type;
022    import com.liferay.portal.kernel.security.pacl.DoPrivileged;
023    
024    import java.util.Collection;
025    import java.util.Map;
026    
027    /**
028     * @author Prashant Dighe
029     * @author Brian Wing Shun Chan
030     */
031    @DoPrivileged
032    public class RestrictionsFactoryImpl implements RestrictionsFactory {
033    
034            public Criterion allEq(Map<String, Criterion> propertyNameValues) {
035                    throw new UnsupportedOperationException();
036            }
037    
038            public Criterion and(Criterion lhs, Criterion rhs) {
039                    throw new UnsupportedOperationException();
040            }
041    
042            public Criterion between(String propertyName, Object lo, Object hi) {
043                    throw new UnsupportedOperationException();
044            }
045    
046            public Conjunction conjunction() {
047                    throw new UnsupportedOperationException();
048            }
049    
050            public Disjunction disjunction() {
051                    throw new UnsupportedOperationException();
052            }
053    
054            public Criterion eq(String propertyName, Object value) {
055                    throw new UnsupportedOperationException();
056            }
057    
058            public Criterion eqProperty(String propertyName, String otherPropertyName) {
059                    throw new UnsupportedOperationException();
060            }
061    
062            public Criterion ge(String propertyName, Object value) {
063                    throw new UnsupportedOperationException();
064            }
065    
066            public Criterion geProperty(String propertyName, String otherPropertyName) {
067                    throw new UnsupportedOperationException();
068            }
069    
070            public Criterion gt(String propertyName, Object value) {
071                    throw new UnsupportedOperationException();
072            }
073    
074            public Criterion gtProperty(String propertyName, String otherPropertyName) {
075                    throw new UnsupportedOperationException();
076            }
077    
078            public Criterion ilike(String propertyName, Object value) {
079                    throw new UnsupportedOperationException();
080            }
081    
082            public Criterion in(String propertyName, Collection<Object> values) {
083                    throw new UnsupportedOperationException();
084            }
085    
086            public Criterion in(String propertyName, Object[] values) {
087                    throw new UnsupportedOperationException();
088            }
089    
090            public Criterion isEmpty(String propertyName) {
091                    throw new UnsupportedOperationException();
092            }
093    
094            public Criterion isNotEmpty(String propertyName) {
095                    throw new UnsupportedOperationException();
096            }
097    
098            public Criterion isNotNull(String propertyName) {
099                    throw new UnsupportedOperationException();
100            }
101    
102            public Criterion isNull(String propertyName) {
103                    throw new UnsupportedOperationException();
104            }
105    
106            public Criterion le(String propertyName, Object value) {
107                    throw new UnsupportedOperationException();
108            }
109    
110            public Criterion leProperty(String propertyName, String otherPropertyName) {
111                    throw new UnsupportedOperationException();
112            }
113    
114            public Criterion like(String propertyName, Object value) {
115                    throw new UnsupportedOperationException();
116            }
117    
118            public Criterion lt(String propertyName, Object value) {
119                    throw new UnsupportedOperationException();
120            }
121    
122            public Criterion ltProperty(String propertyName, String otherPropertyName) {
123                    throw new UnsupportedOperationException();
124            }
125    
126            public Criterion ne(String propertyName, Object value) {
127                    throw new UnsupportedOperationException();
128            }
129    
130            public Criterion neProperty(String propertyName, String otherPropertyName) {
131                    throw new UnsupportedOperationException();
132            }
133    
134            public Criterion not(Criterion expression) {
135                    throw new UnsupportedOperationException();
136            }
137    
138            public Criterion or(Criterion lhs, Criterion rhs) {
139                    throw new UnsupportedOperationException();
140            }
141    
142            public Criterion sizeEq(String propertyName, int size) {
143                    throw new UnsupportedOperationException();
144            }
145    
146            public Criterion sizeGe(String propertyName, int size) {
147                    throw new UnsupportedOperationException();
148            }
149    
150            public Criterion sizeGt(String propertyName, int size) {
151                    throw new UnsupportedOperationException();
152            }
153    
154            public Criterion sizeLe(String propertyName, int size) {
155                    throw new UnsupportedOperationException();
156            }
157    
158            public Criterion sizeLt(String propertyName, int size) {
159                    throw new UnsupportedOperationException();
160            }
161    
162            public Criterion sizeNe(String propertyName, int size) {
163                    throw new UnsupportedOperationException();
164            }
165    
166            public Criterion sqlRestriction(String sql) {
167                    throw new UnsupportedOperationException();
168            }
169    
170            public Criterion sqlRestriction(String sql, Object value, Type type) {
171                    throw new UnsupportedOperationException();
172            }
173    
174            public Criterion sqlRestriction(String sql, Object[] values, Type[] types) {
175                    throw new UnsupportedOperationException();
176            }
177    
178    }