1
22
23 package com.liferay.portal.dao.orm.hibernate;
24
25 import com.liferay.portal.kernel.dao.orm.Criterion;
26 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
27 import com.liferay.portal.kernel.dao.orm.Order;
28 import com.liferay.portal.kernel.dao.orm.Projection;
29 import com.liferay.portal.kernel.dao.orm.Property;
30
31 import java.util.Collection;
32
33
38 public class PropertyImpl extends ProjectionImpl implements Property {
39
40 public PropertyImpl(org.hibernate.criterion.Property property) {
41 super(property);
42
43 _property = property;
44 }
45
46 public Order asc() {
47 return new OrderImpl(_property.asc());
48 }
49
50 public Projection avg() {
51 return new ProjectionImpl(_property.avg());
52 }
53
54 public Criterion between(Object min, Object max) {
55 return new CriterionImpl(_property.between(min, max));
56 }
57
58 public Projection count() {
59 return new ProjectionImpl(_property.count());
60 }
61
62 public Order desc() {
63 return new OrderImpl(_property.desc());
64 }
65
66 public Criterion eq(DynamicQuery subselect) {
67 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
68
69 return new CriterionImpl(
70 _property.eq(dynamicQueryImpl.getDetachedCriteria()));
71 }
72
73 public Criterion eq(Object value) {
74 return new CriterionImpl(_property.eq(value));
75 }
76
77 public Criterion eqAll(DynamicQuery subselect) {
78 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
79
80 return new CriterionImpl(
81 _property.eqAll(dynamicQueryImpl.getDetachedCriteria()));
82 }
83
84 public Criterion eqProperty(Property other) {
85 PropertyImpl propertyImpl = (PropertyImpl)other;
86
87 return new CriterionImpl(
88 _property.eqProperty(propertyImpl.getWrappedProperty()));
89 }
90
91 public Criterion eqProperty(String other) {
92 return new CriterionImpl(_property.eqProperty(other));
93 }
94
95 public Property getProperty(String propertyName) {
96 return new PropertyImpl(_property.getProperty(propertyName));
97 }
98
99 public org.hibernate.criterion.Property getWrappedProperty() {
100 return _property;
101 }
102
103 public Projection group() {
104 return new ProjectionImpl(_property.group());
105 }
106
107 public Criterion ge(DynamicQuery subselect) {
108 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
109
110 return new CriterionImpl(
111 _property.ge(dynamicQueryImpl.getDetachedCriteria()));
112 }
113
114 public Criterion ge(Object value) {
115 return new CriterionImpl(_property.ge(value));
116 }
117
118 public Criterion geAll(DynamicQuery subselect) {
119 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
120
121 return new CriterionImpl(
122 _property.geAll(dynamicQueryImpl.getDetachedCriteria()));
123 }
124
125 public Criterion geProperty(Property other) {
126 PropertyImpl propertyImpl = (PropertyImpl)other;
127
128 return new CriterionImpl(
129 _property.geProperty(propertyImpl.getWrappedProperty()));
130 }
131
132 public Criterion geProperty(String other) {
133 return new CriterionImpl(_property.geProperty(other));
134 }
135
136 public Criterion geSome(DynamicQuery subselect) {
137 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
138
139 return new CriterionImpl(
140 _property.geSome(dynamicQueryImpl.getDetachedCriteria()));
141 }
142
143 public Criterion gt(DynamicQuery subselect) {
144 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
145
146 return new CriterionImpl(
147 _property.gt(dynamicQueryImpl.getDetachedCriteria()));
148 }
149
150 public Criterion gt(Object value) {
151 return new CriterionImpl(_property.gt(value));
152 }
153
154 public Criterion gtAll(DynamicQuery subselect) {
155 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
156
157 return new CriterionImpl(
158 _property.gtAll(dynamicQueryImpl.getDetachedCriteria()));
159 }
160
161 public Criterion gtProperty(Property other) {
162 PropertyImpl propertyImpl = (PropertyImpl)other;
163
164 return new CriterionImpl(
165 _property.gtProperty(propertyImpl.getWrappedProperty()));
166 }
167
168 public Criterion gtProperty(String other) {
169 return new CriterionImpl(_property.gtProperty(other));
170 }
171
172 public Criterion gtSome(DynamicQuery subselect) {
173 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
174
175 return new CriterionImpl(
176 _property.gtSome(dynamicQueryImpl.getDetachedCriteria()));
177 }
178
179 public Criterion in(Collection values) {
180 return new CriterionImpl(_property.in(values));
181 }
182
183 public Criterion in(DynamicQuery subselect) {
184 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
185
186 return new CriterionImpl(
187 _property.in(dynamicQueryImpl.getDetachedCriteria()));
188 }
189
190 public Criterion in(Object[] values) {
191 return new CriterionImpl(_property.in(values));
192 }
193
194 public Criterion isEmpty() {
195 return new CriterionImpl(_property.isEmpty());
196 }
197
198 public Criterion isNotEmpty() {
199 return new CriterionImpl(_property.isNotEmpty());
200 }
201
202 public Criterion isNotNull() {
203 return new CriterionImpl(_property.isNotNull());
204 }
205
206 public Criterion isNull() {
207 return new CriterionImpl(_property.isNull());
208 }
209
210 public Criterion le(DynamicQuery subselect) {
211 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
212
213 return new CriterionImpl(
214 _property.le(dynamicQueryImpl.getDetachedCriteria()));
215 }
216
217 public Criterion le(Object value) {
218 return new CriterionImpl(_property.le(value));
219 }
220
221 public Criterion leAll(DynamicQuery subselect) {
222 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
223
224 return new CriterionImpl(
225 _property.leAll(dynamicQueryImpl.getDetachedCriteria()));
226 }
227
228 public Criterion leProperty(Property other) {
229 PropertyImpl propertyImpl = (PropertyImpl)other;
230
231 return new CriterionImpl(
232 _property.leProperty(propertyImpl.getWrappedProperty()));
233 }
234
235 public Criterion leProperty(String other) {
236 return new CriterionImpl(_property.leProperty(other));
237 }
238
239 public Criterion leSome(DynamicQuery subselect) {
240 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
241
242 return new CriterionImpl(
243 _property.leSome(dynamicQueryImpl.getDetachedCriteria()));
244 }
245
246 public Criterion like(Object value) {
247 return new CriterionImpl(_property.like(value));
248 }
249
250 public Criterion lt(DynamicQuery subselect) {
251 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
252
253 return new CriterionImpl(
254 _property.lt(dynamicQueryImpl.getDetachedCriteria()));
255 }
256
257 public Criterion lt(Object value) {
258 return new CriterionImpl(_property.lt(value));
259 }
260
261 public Criterion ltAll(DynamicQuery subselect) {
262 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
263
264 return new CriterionImpl(
265 _property.ltAll(dynamicQueryImpl.getDetachedCriteria()));
266 }
267
268 public Criterion ltProperty(Property other) {
269 PropertyImpl propertyImpl = (PropertyImpl)other;
270
271 return new CriterionImpl(
272 _property.ltProperty(propertyImpl.getWrappedProperty()));
273 }
274
275 public Criterion ltProperty(String other) {
276 return new CriterionImpl(_property.ltProperty(other));
277 }
278
279 public Criterion ltSome(DynamicQuery subselect) {
280 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
281
282 return new CriterionImpl(
283 _property.ltSome(dynamicQueryImpl.getDetachedCriteria()));
284 }
285
286 public Projection max() {
287 return new ProjectionImpl(_property.max());
288 }
289
290 public Projection min() {
291 return new ProjectionImpl(_property.min());
292 }
293
294 public Criterion ne(DynamicQuery subselect) {
295 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
296
297 return new CriterionImpl(
298 _property.ne(dynamicQueryImpl.getDetachedCriteria()));
299 }
300
301 public Criterion ne(Object value) {
302 return new CriterionImpl(_property.ne(value));
303 }
304
305 public Criterion neProperty(Property other) {
306 PropertyImpl propertyImpl = (PropertyImpl)other;
307
308 return new CriterionImpl(
309 _property.neProperty(propertyImpl.getWrappedProperty()));
310 }
311
312 public Criterion neProperty(String other) {
313 return new CriterionImpl(_property.neProperty(other));
314 }
315
316 public Criterion notIn(DynamicQuery subselect) {
317 DynamicQueryImpl dynamicQueryImpl = (DynamicQueryImpl)subselect;
318
319 return new CriterionImpl(
320 _property.notIn(dynamicQueryImpl.getDetachedCriteria()));
321 }
322
323 private org.hibernate.criterion.Property _property;
324
325 }