1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.documentlibrary.service.persistence;
16  
17  import com.liferay.portal.service.persistence.BasePersistence;
18  
19  import com.liferay.portlet.documentlibrary.model.DLFileShortcut;
20  
21  /**
22   * <a href="DLFileShortcutPersistence.java.html"><b><i>View Source</i></b></a>
23   *
24   * <p>
25   * ServiceBuilder generated this class. Modifications in this class will be
26   * overwritten the next time is generated.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       DLFileShortcutPersistenceImpl
31   * @see       DLFileShortcutUtil
32   * @generated
33   */
34  public interface DLFileShortcutPersistence extends BasePersistence<DLFileShortcut> {
35      public void cacheResult(
36          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut);
37  
38      public void cacheResult(
39          java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts);
40  
41      public com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
42          long fileShortcutId);
43  
44      public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
45          long fileShortcutId)
46          throws com.liferay.portal.kernel.exception.SystemException,
47              com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
48  
49      public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
50          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
51          boolean merge)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
55          long fileShortcutId)
56          throws com.liferay.portal.kernel.exception.SystemException,
57              com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
58  
59      public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
60          long fileShortcutId)
61          throws com.liferay.portal.kernel.exception.SystemException;
62  
63      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
64          java.lang.String uuid)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
68          java.lang.String uuid, int start, int end)
69          throws com.liferay.portal.kernel.exception.SystemException;
70  
71      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
72          java.lang.String uuid, int start, int end,
73          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
74          throws com.liferay.portal.kernel.exception.SystemException;
75  
76      public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First(
77          java.lang.String uuid,
78          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79          throws com.liferay.portal.kernel.exception.SystemException,
80              com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
81  
82      public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last(
83          java.lang.String uuid,
84          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
85          throws com.liferay.portal.kernel.exception.SystemException,
86              com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
87  
88      public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext(
89          long fileShortcutId, java.lang.String uuid,
90          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91          throws com.liferay.portal.kernel.exception.SystemException,
92              com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
93  
94      public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G(
95          java.lang.String uuid, long groupId)
96          throws com.liferay.portal.kernel.exception.SystemException,
97              com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
98  
99      public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
100         java.lang.String uuid, long groupId)
101         throws com.liferay.portal.kernel.exception.SystemException;
102 
103     public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
104         java.lang.String uuid, long groupId, boolean retrieveFromCache)
105         throws com.liferay.portal.kernel.exception.SystemException;
106 
107     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
108         long groupId, long folderId)
109         throws com.liferay.portal.kernel.exception.SystemException;
110 
111     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
112         long groupId, long folderId, int start, int end)
113         throws com.liferay.portal.kernel.exception.SystemException;
114 
115     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
116         long groupId, long folderId, int start, int end,
117         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
118         throws com.liferay.portal.kernel.exception.SystemException;
119 
120     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First(
121         long groupId, long folderId,
122         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
123         throws com.liferay.portal.kernel.exception.SystemException,
124             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
125 
126     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last(
127         long groupId, long folderId,
128         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
129         throws com.liferay.portal.kernel.exception.SystemException,
130             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
131 
132     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext(
133         long fileShortcutId, long groupId, long folderId,
134         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135         throws com.liferay.portal.kernel.exception.SystemException,
136             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
137 
138     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
139         long groupId, long folderId)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
143         long groupId, long folderId, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
147         long groupId, long folderId, int start, int end,
148         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
152         long groupId, long folderId, int status)
153         throws com.liferay.portal.kernel.exception.SystemException;
154 
155     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
156         long groupId, long folderId, int status, int start, int end)
157         throws com.liferay.portal.kernel.exception.SystemException;
158 
159     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
160         long groupId, long folderId, int status, int start, int end,
161         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162         throws com.liferay.portal.kernel.exception.SystemException;
163 
164     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_First(
165         long groupId, long folderId, int status,
166         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167         throws com.liferay.portal.kernel.exception.SystemException,
168             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
169 
170     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_Last(
171         long groupId, long folderId, int status,
172         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173         throws com.liferay.portal.kernel.exception.SystemException,
174             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
175 
176     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_S_PrevAndNext(
177         long fileShortcutId, long groupId, long folderId, int status,
178         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179         throws com.liferay.portal.kernel.exception.SystemException,
180             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
181 
182     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
183         long groupId, long folderId, int status)
184         throws com.liferay.portal.kernel.exception.SystemException;
185 
186     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
187         long groupId, long folderId, int status, int start, int end)
188         throws com.liferay.portal.kernel.exception.SystemException;
189 
190     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
191         long groupId, long folderId, int status, int start, int end,
192         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193         throws com.liferay.portal.kernel.exception.SystemException;
194 
195     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
196         long groupId, long toFolderId, java.lang.String toName)
197         throws com.liferay.portal.kernel.exception.SystemException;
198 
199     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
200         long groupId, long toFolderId, java.lang.String toName, int start,
201         int end) throws com.liferay.portal.kernel.exception.SystemException;
202 
203     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
204         long groupId, long toFolderId, java.lang.String toName, int start,
205         int end,
206         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207         throws com.liferay.portal.kernel.exception.SystemException;
208 
209     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_First(
210         long groupId, long toFolderId, java.lang.String toName,
211         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
212         throws com.liferay.portal.kernel.exception.SystemException,
213             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
214 
215     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_Last(
216         long groupId, long toFolderId, java.lang.String toName,
217         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
218         throws com.liferay.portal.kernel.exception.SystemException,
219             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
220 
221     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_PrevAndNext(
222         long fileShortcutId, long groupId, long toFolderId,
223         java.lang.String toName,
224         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
225         throws com.liferay.portal.kernel.exception.SystemException,
226             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
227 
228     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
229         long groupId, long toFolderId, java.lang.String toName)
230         throws com.liferay.portal.kernel.exception.SystemException;
231 
232     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
233         long groupId, long toFolderId, java.lang.String toName, int start,
234         int end) throws com.liferay.portal.kernel.exception.SystemException;
235 
236     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
237         long groupId, long toFolderId, java.lang.String toName, int start,
238         int end,
239         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
240         throws com.liferay.portal.kernel.exception.SystemException;
241 
242     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
243         long groupId, long toFolderId, java.lang.String toName, int status)
244         throws com.liferay.portal.kernel.exception.SystemException;
245 
246     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
247         long groupId, long toFolderId, java.lang.String toName, int status,
248         int start, int end)
249         throws com.liferay.portal.kernel.exception.SystemException;
250 
251     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
252         long groupId, long toFolderId, java.lang.String toName, int status,
253         int start, int end,
254         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255         throws com.liferay.portal.kernel.exception.SystemException;
256 
257     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_First(
258         long groupId, long toFolderId, java.lang.String toName, int status,
259         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
260         throws com.liferay.portal.kernel.exception.SystemException,
261             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
262 
263     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_Last(
264         long groupId, long toFolderId, java.lang.String toName, int status,
265         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
266         throws com.liferay.portal.kernel.exception.SystemException,
267             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
268 
269     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(
270         long fileShortcutId, long groupId, long toFolderId,
271         java.lang.String toName, int status,
272         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
273         throws com.liferay.portal.kernel.exception.SystemException,
274             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
275 
276     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
277         long groupId, long toFolderId, java.lang.String toName, int status)
278         throws com.liferay.portal.kernel.exception.SystemException;
279 
280     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
281         long groupId, long toFolderId, java.lang.String toName, int status,
282         int start, int end)
283         throws com.liferay.portal.kernel.exception.SystemException;
284 
285     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
286         long groupId, long toFolderId, java.lang.String toName, int status,
287         int start, int end,
288         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
289         throws com.liferay.portal.kernel.exception.SystemException;
290 
291     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
292         throws com.liferay.portal.kernel.exception.SystemException;
293 
294     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
295         int start, int end)
296         throws com.liferay.portal.kernel.exception.SystemException;
297 
298     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
299         int start, int end,
300         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
301         throws com.liferay.portal.kernel.exception.SystemException;
302 
303     public void removeByUuid(java.lang.String uuid)
304         throws com.liferay.portal.kernel.exception.SystemException;
305 
306     public void removeByUUID_G(java.lang.String uuid, long groupId)
307         throws com.liferay.portal.kernel.exception.SystemException,
308             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
309 
310     public void removeByG_F(long groupId, long folderId)
311         throws com.liferay.portal.kernel.exception.SystemException;
312 
313     public void removeByG_F_S(long groupId, long folderId, int status)
314         throws com.liferay.portal.kernel.exception.SystemException;
315 
316     public void removeByG_TF_TN(long groupId, long toFolderId,
317         java.lang.String toName)
318         throws com.liferay.portal.kernel.exception.SystemException;
319 
320     public void removeByG_TF_TN_S(long groupId, long toFolderId,
321         java.lang.String toName, int status)
322         throws com.liferay.portal.kernel.exception.SystemException;
323 
324     public void removeAll()
325         throws com.liferay.portal.kernel.exception.SystemException;
326 
327     public int countByUuid(java.lang.String uuid)
328         throws com.liferay.portal.kernel.exception.SystemException;
329 
330     public int countByUUID_G(java.lang.String uuid, long groupId)
331         throws com.liferay.portal.kernel.exception.SystemException;
332 
333     public int countByG_F(long groupId, long folderId)
334         throws com.liferay.portal.kernel.exception.SystemException;
335 
336     public int filterCountByG_F(long groupId, long folderId)
337         throws com.liferay.portal.kernel.exception.SystemException;
338 
339     public int countByG_F_S(long groupId, long folderId, int status)
340         throws com.liferay.portal.kernel.exception.SystemException;
341 
342     public int filterCountByG_F_S(long groupId, long folderId, int status)
343         throws com.liferay.portal.kernel.exception.SystemException;
344 
345     public int countByG_TF_TN(long groupId, long toFolderId,
346         java.lang.String toName)
347         throws com.liferay.portal.kernel.exception.SystemException;
348 
349     public int filterCountByG_TF_TN(long groupId, long toFolderId,
350         java.lang.String toName)
351         throws com.liferay.portal.kernel.exception.SystemException;
352 
353     public int countByG_TF_TN_S(long groupId, long toFolderId,
354         java.lang.String toName, int status)
355         throws com.liferay.portal.kernel.exception.SystemException;
356 
357     public int filterCountByG_TF_TN_S(long groupId, long toFolderId,
358         java.lang.String toName, int status)
359         throws com.liferay.portal.kernel.exception.SystemException;
360 
361     public int countAll()
362         throws com.liferay.portal.kernel.exception.SystemException;
363 }