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    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    public class DLFolderFinderUtil {
023            public static int countF_FE_FS_ByG_F_S(long groupId,
024                    java.util.List<java.lang.Long> folderIds, int status)
025                    throws com.liferay.portal.kernel.exception.SystemException {
026                    return getFinder().countF_FE_FS_ByG_F_S(groupId, folderIds, status);
027            }
028    
029            public static int countFE_FS_ByG_F_S(long groupId,
030                    java.util.List<java.lang.Long> folderIds, int status)
031                    throws com.liferay.portal.kernel.exception.SystemException {
032                    return getFinder().countFE_FS_ByG_F_S(groupId, folderIds, status);
033            }
034    
035            public static int filterCountF_FE_FS_ByG_F_S(long groupId,
036                    java.util.List<java.lang.Long> folderIds, int status)
037                    throws com.liferay.portal.kernel.exception.SystemException {
038                    return getFinder().filterCountF_FE_FS_ByG_F_S(groupId, folderIds, status);
039            }
040    
041            public static int filterCountFE_FS_ByG_F_S(long groupId,
042                    java.util.List<java.lang.Long> folderIds, int status)
043                    throws com.liferay.portal.kernel.exception.SystemException {
044                    return getFinder().filterCountFE_FS_ByG_F_S(groupId, folderIds, status);
045            }
046    
047            public static java.util.List<java.lang.Object> filterFindF_FE_FS_ByG_F_S(
048                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
049                    int start, int end)
050                    throws com.liferay.portal.kernel.exception.SystemException {
051                    return getFinder()
052                                       .filterFindF_FE_FS_ByG_F_S(groupId, folderIds, status,
053                            start, end);
054            }
055    
056            public static java.util.List<java.lang.Object> filterFindFE_FS_ByG_F_S(
057                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
058                    int start, int end)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return getFinder()
061                                       .filterFindFE_FS_ByG_F_S(groupId, folderIds, status, start,
062                            end);
063            }
064    
065            public static java.util.List<java.lang.Object> findF_FE_FS_ByG_F_S(
066                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
067                    int start, int end)
068                    throws com.liferay.portal.kernel.exception.SystemException {
069                    return getFinder()
070                                       .findF_FE_FS_ByG_F_S(groupId, folderIds, status, start, end);
071            }
072    
073            public static java.util.List<java.lang.Object> findFE_FS_ByG_F_S(
074                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
075                    int start, int end)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return getFinder()
078                                       .findFE_FS_ByG_F_S(groupId, folderIds, status, start, end);
079            }
080    
081            public static DLFolderFinder getFinder() {
082                    if (_finder == null) {
083                            _finder = (DLFolderFinder)PortalBeanLocatorUtil.locate(DLFolderFinder.class.getName());
084                    }
085    
086                    return _finder;
087            }
088    
089            public void setFinder(DLFolderFinder finder) {
090                    _finder = finder;
091            }
092    
093            private static DLFolderFinder _finder;
094    }