1
22
23 package com.liferay.portlet.expando.service.persistence;
24
25
31 public interface ExpandoValuePersistence {
32 public com.liferay.portlet.expando.model.ExpandoValue create(long valueId);
33
34 public com.liferay.portlet.expando.model.ExpandoValue remove(long valueId)
35 throws com.liferay.portal.SystemException,
36 com.liferay.portlet.expando.NoSuchValueException;
37
38 public com.liferay.portlet.expando.model.ExpandoValue remove(
39 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
40 throws com.liferay.portal.SystemException;
41
42
45 public com.liferay.portlet.expando.model.ExpandoValue update(
46 com.liferay.portlet.expando.model.ExpandoValue expandoValue)
47 throws com.liferay.portal.SystemException;
48
49
62 public com.liferay.portlet.expando.model.ExpandoValue update(
63 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
64 boolean merge) throws com.liferay.portal.SystemException;
65
66 public com.liferay.portlet.expando.model.ExpandoValue updateImpl(
67 com.liferay.portlet.expando.model.ExpandoValue expandoValue,
68 boolean merge) throws com.liferay.portal.SystemException;
69
70 public com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
71 long valueId)
72 throws com.liferay.portal.SystemException,
73 com.liferay.portlet.expando.NoSuchValueException;
74
75 public com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
76 long valueId) throws com.liferay.portal.SystemException;
77
78 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
79 long tableId) throws com.liferay.portal.SystemException;
80
81 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
82 long tableId, int start, int end)
83 throws com.liferay.portal.SystemException;
84
85 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
86 long tableId, int start, int end,
87 com.liferay.portal.kernel.util.OrderByComparator obc)
88 throws com.liferay.portal.SystemException;
89
90 public com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
91 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
92 throws com.liferay.portal.SystemException,
93 com.liferay.portlet.expando.NoSuchValueException;
94
95 public com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
96 long tableId, com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.expando.NoSuchValueException;
99
100 public com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
101 long valueId, long tableId,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.expando.NoSuchValueException;
105
106 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
107 long columnId) throws com.liferay.portal.SystemException;
108
109 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
110 long columnId, int start, int end)
111 throws com.liferay.portal.SystemException;
112
113 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
114 long columnId, int start, int end,
115 com.liferay.portal.kernel.util.OrderByComparator obc)
116 throws com.liferay.portal.SystemException;
117
118 public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
119 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
120 throws com.liferay.portal.SystemException,
121 com.liferay.portlet.expando.NoSuchValueException;
122
123 public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
124 long columnId, com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.expando.NoSuchValueException;
127
128 public com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
129 long valueId, long columnId,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException,
132 com.liferay.portlet.expando.NoSuchValueException;
133
134 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
135 long rowId) throws com.liferay.portal.SystemException;
136
137 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
138 long rowId, int start, int end)
139 throws com.liferay.portal.SystemException;
140
141 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
142 long rowId, int start, int end,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException;
145
146 public com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
147 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
148 throws com.liferay.portal.SystemException,
149 com.liferay.portlet.expando.NoSuchValueException;
150
151 public com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
152 long rowId, com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portlet.expando.NoSuchValueException;
155
156 public com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
157 long valueId, long rowId,
158 com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.expando.NoSuchValueException;
161
162 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
163 long tableId, long rowId) throws com.liferay.portal.SystemException;
164
165 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
166 long tableId, long rowId, int start, int end)
167 throws com.liferay.portal.SystemException;
168
169 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
170 long tableId, long rowId, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException;
173
174 public com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
175 long tableId, long rowId,
176 com.liferay.portal.kernel.util.OrderByComparator obc)
177 throws com.liferay.portal.SystemException,
178 com.liferay.portlet.expando.NoSuchValueException;
179
180 public com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
181 long tableId, long rowId,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.expando.NoSuchValueException;
185
186 public com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
187 long valueId, long tableId, long rowId,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.expando.NoSuchValueException;
191
192 public com.liferay.portlet.expando.model.ExpandoValue findByC_R(
193 long columnId, long rowId)
194 throws com.liferay.portal.SystemException,
195 com.liferay.portlet.expando.NoSuchValueException;
196
197 public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
198 long columnId, long rowId) throws com.liferay.portal.SystemException;
199
200 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
201 long classNameId, long classPK)
202 throws com.liferay.portal.SystemException;
203
204 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
205 long classNameId, long classPK, int start, int end)
206 throws com.liferay.portal.SystemException;
207
208 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
209 long classNameId, long classPK, int start, int end,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException;
212
213 public com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
214 long classNameId, long classPK,
215 com.liferay.portal.kernel.util.OrderByComparator obc)
216 throws com.liferay.portal.SystemException,
217 com.liferay.portlet.expando.NoSuchValueException;
218
219 public com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
220 long classNameId, long classPK,
221 com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException,
223 com.liferay.portlet.expando.NoSuchValueException;
224
225 public com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
226 long valueId, long classNameId, long classPK,
227 com.liferay.portal.kernel.util.OrderByComparator obc)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.expando.NoSuchValueException;
230
231 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_R(
232 long tableId, long columnId, long rowId)
233 throws com.liferay.portal.SystemException,
234 com.liferay.portlet.expando.NoSuchValueException;
235
236 public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_R(
237 long tableId, long columnId, long rowId)
238 throws com.liferay.portal.SystemException;
239
240 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_C_C(
241 long tableId, long columnId, long classNameId, long classPK)
242 throws com.liferay.portal.SystemException;
243
244 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_C_C(
245 long tableId, long columnId, long classNameId, long classPK, int start,
246 int end) throws com.liferay.portal.SystemException;
247
248 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_C_C(
249 long tableId, long columnId, long classNameId, long classPK, int start,
250 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
251 throws com.liferay.portal.SystemException;
252
253 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C_C_First(
254 long tableId, long columnId, long classNameId, long classPK,
255 com.liferay.portal.kernel.util.OrderByComparator obc)
256 throws com.liferay.portal.SystemException,
257 com.liferay.portlet.expando.NoSuchValueException;
258
259 public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C_C_Last(
260 long tableId, long columnId, long classNameId, long classPK,
261 com.liferay.portal.kernel.util.OrderByComparator obc)
262 throws com.liferay.portal.SystemException,
263 com.liferay.portlet.expando.NoSuchValueException;
264
265 public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_C_C_PrevAndNext(
266 long valueId, long tableId, long columnId, long classNameId,
267 long classPK, com.liferay.portal.kernel.util.OrderByComparator obc)
268 throws com.liferay.portal.SystemException,
269 com.liferay.portlet.expando.NoSuchValueException;
270
271 public java.util.List<Object> findWithDynamicQuery(
272 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
273 throws com.liferay.portal.SystemException;
274
275 public java.util.List<Object> findWithDynamicQuery(
276 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
277 int end) throws com.liferay.portal.SystemException;
278
279 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
280 throws com.liferay.portal.SystemException;
281
282 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
283 int start, int end) throws com.liferay.portal.SystemException;
284
285 public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
286 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
287 throws com.liferay.portal.SystemException;
288
289 public void removeByTableId(long tableId)
290 throws com.liferay.portal.SystemException;
291
292 public void removeByColumnId(long columnId)
293 throws com.liferay.portal.SystemException;
294
295 public void removeByRowId(long rowId)
296 throws com.liferay.portal.SystemException;
297
298 public void removeByT_R(long tableId, long rowId)
299 throws com.liferay.portal.SystemException;
300
301 public void removeByC_R(long columnId, long rowId)
302 throws com.liferay.portal.SystemException,
303 com.liferay.portlet.expando.NoSuchValueException;
304
305 public void removeByC_C(long classNameId, long classPK)
306 throws com.liferay.portal.SystemException;
307
308 public void removeByT_C_R(long tableId, long columnId, long rowId)
309 throws com.liferay.portal.SystemException,
310 com.liferay.portlet.expando.NoSuchValueException;
311
312 public void removeByT_C_C_C(long tableId, long columnId, long classNameId,
313 long classPK) throws com.liferay.portal.SystemException;
314
315 public void removeAll() throws com.liferay.portal.SystemException;
316
317 public int countByTableId(long tableId)
318 throws com.liferay.portal.SystemException;
319
320 public int countByColumnId(long columnId)
321 throws com.liferay.portal.SystemException;
322
323 public int countByRowId(long rowId)
324 throws com.liferay.portal.SystemException;
325
326 public int countByT_R(long tableId, long rowId)
327 throws com.liferay.portal.SystemException;
328
329 public int countByC_R(long columnId, long rowId)
330 throws com.liferay.portal.SystemException;
331
332 public int countByC_C(long classNameId, long classPK)
333 throws com.liferay.portal.SystemException;
334
335 public int countByT_C_R(long tableId, long columnId, long rowId)
336 throws com.liferay.portal.SystemException;
337
338 public int countByT_C_C_C(long tableId, long columnId, long classNameId,
339 long classPK) throws com.liferay.portal.SystemException;
340
341 public int countAll() throws com.liferay.portal.SystemException;
342
343 public void registerListener(
344 com.liferay.portal.model.ModelListener listener);
345
346 public void unregisterListener(
347 com.liferay.portal.model.ModelListener listener);
348 }