001    /**
002     * Copyright (c) 2000-2010 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.portlet.expando.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.expando.model.ExpandoValue;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       ExpandoValuePersistenceImpl
024     * @see       ExpandoValueUtil
025     * @generated
026     */
027    public interface ExpandoValuePersistence extends BasePersistence<ExpandoValue> {
028            public void cacheResult(
029                    com.liferay.portlet.expando.model.ExpandoValue expandoValue);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.expando.model.ExpandoValue> expandoValues);
033    
034            public com.liferay.portlet.expando.model.ExpandoValue create(long valueId);
035    
036            public com.liferay.portlet.expando.model.ExpandoValue remove(long valueId)
037                    throws com.liferay.portal.kernel.exception.SystemException,
038                            com.liferay.portlet.expando.NoSuchValueException;
039    
040            public com.liferay.portlet.expando.model.ExpandoValue updateImpl(
041                    com.liferay.portlet.expando.model.ExpandoValue expandoValue,
042                    boolean merge)
043                    throws com.liferay.portal.kernel.exception.SystemException;
044    
045            public com.liferay.portlet.expando.model.ExpandoValue findByPrimaryKey(
046                    long valueId)
047                    throws com.liferay.portal.kernel.exception.SystemException,
048                            com.liferay.portlet.expando.NoSuchValueException;
049    
050            public com.liferay.portlet.expando.model.ExpandoValue fetchByPrimaryKey(
051                    long valueId)
052                    throws com.liferay.portal.kernel.exception.SystemException;
053    
054            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
055                    long tableId)
056                    throws com.liferay.portal.kernel.exception.SystemException;
057    
058            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
059                    long tableId, int start, int end)
060                    throws com.liferay.portal.kernel.exception.SystemException;
061    
062            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByTableId(
063                    long tableId, int start, int end,
064                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
065                    throws com.liferay.portal.kernel.exception.SystemException;
066    
067            public com.liferay.portlet.expando.model.ExpandoValue findByTableId_First(
068                    long tableId,
069                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
070                    throws com.liferay.portal.kernel.exception.SystemException,
071                            com.liferay.portlet.expando.NoSuchValueException;
072    
073            public com.liferay.portlet.expando.model.ExpandoValue findByTableId_Last(
074                    long tableId,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException,
077                            com.liferay.portlet.expando.NoSuchValueException;
078    
079            public com.liferay.portlet.expando.model.ExpandoValue[] findByTableId_PrevAndNext(
080                    long valueId, long tableId,
081                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
082                    throws com.liferay.portal.kernel.exception.SystemException,
083                            com.liferay.portlet.expando.NoSuchValueException;
084    
085            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
086                    long columnId)
087                    throws com.liferay.portal.kernel.exception.SystemException;
088    
089            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
090                    long columnId, int start, int end)
091                    throws com.liferay.portal.kernel.exception.SystemException;
092    
093            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByColumnId(
094                    long columnId, int start, int end,
095                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
096                    throws com.liferay.portal.kernel.exception.SystemException;
097    
098            public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_First(
099                    long columnId,
100                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
101                    throws com.liferay.portal.kernel.exception.SystemException,
102                            com.liferay.portlet.expando.NoSuchValueException;
103    
104            public com.liferay.portlet.expando.model.ExpandoValue findByColumnId_Last(
105                    long columnId,
106                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
107                    throws com.liferay.portal.kernel.exception.SystemException,
108                            com.liferay.portlet.expando.NoSuchValueException;
109    
110            public com.liferay.portlet.expando.model.ExpandoValue[] findByColumnId_PrevAndNext(
111                    long valueId, long columnId,
112                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
113                    throws com.liferay.portal.kernel.exception.SystemException,
114                            com.liferay.portlet.expando.NoSuchValueException;
115    
116            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
117                    long rowId) throws com.liferay.portal.kernel.exception.SystemException;
118    
119            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
120                    long rowId, int start, int end)
121                    throws com.liferay.portal.kernel.exception.SystemException;
122    
123            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByRowId(
124                    long rowId, int start, int end,
125                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126                    throws com.liferay.portal.kernel.exception.SystemException;
127    
128            public com.liferay.portlet.expando.model.ExpandoValue findByRowId_First(
129                    long rowId,
130                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
131                    throws com.liferay.portal.kernel.exception.SystemException,
132                            com.liferay.portlet.expando.NoSuchValueException;
133    
134            public com.liferay.portlet.expando.model.ExpandoValue findByRowId_Last(
135                    long rowId,
136                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137                    throws com.liferay.portal.kernel.exception.SystemException,
138                            com.liferay.portlet.expando.NoSuchValueException;
139    
140            public com.liferay.portlet.expando.model.ExpandoValue[] findByRowId_PrevAndNext(
141                    long valueId, long rowId,
142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143                    throws com.liferay.portal.kernel.exception.SystemException,
144                            com.liferay.portlet.expando.NoSuchValueException;
145    
146            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
147                    long tableId, long columnId)
148                    throws com.liferay.portal.kernel.exception.SystemException;
149    
150            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
151                    long tableId, long columnId, int start, int end)
152                    throws com.liferay.portal.kernel.exception.SystemException;
153    
154            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C(
155                    long tableId, long columnId, int start, int end,
156                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157                    throws com.liferay.portal.kernel.exception.SystemException;
158    
159            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_First(
160                    long tableId, long columnId,
161                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162                    throws com.liferay.portal.kernel.exception.SystemException,
163                            com.liferay.portlet.expando.NoSuchValueException;
164    
165            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_Last(
166                    long tableId, long columnId,
167                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168                    throws com.liferay.portal.kernel.exception.SystemException,
169                            com.liferay.portlet.expando.NoSuchValueException;
170    
171            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_PrevAndNext(
172                    long valueId, long tableId, long columnId,
173                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
174                    throws com.liferay.portal.kernel.exception.SystemException,
175                            com.liferay.portlet.expando.NoSuchValueException;
176    
177            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
178                    long tableId, long classPK)
179                    throws com.liferay.portal.kernel.exception.SystemException;
180    
181            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
182                    long tableId, long classPK, int start, int end)
183                    throws com.liferay.portal.kernel.exception.SystemException;
184    
185            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_CPK(
186                    long tableId, long classPK, int start, int end,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException;
189    
190            public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_First(
191                    long tableId, long classPK,
192                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193                    throws com.liferay.portal.kernel.exception.SystemException,
194                            com.liferay.portlet.expando.NoSuchValueException;
195    
196            public com.liferay.portlet.expando.model.ExpandoValue findByT_CPK_Last(
197                    long tableId, long classPK,
198                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
199                    throws com.liferay.portal.kernel.exception.SystemException,
200                            com.liferay.portlet.expando.NoSuchValueException;
201    
202            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_CPK_PrevAndNext(
203                    long valueId, long tableId, long classPK,
204                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205                    throws com.liferay.portal.kernel.exception.SystemException,
206                            com.liferay.portlet.expando.NoSuchValueException;
207    
208            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
209                    long tableId, long rowId)
210                    throws com.liferay.portal.kernel.exception.SystemException;
211    
212            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
213                    long tableId, long rowId, int start, int end)
214                    throws com.liferay.portal.kernel.exception.SystemException;
215    
216            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_R(
217                    long tableId, long rowId, int start, int end,
218                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
219                    throws com.liferay.portal.kernel.exception.SystemException;
220    
221            public com.liferay.portlet.expando.model.ExpandoValue findByT_R_First(
222                    long tableId, long rowId,
223                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
224                    throws com.liferay.portal.kernel.exception.SystemException,
225                            com.liferay.portlet.expando.NoSuchValueException;
226    
227            public com.liferay.portlet.expando.model.ExpandoValue findByT_R_Last(
228                    long tableId, long rowId,
229                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
230                    throws com.liferay.portal.kernel.exception.SystemException,
231                            com.liferay.portlet.expando.NoSuchValueException;
232    
233            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_R_PrevAndNext(
234                    long valueId, long tableId, long rowId,
235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
236                    throws com.liferay.portal.kernel.exception.SystemException,
237                            com.liferay.portlet.expando.NoSuchValueException;
238    
239            public com.liferay.portlet.expando.model.ExpandoValue findByC_R(
240                    long columnId, long rowId)
241                    throws com.liferay.portal.kernel.exception.SystemException,
242                            com.liferay.portlet.expando.NoSuchValueException;
243    
244            public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
245                    long columnId, long rowId)
246                    throws com.liferay.portal.kernel.exception.SystemException;
247    
248            public com.liferay.portlet.expando.model.ExpandoValue fetchByC_R(
249                    long columnId, long rowId, boolean retrieveFromCache)
250                    throws com.liferay.portal.kernel.exception.SystemException;
251    
252            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
253                    long classNameId, long classPK)
254                    throws com.liferay.portal.kernel.exception.SystemException;
255    
256            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
257                    long classNameId, long classPK, int start, int end)
258                    throws com.liferay.portal.kernel.exception.SystemException;
259    
260            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByC_C(
261                    long classNameId, long classPK, int start, int end,
262                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
263                    throws com.liferay.portal.kernel.exception.SystemException;
264    
265            public com.liferay.portlet.expando.model.ExpandoValue findByC_C_First(
266                    long classNameId, long classPK,
267                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
268                    throws com.liferay.portal.kernel.exception.SystemException,
269                            com.liferay.portlet.expando.NoSuchValueException;
270    
271            public com.liferay.portlet.expando.model.ExpandoValue findByC_C_Last(
272                    long classNameId, long classPK,
273                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
274                    throws com.liferay.portal.kernel.exception.SystemException,
275                            com.liferay.portlet.expando.NoSuchValueException;
276    
277            public com.liferay.portlet.expando.model.ExpandoValue[] findByC_C_PrevAndNext(
278                    long valueId, long classNameId, long classPK,
279                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
280                    throws com.liferay.portal.kernel.exception.SystemException,
281                            com.liferay.portlet.expando.NoSuchValueException;
282    
283            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_C(
284                    long tableId, long columnId, long classPK)
285                    throws com.liferay.portal.kernel.exception.SystemException,
286                            com.liferay.portlet.expando.NoSuchValueException;
287    
288            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
289                    long tableId, long columnId, long classPK)
290                    throws com.liferay.portal.kernel.exception.SystemException;
291    
292            public com.liferay.portlet.expando.model.ExpandoValue fetchByT_C_C(
293                    long tableId, long columnId, long classPK, boolean retrieveFromCache)
294                    throws com.liferay.portal.kernel.exception.SystemException;
295    
296            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
297                    long tableId, long columnId, java.lang.String data)
298                    throws com.liferay.portal.kernel.exception.SystemException;
299    
300            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
301                    long tableId, long columnId, java.lang.String data, int start, int end)
302                    throws com.liferay.portal.kernel.exception.SystemException;
303    
304            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findByT_C_D(
305                    long tableId, long columnId, java.lang.String data, int start, int end,
306                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    
309            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_First(
310                    long tableId, long columnId, java.lang.String data,
311                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
312                    throws com.liferay.portal.kernel.exception.SystemException,
313                            com.liferay.portlet.expando.NoSuchValueException;
314    
315            public com.liferay.portlet.expando.model.ExpandoValue findByT_C_D_Last(
316                    long tableId, long columnId, java.lang.String data,
317                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
318                    throws com.liferay.portal.kernel.exception.SystemException,
319                            com.liferay.portlet.expando.NoSuchValueException;
320    
321            public com.liferay.portlet.expando.model.ExpandoValue[] findByT_C_D_PrevAndNext(
322                    long valueId, long tableId, long columnId, java.lang.String data,
323                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
324                    throws com.liferay.portal.kernel.exception.SystemException,
325                            com.liferay.portlet.expando.NoSuchValueException;
326    
327            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll()
328                    throws com.liferay.portal.kernel.exception.SystemException;
329    
330            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
331                    int start, int end)
332                    throws com.liferay.portal.kernel.exception.SystemException;
333    
334            public java.util.List<com.liferay.portlet.expando.model.ExpandoValue> findAll(
335                    int start, int end,
336                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
337                    throws com.liferay.portal.kernel.exception.SystemException;
338    
339            public void removeByTableId(long tableId)
340                    throws com.liferay.portal.kernel.exception.SystemException;
341    
342            public void removeByColumnId(long columnId)
343                    throws com.liferay.portal.kernel.exception.SystemException;
344    
345            public void removeByRowId(long rowId)
346                    throws com.liferay.portal.kernel.exception.SystemException;
347    
348            public void removeByT_C(long tableId, long columnId)
349                    throws com.liferay.portal.kernel.exception.SystemException;
350    
351            public void removeByT_CPK(long tableId, long classPK)
352                    throws com.liferay.portal.kernel.exception.SystemException;
353    
354            public void removeByT_R(long tableId, long rowId)
355                    throws com.liferay.portal.kernel.exception.SystemException;
356    
357            public void removeByC_R(long columnId, long rowId)
358                    throws com.liferay.portal.kernel.exception.SystemException,
359                            com.liferay.portlet.expando.NoSuchValueException;
360    
361            public void removeByC_C(long classNameId, long classPK)
362                    throws com.liferay.portal.kernel.exception.SystemException;
363    
364            public void removeByT_C_C(long tableId, long columnId, long classPK)
365                    throws com.liferay.portal.kernel.exception.SystemException,
366                            com.liferay.portlet.expando.NoSuchValueException;
367    
368            public void removeByT_C_D(long tableId, long columnId, java.lang.String data)
369                    throws com.liferay.portal.kernel.exception.SystemException;
370    
371            public void removeAll()
372                    throws com.liferay.portal.kernel.exception.SystemException;
373    
374            public int countByTableId(long tableId)
375                    throws com.liferay.portal.kernel.exception.SystemException;
376    
377            public int countByColumnId(long columnId)
378                    throws com.liferay.portal.kernel.exception.SystemException;
379    
380            public int countByRowId(long rowId)
381                    throws com.liferay.portal.kernel.exception.SystemException;
382    
383            public int countByT_C(long tableId, long columnId)
384                    throws com.liferay.portal.kernel.exception.SystemException;
385    
386            public int countByT_CPK(long tableId, long classPK)
387                    throws com.liferay.portal.kernel.exception.SystemException;
388    
389            public int countByT_R(long tableId, long rowId)
390                    throws com.liferay.portal.kernel.exception.SystemException;
391    
392            public int countByC_R(long columnId, long rowId)
393                    throws com.liferay.portal.kernel.exception.SystemException;
394    
395            public int countByC_C(long classNameId, long classPK)
396                    throws com.liferay.portal.kernel.exception.SystemException;
397    
398            public int countByT_C_C(long tableId, long columnId, long classPK)
399                    throws com.liferay.portal.kernel.exception.SystemException;
400    
401            public int countByT_C_D(long tableId, long columnId, java.lang.String data)
402                    throws com.liferay.portal.kernel.exception.SystemException;
403    
404            public int countAll()
405                    throws com.liferay.portal.kernel.exception.SystemException;
406    }