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.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.documentlibrary.model.DLFileShortcut;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       DLFileShortcutPersistence
030     * @see       DLFileShortcutPersistenceImpl
031     * @generated
032     */
033    public class DLFileShortcutUtil {
034            /**
035             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
036             */
037            public static void clearCache() {
038                    getPersistence().clearCache();
039            }
040    
041            /**
042             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
043             */
044            public static void clearCache(DLFileShortcut dlFileShortcut) {
045                    getPersistence().clearCache(dlFileShortcut);
046            }
047    
048            /**
049             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
050             */
051            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052                    throws SystemException {
053                    return getPersistence().countWithDynamicQuery(dynamicQuery);
054            }
055    
056            /**
057             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
058             */
059            public static List<DLFileShortcut> findWithDynamicQuery(
060                    DynamicQuery dynamicQuery) throws SystemException {
061                    return getPersistence().findWithDynamicQuery(dynamicQuery);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
066             */
067            public static List<DLFileShortcut> findWithDynamicQuery(
068                    DynamicQuery dynamicQuery, int start, int end)
069                    throws SystemException {
070                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071            }
072    
073            /**
074             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
075             */
076            public static List<DLFileShortcut> findWithDynamicQuery(
077                    DynamicQuery dynamicQuery, int start, int end,
078                    OrderByComparator orderByComparator) throws SystemException {
079                    return getPersistence()
080                                       .findWithDynamicQuery(dynamicQuery, start, end,
081                            orderByComparator);
082            }
083    
084            /**
085             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
086             */
087            public static DLFileShortcut remove(DLFileShortcut dlFileShortcut)
088                    throws SystemException {
089                    return getPersistence().remove(dlFileShortcut);
090            }
091    
092            /**
093             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
094             */
095            public static DLFileShortcut update(DLFileShortcut dlFileShortcut,
096                    boolean merge) throws SystemException {
097                    return getPersistence().update(dlFileShortcut, merge);
098            }
099    
100            /**
101             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
102             */
103            public static DLFileShortcut update(DLFileShortcut dlFileShortcut,
104                    boolean merge, ServiceContext serviceContext) throws SystemException {
105                    return getPersistence().update(dlFileShortcut, merge, serviceContext);
106            }
107    
108            public static void cacheResult(
109                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut) {
110                    getPersistence().cacheResult(dlFileShortcut);
111            }
112    
113            public static void cacheResult(
114                    java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> dlFileShortcuts) {
115                    getPersistence().cacheResult(dlFileShortcuts);
116            }
117    
118            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut create(
119                    long fileShortcutId) {
120                    return getPersistence().create(fileShortcutId);
121            }
122    
123            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut remove(
124                    long fileShortcutId)
125                    throws com.liferay.portal.kernel.exception.SystemException,
126                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
127                    return getPersistence().remove(fileShortcutId);
128            }
129    
130            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut updateImpl(
131                    com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
132                    boolean merge)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return getPersistence().updateImpl(dlFileShortcut, merge);
135            }
136    
137            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByPrimaryKey(
138                    long fileShortcutId)
139                    throws com.liferay.portal.kernel.exception.SystemException,
140                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
141                    return getPersistence().findByPrimaryKey(fileShortcutId);
142            }
143    
144            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByPrimaryKey(
145                    long fileShortcutId)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return getPersistence().fetchByPrimaryKey(fileShortcutId);
148            }
149    
150            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
151                    java.lang.String uuid)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return getPersistence().findByUuid(uuid);
154            }
155    
156            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
157                    java.lang.String uuid, int start, int end)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return getPersistence().findByUuid(uuid, start, end);
160            }
161    
162            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByUuid(
163                    java.lang.String uuid, int start, int end,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
167            }
168    
169            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_First(
170                    java.lang.String uuid,
171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172                    throws com.liferay.portal.kernel.exception.SystemException,
173                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
174                    return getPersistence().findByUuid_First(uuid, orderByComparator);
175            }
176    
177            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUuid_Last(
178                    java.lang.String uuid,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException,
181                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
182                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
183            }
184    
185            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByUuid_PrevAndNext(
186                    long fileShortcutId, java.lang.String uuid,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
190                    return getPersistence()
191                                       .findByUuid_PrevAndNext(fileShortcutId, uuid,
192                            orderByComparator);
193            }
194    
195            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByUUID_G(
196                    java.lang.String uuid, long groupId)
197                    throws com.liferay.portal.kernel.exception.SystemException,
198                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
199                    return getPersistence().findByUUID_G(uuid, groupId);
200            }
201    
202            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
203                    java.lang.String uuid, long groupId)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return getPersistence().fetchByUUID_G(uuid, groupId);
206            }
207    
208            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut fetchByUUID_G(
209                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
210                    throws com.liferay.portal.kernel.exception.SystemException {
211                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
212            }
213    
214            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
215                    long groupId, long folderId)
216                    throws com.liferay.portal.kernel.exception.SystemException {
217                    return getPersistence().findByG_F(groupId, folderId);
218            }
219    
220            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
221                    long groupId, long folderId, int start, int end)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return getPersistence().findByG_F(groupId, folderId, start, end);
224            }
225    
226            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F(
227                    long groupId, long folderId, int start, int end,
228                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
229                    throws com.liferay.portal.kernel.exception.SystemException {
230                    return getPersistence()
231                                       .findByG_F(groupId, folderId, start, end, orderByComparator);
232            }
233    
234            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_First(
235                    long groupId, long folderId,
236                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
237                    throws com.liferay.portal.kernel.exception.SystemException,
238                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
239                    return getPersistence()
240                                       .findByG_F_First(groupId, folderId, orderByComparator);
241            }
242    
243            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_Last(
244                    long groupId, long folderId,
245                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
246                    throws com.liferay.portal.kernel.exception.SystemException,
247                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
248                    return getPersistence()
249                                       .findByG_F_Last(groupId, folderId, orderByComparator);
250            }
251    
252            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_PrevAndNext(
253                    long fileShortcutId, long groupId, long folderId,
254                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255                    throws com.liferay.portal.kernel.exception.SystemException,
256                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
257                    return getPersistence()
258                                       .findByG_F_PrevAndNext(fileShortcutId, groupId, folderId,
259                            orderByComparator);
260            }
261    
262            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
263                    long groupId, long folderId)
264                    throws com.liferay.portal.kernel.exception.SystemException {
265                    return getPersistence().filterFindByG_F(groupId, folderId);
266            }
267    
268            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
269                    long groupId, long folderId, int start, int end)
270                    throws com.liferay.portal.kernel.exception.SystemException {
271                    return getPersistence().filterFindByG_F(groupId, folderId, start, end);
272            }
273    
274            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F(
275                    long groupId, long folderId, int start, int end,
276                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
277                    throws com.liferay.portal.kernel.exception.SystemException {
278                    return getPersistence()
279                                       .filterFindByG_F(groupId, folderId, start, end,
280                            orderByComparator);
281            }
282    
283            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
284                    long groupId, long folderId, int status)
285                    throws com.liferay.portal.kernel.exception.SystemException {
286                    return getPersistence().findByG_F_S(groupId, folderId, status);
287            }
288    
289            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
290                    long groupId, long folderId, int status, int start, int end)
291                    throws com.liferay.portal.kernel.exception.SystemException {
292                    return getPersistence()
293                                       .findByG_F_S(groupId, folderId, status, start, end);
294            }
295    
296            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_F_S(
297                    long groupId, long folderId, int status, int start, int end,
298                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
299                    throws com.liferay.portal.kernel.exception.SystemException {
300                    return getPersistence()
301                                       .findByG_F_S(groupId, folderId, status, start, end,
302                            orderByComparator);
303            }
304    
305            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_First(
306                    long groupId, long folderId, int status,
307                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
308                    throws com.liferay.portal.kernel.exception.SystemException,
309                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
310                    return getPersistence()
311                                       .findByG_F_S_First(groupId, folderId, status,
312                            orderByComparator);
313            }
314    
315            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_F_S_Last(
316                    long groupId, long folderId, int status,
317                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
318                    throws com.liferay.portal.kernel.exception.SystemException,
319                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
320                    return getPersistence()
321                                       .findByG_F_S_Last(groupId, folderId, status,
322                            orderByComparator);
323            }
324    
325            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_F_S_PrevAndNext(
326                    long fileShortcutId, long groupId, long folderId, int status,
327                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
328                    throws com.liferay.portal.kernel.exception.SystemException,
329                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
330                    return getPersistence()
331                                       .findByG_F_S_PrevAndNext(fileShortcutId, groupId, folderId,
332                            status, orderByComparator);
333            }
334    
335            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
336                    long groupId, long folderId, int status)
337                    throws com.liferay.portal.kernel.exception.SystemException {
338                    return getPersistence().filterFindByG_F_S(groupId, folderId, status);
339            }
340    
341            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
342                    long groupId, long folderId, int status, int start, int end)
343                    throws com.liferay.portal.kernel.exception.SystemException {
344                    return getPersistence()
345                                       .filterFindByG_F_S(groupId, folderId, status, start, end);
346            }
347    
348            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_F_S(
349                    long groupId, long folderId, int status, int start, int end,
350                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
351                    throws com.liferay.portal.kernel.exception.SystemException {
352                    return getPersistence()
353                                       .filterFindByG_F_S(groupId, folderId, status, start, end,
354                            orderByComparator);
355            }
356    
357            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
358                    long groupId, long toFolderId, java.lang.String toName)
359                    throws com.liferay.portal.kernel.exception.SystemException {
360                    return getPersistence().findByG_TF_TN(groupId, toFolderId, toName);
361            }
362    
363            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
364                    long groupId, long toFolderId, java.lang.String toName, int start,
365                    int end) throws com.liferay.portal.kernel.exception.SystemException {
366                    return getPersistence()
367                                       .findByG_TF_TN(groupId, toFolderId, toName, start, end);
368            }
369    
370            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN(
371                    long groupId, long toFolderId, java.lang.String toName, int start,
372                    int end,
373                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
374                    throws com.liferay.portal.kernel.exception.SystemException {
375                    return getPersistence()
376                                       .findByG_TF_TN(groupId, toFolderId, toName, start, end,
377                            orderByComparator);
378            }
379    
380            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_First(
381                    long groupId, long toFolderId, java.lang.String toName,
382                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
383                    throws com.liferay.portal.kernel.exception.SystemException,
384                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
385                    return getPersistence()
386                                       .findByG_TF_TN_First(groupId, toFolderId, toName,
387                            orderByComparator);
388            }
389    
390            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_Last(
391                    long groupId, long toFolderId, java.lang.String toName,
392                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
393                    throws com.liferay.portal.kernel.exception.SystemException,
394                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
395                    return getPersistence()
396                                       .findByG_TF_TN_Last(groupId, toFolderId, toName,
397                            orderByComparator);
398            }
399    
400            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_PrevAndNext(
401                    long fileShortcutId, long groupId, long toFolderId,
402                    java.lang.String toName,
403                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
404                    throws com.liferay.portal.kernel.exception.SystemException,
405                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
406                    return getPersistence()
407                                       .findByG_TF_TN_PrevAndNext(fileShortcutId, groupId,
408                            toFolderId, toName, orderByComparator);
409            }
410    
411            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
412                    long groupId, long toFolderId, java.lang.String toName)
413                    throws com.liferay.portal.kernel.exception.SystemException {
414                    return getPersistence().filterFindByG_TF_TN(groupId, toFolderId, toName);
415            }
416    
417            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
418                    long groupId, long toFolderId, java.lang.String toName, int start,
419                    int end) throws com.liferay.portal.kernel.exception.SystemException {
420                    return getPersistence()
421                                       .filterFindByG_TF_TN(groupId, toFolderId, toName, start, end);
422            }
423    
424            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN(
425                    long groupId, long toFolderId, java.lang.String toName, int start,
426                    int end,
427                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
428                    throws com.liferay.portal.kernel.exception.SystemException {
429                    return getPersistence()
430                                       .filterFindByG_TF_TN(groupId, toFolderId, toName, start,
431                            end, orderByComparator);
432            }
433    
434            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
435                    long groupId, long toFolderId, java.lang.String toName, int status)
436                    throws com.liferay.portal.kernel.exception.SystemException {
437                    return getPersistence()
438                                       .findByG_TF_TN_S(groupId, toFolderId, toName, status);
439            }
440    
441            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
442                    long groupId, long toFolderId, java.lang.String toName, int status,
443                    int start, int end)
444                    throws com.liferay.portal.kernel.exception.SystemException {
445                    return getPersistence()
446                                       .findByG_TF_TN_S(groupId, toFolderId, toName, status, start,
447                            end);
448            }
449    
450            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findByG_TF_TN_S(
451                    long groupId, long toFolderId, java.lang.String toName, int status,
452                    int start, int end,
453                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
454                    throws com.liferay.portal.kernel.exception.SystemException {
455                    return getPersistence()
456                                       .findByG_TF_TN_S(groupId, toFolderId, toName, status, start,
457                            end, orderByComparator);
458            }
459    
460            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_First(
461                    long groupId, long toFolderId, java.lang.String toName, int status,
462                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
463                    throws com.liferay.portal.kernel.exception.SystemException,
464                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
465                    return getPersistence()
466                                       .findByG_TF_TN_S_First(groupId, toFolderId, toName, status,
467                            orderByComparator);
468            }
469    
470            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut findByG_TF_TN_S_Last(
471                    long groupId, long toFolderId, java.lang.String toName, int status,
472                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
473                    throws com.liferay.portal.kernel.exception.SystemException,
474                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
475                    return getPersistence()
476                                       .findByG_TF_TN_S_Last(groupId, toFolderId, toName, status,
477                            orderByComparator);
478            }
479    
480            public static com.liferay.portlet.documentlibrary.model.DLFileShortcut[] findByG_TF_TN_S_PrevAndNext(
481                    long fileShortcutId, long groupId, long toFolderId,
482                    java.lang.String toName, int status,
483                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
484                    throws com.liferay.portal.kernel.exception.SystemException,
485                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
486                    return getPersistence()
487                                       .findByG_TF_TN_S_PrevAndNext(fileShortcutId, groupId,
488                            toFolderId, toName, status, orderByComparator);
489            }
490    
491            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
492                    long groupId, long toFolderId, java.lang.String toName, int status)
493                    throws com.liferay.portal.kernel.exception.SystemException {
494                    return getPersistence()
495                                       .filterFindByG_TF_TN_S(groupId, toFolderId, toName, status);
496            }
497    
498            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
499                    long groupId, long toFolderId, java.lang.String toName, int status,
500                    int start, int end)
501                    throws com.liferay.portal.kernel.exception.SystemException {
502                    return getPersistence()
503                                       .filterFindByG_TF_TN_S(groupId, toFolderId, toName, status,
504                            start, end);
505            }
506    
507            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> filterFindByG_TF_TN_S(
508                    long groupId, long toFolderId, java.lang.String toName, int status,
509                    int start, int end,
510                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
511                    throws com.liferay.portal.kernel.exception.SystemException {
512                    return getPersistence()
513                                       .filterFindByG_TF_TN_S(groupId, toFolderId, toName, status,
514                            start, end, orderByComparator);
515            }
516    
517            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll()
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return getPersistence().findAll();
520            }
521    
522            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
523                    int start, int end)
524                    throws com.liferay.portal.kernel.exception.SystemException {
525                    return getPersistence().findAll(start, end);
526            }
527    
528            public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> findAll(
529                    int start, int end,
530                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
531                    throws com.liferay.portal.kernel.exception.SystemException {
532                    return getPersistence().findAll(start, end, orderByComparator);
533            }
534    
535            public static void removeByUuid(java.lang.String uuid)
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    getPersistence().removeByUuid(uuid);
538            }
539    
540            public static void removeByUUID_G(java.lang.String uuid, long groupId)
541                    throws com.liferay.portal.kernel.exception.SystemException,
542                            com.liferay.portlet.documentlibrary.NoSuchFileShortcutException {
543                    getPersistence().removeByUUID_G(uuid, groupId);
544            }
545    
546            public static void removeByG_F(long groupId, long folderId)
547                    throws com.liferay.portal.kernel.exception.SystemException {
548                    getPersistence().removeByG_F(groupId, folderId);
549            }
550    
551            public static void removeByG_F_S(long groupId, long folderId, int status)
552                    throws com.liferay.portal.kernel.exception.SystemException {
553                    getPersistence().removeByG_F_S(groupId, folderId, status);
554            }
555    
556            public static void removeByG_TF_TN(long groupId, long toFolderId,
557                    java.lang.String toName)
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    getPersistence().removeByG_TF_TN(groupId, toFolderId, toName);
560            }
561    
562            public static void removeByG_TF_TN_S(long groupId, long toFolderId,
563                    java.lang.String toName, int status)
564                    throws com.liferay.portal.kernel.exception.SystemException {
565                    getPersistence().removeByG_TF_TN_S(groupId, toFolderId, toName, status);
566            }
567    
568            public static void removeAll()
569                    throws com.liferay.portal.kernel.exception.SystemException {
570                    getPersistence().removeAll();
571            }
572    
573            public static int countByUuid(java.lang.String uuid)
574                    throws com.liferay.portal.kernel.exception.SystemException {
575                    return getPersistence().countByUuid(uuid);
576            }
577    
578            public static int countByUUID_G(java.lang.String uuid, long groupId)
579                    throws com.liferay.portal.kernel.exception.SystemException {
580                    return getPersistence().countByUUID_G(uuid, groupId);
581            }
582    
583            public static int countByG_F(long groupId, long folderId)
584                    throws com.liferay.portal.kernel.exception.SystemException {
585                    return getPersistence().countByG_F(groupId, folderId);
586            }
587    
588            public static int filterCountByG_F(long groupId, long folderId)
589                    throws com.liferay.portal.kernel.exception.SystemException {
590                    return getPersistence().filterCountByG_F(groupId, folderId);
591            }
592    
593            public static int countByG_F_S(long groupId, long folderId, int status)
594                    throws com.liferay.portal.kernel.exception.SystemException {
595                    return getPersistence().countByG_F_S(groupId, folderId, status);
596            }
597    
598            public static int filterCountByG_F_S(long groupId, long folderId, int status)
599                    throws com.liferay.portal.kernel.exception.SystemException {
600                    return getPersistence().filterCountByG_F_S(groupId, folderId, status);
601            }
602    
603            public static int countByG_TF_TN(long groupId, long toFolderId,
604                    java.lang.String toName)
605                    throws com.liferay.portal.kernel.exception.SystemException {
606                    return getPersistence().countByG_TF_TN(groupId, toFolderId, toName);
607            }
608    
609            public static int filterCountByG_TF_TN(long groupId, long toFolderId,
610                    java.lang.String toName)
611                    throws com.liferay.portal.kernel.exception.SystemException {
612                    return getPersistence().filterCountByG_TF_TN(groupId, toFolderId, toName);
613            }
614    
615            public static int countByG_TF_TN_S(long groupId, long toFolderId,
616                    java.lang.String toName, int status)
617                    throws com.liferay.portal.kernel.exception.SystemException {
618                    return getPersistence()
619                                       .countByG_TF_TN_S(groupId, toFolderId, toName, status);
620            }
621    
622            public static int filterCountByG_TF_TN_S(long groupId, long toFolderId,
623                    java.lang.String toName, int status)
624                    throws com.liferay.portal.kernel.exception.SystemException {
625                    return getPersistence()
626                                       .filterCountByG_TF_TN_S(groupId, toFolderId, toName, status);
627            }
628    
629            public static int countAll()
630                    throws com.liferay.portal.kernel.exception.SystemException {
631                    return getPersistence().countAll();
632            }
633    
634            public static DLFileShortcutPersistence getPersistence() {
635                    if (_persistence == null) {
636                            _persistence = (DLFileShortcutPersistence)PortalBeanLocatorUtil.locate(DLFileShortcutPersistence.class.getName());
637                    }
638    
639                    return _persistence;
640            }
641    
642            public void setPersistence(DLFileShortcutPersistence persistence) {
643                    _persistence = persistence;
644            }
645    
646            private static DLFileShortcutPersistence _persistence;
647    }