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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
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, com.liferay.portal.kernel.util.OrderByComparator obc)
180         throws com.liferay.portal.kernel.exception.SystemException;
181 
182     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_First(
183         long groupId, long toFolderId, java.lang.String toName,
184         com.liferay.portal.kernel.util.OrderByComparator obc)
185         throws com.liferay.portal.kernel.exception.SystemException,
186             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
187 
188     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_Last(
189         long groupId, long toFolderId, java.lang.String toName,
190         com.liferay.portal.kernel.util.OrderByComparator obc)
191         throws com.liferay.portal.kernel.exception.SystemException,
192             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
193 
194     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_PrevAndNext(
195         long fileShortcutId, long groupId, long toFolderId,
196         java.lang.String toName,
197         com.liferay.portal.kernel.util.OrderByComparator obc)
198         throws com.liferay.portal.kernel.exception.SystemException,
199             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
200 
201     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
202         long groupId, long toFolderId, java.lang.String toName, int status)
203         throws com.liferay.portal.kernel.exception.SystemException;
204 
205     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
206         long groupId, long toFolderId, java.lang.String toName, int status,
207         int start, int end)
208         throws com.liferay.portal.kernel.exception.SystemException;
209 
210     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
211         long groupId, long toFolderId, java.lang.String toName, int status,
212         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
213         throws com.liferay.portal.kernel.exception.SystemException;
214 
215     public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_First(
216         long groupId, long toFolderId, java.lang.String toName, int status,
217         com.liferay.portal.kernel.util.OrderByComparator obc)
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_S_Last(
222         long groupId, long toFolderId, java.lang.String toName, int status,
223         com.liferay.portal.kernel.util.OrderByComparator obc)
224         throws com.liferay.portal.kernel.exception.SystemException,
225             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
226 
227     public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(
228         long fileShortcutId, long groupId, long toFolderId,
229         java.lang.String toName, int status,
230         com.liferay.portal.kernel.util.OrderByComparator obc)
231         throws com.liferay.portal.kernel.exception.SystemException,
232             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
233 
234     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
235         throws com.liferay.portal.kernel.exception.SystemException;
236 
237     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
238         int start, int end)
239         throws com.liferay.portal.kernel.exception.SystemException;
240 
241     public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
242         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
243         throws com.liferay.portal.kernel.exception.SystemException;
244 
245     public void removeByUuid(java.lang.String uuid)
246         throws com.liferay.portal.kernel.exception.SystemException;
247 
248     public void removeByUUID_G(java.lang.String uuid, long groupId)
249         throws com.liferay.portal.kernel.exception.SystemException,
250             com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
251 
252     public void removeByG_F(long groupId, long folderId)
253         throws com.liferay.portal.kernel.exception.SystemException;
254 
255     public void removeByG_F_S(long groupId, long folderId, int status)
256         throws com.liferay.portal.kernel.exception.SystemException;
257 
258     public void removeByG_TF_TN(long groupId, long toFolderId,
259         java.lang.String toName)
260         throws com.liferay.portal.kernel.exception.SystemException;
261 
262     public void removeByG_TF_TN_S(long groupId, long toFolderId,
263         java.lang.String toName, int status)
264         throws com.liferay.portal.kernel.exception.SystemException;
265 
266     public void removeAll()
267         throws com.liferay.portal.kernel.exception.SystemException;
268 
269     public int countByUuid(java.lang.String uuid)
270         throws com.liferay.portal.kernel.exception.SystemException;
271 
272     public int countByUUID_G(java.lang.String uuid, long groupId)
273         throws com.liferay.portal.kernel.exception.SystemException;
274 
275     public int countByG_F(long groupId, long folderId)
276         throws com.liferay.portal.kernel.exception.SystemException;
277 
278     public int countByG_F_S(long groupId, long folderId, int status)
279         throws com.liferay.portal.kernel.exception.SystemException;
280 
281     public int countByG_TF_TN(long groupId, long toFolderId,
282         java.lang.String toName)
283         throws com.liferay.portal.kernel.exception.SystemException;
284 
285     public int countByG_TF_TN_S(long groupId, long toFolderId,
286         java.lang.String toName, int status)
287         throws com.liferay.portal.kernel.exception.SystemException;
288 
289     public int countAll()
290         throws com.liferay.portal.kernel.exception.SystemException;
291 }