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> findByG_F_S(
139         long groupId, long folderId, int status)
140         throws com.liferay.portal.kernel.exception.SystemException;
141 
142     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
143         long groupId, long folderId, int status, int start, int end)
144         throws com.liferay.portal.kernel.exception.SystemException;
145 
146     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
147         long groupId, long folderId, int status, int start, int end,
148         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149         throws com.liferay.portal.kernel.exception.SystemException;
150 
151     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_First(
152         long groupId, long folderId, int status,
153         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154         throws com.liferay.portal.kernel.exception.SystemException,
155             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
156 
157     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_Last(
158         long groupId, long folderId, int status,
159         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160         throws com.liferay.portal.kernel.exception.SystemException,
161             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
162 
163     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_S_PrevAndNext(
164         long fileShortcutId, long groupId, long folderId, int status,
165         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166         throws com.liferay.portal.kernel.exception.SystemException,
167             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
168 
169     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
170         long groupId, long toFolderId, java.lang.String toName)
171         throws com.liferay.portal.kernel.exception.SystemException;
172 
173     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
174         long groupId, long toFolderId, java.lang.String toName, int start,
175         int end) throws com.liferay.portal.kernel.exception.SystemException;
176 
177     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
178         long groupId, long toFolderId, java.lang.String toName, int start,
179         int end,
180         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
181         throws com.liferay.portal.kernel.exception.SystemException;
182 
183     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_First(
184         long groupId, long toFolderId, java.lang.String toName,
185         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186         throws com.liferay.portal.kernel.exception.SystemException,
187             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
188 
189     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_Last(
190         long groupId, long toFolderId, java.lang.String toName,
191         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
192         throws com.liferay.portal.kernel.exception.SystemException,
193             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
194 
195     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_PrevAndNext(
196         long fileShortcutId, long groupId, long toFolderId,
197         java.lang.String toName,
198         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
199         throws com.liferay.portal.kernel.exception.SystemException,
200             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
201 
202     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
203         long groupId, long toFolderId, java.lang.String toName, int status)
204         throws com.liferay.portal.kernel.exception.SystemException;
205 
206     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
207         long groupId, long toFolderId, java.lang.String toName, int status,
208         int start, int end)
209         throws com.liferay.portal.kernel.exception.SystemException;
210 
211     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
212         long groupId, long toFolderId, java.lang.String toName, int status,
213         int start, int end,
214         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
215         throws com.liferay.portal.kernel.exception.SystemException;
216 
217     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_First(
218         long groupId, long toFolderId, java.lang.String toName, int status,
219         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220         throws com.liferay.portal.kernel.exception.SystemException,
221             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
222 
223     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_Last(
224         long groupId, long toFolderId, java.lang.String toName, int status,
225         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226         throws com.liferay.portal.kernel.exception.SystemException,
227             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
228 
229     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(
230         long fileShortcutId, long groupId, long toFolderId,
231         java.lang.String toName, int status,
232         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
233         throws com.liferay.portal.kernel.exception.SystemException,
234             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
235 
236     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
237         throws com.liferay.portal.kernel.exception.SystemException;
238 
239     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
240         int start, int end)
241         throws com.liferay.portal.kernel.exception.SystemException;
242 
243     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
244         int start, int end,
245         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
246         throws com.liferay.portal.kernel.exception.SystemException;
247 
248     public void removeByUuid(java.lang.String uuid)
249         throws com.liferay.portal.kernel.exception.SystemException;
250 
251     public void removeByUUID_G(java.lang.String uuid, long groupId)
252         throws com.liferay.portal.kernel.exception.SystemException,
253             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
254 
255     public void removeByG_F(long groupId, long folderId)
256         throws com.liferay.portal.kernel.exception.SystemException;
257 
258     public void removeByG_F_S(long groupId, long folderId, int status)
259         throws com.liferay.portal.kernel.exception.SystemException;
260 
261     public void removeByG_TF_TN(long groupId, long toFolderId,
262         java.lang.String toName)
263         throws com.liferay.portal.kernel.exception.SystemException;
264 
265     public void removeByG_TF_TN_S(long groupId, long toFolderId,
266         java.lang.String toName, int status)
267         throws com.liferay.portal.kernel.exception.SystemException;
268 
269     public void removeAll()
270         throws com.liferay.portal.kernel.exception.SystemException;
271 
272     public int countByUuid(java.lang.String uuid)
273         throws com.liferay.portal.kernel.exception.SystemException;
274 
275     public int countByUUID_G(java.lang.String uuid, long groupId)
276         throws com.liferay.portal.kernel.exception.SystemException;
277 
278     public int countByG_F(long groupId, long folderId)
279         throws com.liferay.portal.kernel.exception.SystemException;
280 
281     public int countByG_F_S(long groupId, long folderId, int status)
282         throws com.liferay.portal.kernel.exception.SystemException;
283 
284     public int countByG_TF_TN(long groupId, long toFolderId,
285         java.lang.String toName)
286         throws com.liferay.portal.kernel.exception.SystemException;
287 
288     public int countByG_TF_TN_S(long groupId, long toFolderId,
289         java.lang.String toName, int status)
290         throws com.liferay.portal.kernel.exception.SystemException;
291 
292     public int countAll()
293         throws com.liferay.portal.kernel.exception.SystemException;
294 }