001    /**
002     * Copyright (c) 2000-present 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.journal.service.persistence;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020    import com.liferay.portal.kernel.util.ReferenceRegistry;
021    
022    /**
023     * @author Brian Wing Shun Chan
024     * @generated
025     */
026    @ProviderType
027    public class JournalFolderFinderUtil {
028            public static int countF_A_ByG_F(long groupId, long folderId,
029                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
030                    return getFinder().countF_A_ByG_F(groupId, folderId, queryDefinition);
031            }
032    
033            public static int filterCountF_A_ByG_F(long groupId, long folderId,
034                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
035                    return getFinder()
036                                       .filterCountF_A_ByG_F(groupId, folderId, queryDefinition);
037            }
038    
039            public static java.util.List<java.lang.Object> filterFindF_A_ByG_F(
040                    long groupId, long folderId,
041                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
042                    return getFinder()
043                                       .filterFindF_A_ByG_F(groupId, folderId, queryDefinition);
044            }
045    
046            public static java.util.List<com.liferay.portlet.journal.model.JournalFolder> findF_ByNoAssets() {
047                    return getFinder().findF_ByNoAssets();
048            }
049    
050            public static java.util.List<java.lang.Object> findF_A_ByG_F(long groupId,
051                    long folderId,
052                    com.liferay.portal.kernel.dao.orm.QueryDefinition<?> queryDefinition) {
053                    return getFinder().findF_A_ByG_F(groupId, folderId, queryDefinition);
054            }
055    
056            public static JournalFolderFinder getFinder() {
057                    if (_finder == null) {
058                            _finder = (JournalFolderFinder)PortalBeanLocatorUtil.locate(JournalFolderFinder.class.getName());
059    
060                            ReferenceRegistry.registerReference(JournalFolderFinderUtil.class,
061                                    "_finder");
062                    }
063    
064                    return _finder;
065            }
066    
067            public void setFinder(JournalFolderFinder finder) {
068                    _finder = finder;
069    
070                    ReferenceRegistry.registerReference(JournalFolderFinderUtil.class,
071                            "_finder");
072            }
073    
074            private static JournalFolderFinder _finder;
075    }