001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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.util.ReferenceRegistry;
019    
020    /**
021     * @author Brian Wing Shun Chan
022     */
023    public class DLFolderFinderUtil {
024            public static int countF_FE_FS_ByG_F_S(long groupId,
025                    java.util.List<java.lang.Long> folderIds, int status)
026                    throws com.liferay.portal.kernel.exception.SystemException {
027                    return getFinder().countF_FE_FS_ByG_F_S(groupId, folderIds, status);
028            }
029    
030            public static int countFE_FS_ByG_F_S(long groupId,
031                    java.util.List<java.lang.Long> folderIds, int status)
032                    throws com.liferay.portal.kernel.exception.SystemException {
033                    return getFinder().countFE_FS_ByG_F_S(groupId, folderIds, status);
034            }
035    
036            public static int filterCountF_FE_FS_ByG_F_S(long groupId,
037                    java.util.List<java.lang.Long> folderIds, int status)
038                    throws com.liferay.portal.kernel.exception.SystemException {
039                    return getFinder().filterCountF_FE_FS_ByG_F_S(groupId, folderIds, status);
040            }
041    
042            public static int filterCountFE_FS_ByG_F_S(long groupId,
043                    java.util.List<java.lang.Long> folderIds, int status)
044                    throws com.liferay.portal.kernel.exception.SystemException {
045                    return getFinder().filterCountFE_FS_ByG_F_S(groupId, folderIds, status);
046            }
047    
048            public static java.util.List<java.lang.Object> filterFindF_FE_FS_ByG_F_S(
049                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
050                    int start, int end)
051                    throws com.liferay.portal.kernel.exception.SystemException {
052                    return getFinder()
053                                       .filterFindF_FE_FS_ByG_F_S(groupId, folderIds, status,
054                            start, end);
055            }
056    
057            public static java.util.List<java.lang.Object> filterFindFE_FS_ByG_F_S(
058                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
059                    int start, int end)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return getFinder()
062                                       .filterFindFE_FS_ByG_F_S(groupId, folderIds, status, start,
063                            end);
064            }
065    
066            public static java.util.List<java.lang.Object> findF_FE_FS_ByG_F_S(
067                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
068                    int start, int end)
069                    throws com.liferay.portal.kernel.exception.SystemException {
070                    return getFinder()
071                                       .findF_FE_FS_ByG_F_S(groupId, folderIds, status, start, end);
072            }
073    
074            public static java.util.List<java.lang.Object> findFE_FS_ByG_F_S(
075                    long groupId, java.util.List<java.lang.Long> folderIds, int status,
076                    int start, int end)
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    return getFinder()
079                                       .findFE_FS_ByG_F_S(groupId, folderIds, status, start, end);
080            }
081    
082            public static DLFolderFinder getFinder() {
083                    if (_finder == null) {
084                            _finder = (DLFolderFinder)PortalBeanLocatorUtil.locate(DLFolderFinder.class.getName());
085    
086                            ReferenceRegistry.registerReference(DLFolderFinderUtil.class,
087                                    "_finder");
088                    }
089    
090                    return _finder;
091            }
092    
093            public void setFinder(DLFolderFinder finder) {
094                    _finder = finder;
095    
096                    ReferenceRegistry.registerReference(DLFolderFinderUtil.class, "_finder");
097            }
098    
099            private static DLFolderFinder _finder;
100    }