1   /**
2    * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.kernel.dao.orm;
24  
25  import java.util.Collection;
26  
27  /**
28   * <a href="Property.java.html"><b><i>View Source</i></b></a>
29   *
30   * @author Brian Wing Shun Chan
31   *
32   */
33  public interface Property extends Projection {
34  
35      public Order asc();
36  
37      public Projection avg();
38  
39      public Criterion between(Object min, Object max);
40  
41      public Projection count();
42  
43      public Order desc();
44  
45      public Criterion eq(DynamicQuery subselect);
46  
47      public Criterion eq(Object value);
48  
49      public Criterion eqAll(DynamicQuery subselect);
50  
51      public Criterion eqProperty(Property other);
52  
53      public Criterion eqProperty(String other);
54  
55      public Criterion ge(DynamicQuery subselect);
56  
57      public Criterion ge(Object value);
58  
59      public Criterion geAll(DynamicQuery subselect);
60  
61      public Criterion geProperty(Property other);
62  
63      public Criterion geProperty(String other);
64  
65      public Criterion geSome(DynamicQuery subselect);
66  
67      public Property getProperty(String propertyName);
68  
69      public Projection group();
70  
71      public Criterion gt(DynamicQuery subselect);
72  
73      public Criterion gt(Object value);
74  
75      public Criterion gtAll(DynamicQuery subselect);
76  
77      public Criterion gtProperty(Property other);
78  
79      public Criterion gtProperty(String other);
80  
81      public Criterion gtSome(DynamicQuery subselect);
82  
83      public Criterion in(Collection values);
84  
85      public Criterion in(DynamicQuery subselect);
86  
87      public Criterion in(Object[] values);
88  
89      public Criterion isEmpty();
90  
91      public Criterion isNotEmpty();
92  
93      public Criterion isNotNull();
94  
95      public Criterion isNull();
96  
97      public Criterion le(DynamicQuery subselect);
98  
99      public Criterion le(Object value);
100 
101     public Criterion leAll(DynamicQuery subselect);
102 
103     public Criterion leProperty(Property other);
104 
105     public Criterion leProperty(String other);
106 
107     public Criterion leSome(DynamicQuery subselect);
108 
109     public Criterion like(Object value);
110 
111     public Criterion lt(DynamicQuery subselect);
112 
113     public Criterion lt(Object value);
114 
115     public Criterion ltAll(DynamicQuery subselect);
116 
117     public Criterion ltProperty(Property other);
118 
119     public Criterion ltProperty(String other);
120 
121     public Criterion ltSome(DynamicQuery subselect);
122 
123     public Projection max();
124 
125     public Projection min();
126 
127     public Criterion ne(DynamicQuery subselect);
128 
129     public Criterion ne(Object value);
130 
131     public Criterion neProperty(Property other);
132 
133     public Criterion neProperty(String other);
134 
135     public Criterion notIn(DynamicQuery subselect);
136 
137 }