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.documentlibrary.service.persistence;
016    
017    import com.liferay.portal.service.persistence.BasePersistence;
018    
019    import com.liferay.portlet.documentlibrary.model.DLFileShortcut;
020    
021    /**
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileShortcutPersistenceImpl
024     * @see       DLFileShortcutUtil
025     * @generated
026     */
027    public interface DLFileShortcutPersistence extends BasePersistence<DLFileShortcut> {
028            public void cacheResult(
029                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut);
030    
031            public void cacheResult(
032                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts);
033    
034            public com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
035                    long fileShortcutId);
036    
037            public com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
038                    long fileShortcutId)
039                    throws com.liferay.portal.kernel.exception.SystemException,
040                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
041    
042            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
043                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
044                    boolean merge)
045                    throws com.liferay.portal.kernel.exception.SystemException;
046    
047            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
048                    long fileShortcutId)
049                    throws com.liferay.portal.kernel.exception.SystemException,
050                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
051    
052            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
053                    long fileShortcutId)
054                    throws com.liferay.portal.kernel.exception.SystemException;
055    
056            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
057                    java.lang.String uuid)
058                    throws com.liferay.portal.kernel.exception.SystemException;
059    
060            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
061                    java.lang.String uuid, int start, int end)
062                    throws com.liferay.portal.kernel.exception.SystemException;
063    
064            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
065                    java.lang.String uuid, int start, int end,
066                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067                    throws com.liferay.portal.kernel.exception.SystemException;
068    
069            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First(
070                    java.lang.String uuid,
071                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072                    throws com.liferay.portal.kernel.exception.SystemException,
073                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
074    
075            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last(
076                    java.lang.String uuid,
077                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078                    throws com.liferay.portal.kernel.exception.SystemException,
079                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
080    
081            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext(
082                    long fileShortcutId, java.lang.String uuid,
083                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084                    throws com.liferay.portal.kernel.exception.SystemException,
085                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
086    
087            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G(
088                    java.lang.String uuid, long groupId)
089                    throws com.liferay.portal.kernel.exception.SystemException,
090                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
091    
092            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
093                    java.lang.String uuid, long groupId)
094                    throws com.liferay.portal.kernel.exception.SystemException;
095    
096            public com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
097                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
098                    throws com.liferay.portal.kernel.exception.SystemException;
099    
100            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
101                    long groupId, long folderId)
102                    throws com.liferay.portal.kernel.exception.SystemException;
103    
104            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
105                    long groupId, long folderId, int start, int end)
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    
108            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
109                    long groupId, long folderId, int start, int end,
110                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111                    throws com.liferay.portal.kernel.exception.SystemException;
112    
113            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First(
114                    long groupId, long folderId,
115                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116                    throws com.liferay.portal.kernel.exception.SystemException,
117                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
118    
119            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last(
120                    long groupId, long folderId,
121                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122                    throws com.liferay.portal.kernel.exception.SystemException,
123                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
124    
125            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext(
126                    long fileShortcutId, long groupId, long folderId,
127                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128                    throws com.liferay.portal.kernel.exception.SystemException,
129                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
130    
131            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
132                    long groupId, long folderId)
133                    throws com.liferay.portal.kernel.exception.SystemException;
134    
135            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
136                    long groupId, long folderId, int start, int end)
137                    throws com.liferay.portal.kernel.exception.SystemException;
138    
139            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
140                    long groupId, long folderId, int start, int end,
141                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142                    throws com.liferay.portal.kernel.exception.SystemException;
143    
144            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
145                    long groupId, long folderId, int status)
146                    throws com.liferay.portal.kernel.exception.SystemException;
147    
148            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
149                    long groupId, long folderId, int status, int start, int end)
150                    throws com.liferay.portal.kernel.exception.SystemException;
151    
152            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
153                    long groupId, long folderId, int status, int start, int end,
154                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155                    throws com.liferay.portal.kernel.exception.SystemException;
156    
157            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_First(
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_Last(
164                    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 com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_S_PrevAndNext(
170                    long fileShortcutId, long groupId, long folderId, int status,
171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172                    throws com.liferay.portal.kernel.exception.SystemException,
173                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
174    
175            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
176                    long groupId, long folderId, int status)
177                    throws com.liferay.portal.kernel.exception.SystemException;
178    
179            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
180                    long groupId, long folderId, int status, int start, int end)
181                    throws com.liferay.portal.kernel.exception.SystemException;
182    
183            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
184                    long groupId, long folderId, int status, int start, int end,
185                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186                    throws com.liferay.portal.kernel.exception.SystemException;
187    
188            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
189                    long groupId, long toFolderId, java.lang.String toName)
190                    throws com.liferay.portal.kernel.exception.SystemException;
191    
192            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
193                    long groupId, long toFolderId, java.lang.String toName, int start,
194                    int end) throws com.liferay.portal.kernel.exception.SystemException;
195    
196            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
197                    long groupId, long toFolderId, java.lang.String toName, int start,
198                    int end,
199                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
200                    throws com.liferay.portal.kernel.exception.SystemException;
201    
202            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_First(
203                    long groupId, long toFolderId, java.lang.String toName,
204                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
205                    throws com.liferay.portal.kernel.exception.SystemException,
206                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
207    
208            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_Last(
209                    long groupId, long toFolderId, java.lang.String toName,
210                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211                    throws com.liferay.portal.kernel.exception.SystemException,
212                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
213    
214            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_PrevAndNext(
215                    long fileShortcutId, long groupId, long toFolderId,
216                    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 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
222                    long groupId, long toFolderId, java.lang.String toName)
223                    throws com.liferay.portal.kernel.exception.SystemException;
224    
225            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
226                    long groupId, long toFolderId, java.lang.String toName, int start,
227                    int end) throws com.liferay.portal.kernel.exception.SystemException;
228    
229            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
230                    long groupId, long toFolderId, java.lang.String toName, int start,
231                    int end,
232                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
233                    throws com.liferay.portal.kernel.exception.SystemException;
234    
235            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
236                    long groupId, long toFolderId, java.lang.String toName, int status)
237                    throws com.liferay.portal.kernel.exception.SystemException;
238    
239            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
240                    long groupId, long toFolderId, java.lang.String toName, int status,
241                    int start, int end)
242                    throws com.liferay.portal.kernel.exception.SystemException;
243    
244            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
245                    long groupId, long toFolderId, java.lang.String toName, int status,
246                    int start, int end,
247                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
248                    throws com.liferay.portal.kernel.exception.SystemException;
249    
250            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_First(
251                    long groupId, long toFolderId, java.lang.String toName, int status,
252                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
253                    throws com.liferay.portal.kernel.exception.SystemException,
254                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
255    
256            public com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_Last(
257                    long groupId, long toFolderId, java.lang.String toName, int status,
258                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
259                    throws com.liferay.portal.kernel.exception.SystemException,
260                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
261    
262            public com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(
263                    long fileShortcutId, long groupId, long toFolderId,
264                    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 java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
270                    long groupId, long toFolderId, java.lang.String toName, int status)
271                    throws com.liferay.portal.kernel.exception.SystemException;
272    
273            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
274                    long groupId, long toFolderId, java.lang.String toName, int status,
275                    int start, int end)
276                    throws com.liferay.portal.kernel.exception.SystemException;
277    
278            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
279                    long groupId, long toFolderId, java.lang.String toName, int status,
280                    int start, int end,
281                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
282                    throws com.liferay.portal.kernel.exception.SystemException;
283    
284            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
285                    throws com.liferay.portal.kernel.exception.SystemException;
286    
287            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
288                    int start, int end)
289                    throws com.liferay.portal.kernel.exception.SystemException;
290    
291            public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
292                    int start, int end,
293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
294                    throws com.liferay.portal.kernel.exception.SystemException;
295    
296            public void removeByUuid(java.lang.String uuid)
297                    throws com.liferay.portal.kernel.exception.SystemException;
298    
299            public void removeByUUID_G(java.lang.String uuid, long groupId)
300                    throws com.liferay.portal.kernel.exception.SystemException,
301                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException;
302    
303            public void removeByG_F(long groupId, long folderId)
304                    throws com.liferay.portal.kernel.exception.SystemException;
305    
306            public void removeByG_F_S(long groupId, long folderId, int status)
307                    throws com.liferay.portal.kernel.exception.SystemException;
308    
309            public void removeByG_TF_TN(long groupId, long toFolderId,
310                    java.lang.String toName)
311                    throws com.liferay.portal.kernel.exception.SystemException;
312    
313            public void removeByG_TF_TN_S(long groupId, long toFolderId,
314                    java.lang.String toName, int status)
315                    throws com.liferay.portal.kernel.exception.SystemException;
316    
317            public void removeAll()
318                    throws com.liferay.portal.kernel.exception.SystemException;
319    
320            public int countByUuid(java.lang.String uuid)
321                    throws com.liferay.portal.kernel.exception.SystemException;
322    
323            public int countByUUID_G(java.lang.String uuid, long groupId)
324                    throws com.liferay.portal.kernel.exception.SystemException;
325    
326            public int countByG_F(long groupId, long folderId)
327                    throws com.liferay.portal.kernel.exception.SystemException;
328    
329            public int filterCountByG_F(long groupId, long folderId)
330                    throws com.liferay.portal.kernel.exception.SystemException;
331    
332            public int countByG_F_S(long groupId, long folderId, int status)
333                    throws com.liferay.portal.kernel.exception.SystemException;
334    
335            public int filterCountByG_F_S(long groupId, long folderId, int status)
336                    throws com.liferay.portal.kernel.exception.SystemException;
337    
338            public int countByG_TF_TN(long groupId, long toFolderId,
339                    java.lang.String toName)
340                    throws com.liferay.portal.kernel.exception.SystemException;
341    
342            public int filterCountByG_TF_TN(long groupId, long toFolderId,
343                    java.lang.String toName)
344                    throws com.liferay.portal.kernel.exception.SystemException;
345    
346            public int countByG_TF_TN_S(long groupId, long toFolderId,
347                    java.lang.String toName, int status)
348                    throws com.liferay.portal.kernel.exception.SystemException;
349    
350            public int filterCountByG_TF_TN_S(long groupId, long toFolderId,
351                    java.lang.String toName, int status)
352                    throws com.liferay.portal.kernel.exception.SystemException;
353    
354            public int countAll()
355                    throws com.liferay.portal.kernel.exception.SystemException;
356    }