1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.documentlibrary.service.persistence;
16  
17  import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18  
19  /**
20   * <a href="DLFolderFinderUtil.java.html"><b><i>View Source</i></b></a>
21   *
22   * @author Brian Wing Shun Chan
23   */
24  public class DLFolderFinderUtil {
25      public static int countFE_FS_ByG_F_S(long groupId,
26          java.util.List<Long> folderIds, int status)
27          throws com.liferay.portal.kernel.exception.SystemException {
28          return getFinder().countFE_FS_ByG_F_S(groupId, folderIds, status);
29      }
30  
31      public static int countF_FE_FS_ByG_F_S(long groupId,
32          java.util.List<Long> folderIds, int status)
33          throws com.liferay.portal.kernel.exception.SystemException {
34          return getFinder().countF_FE_FS_ByG_F_S(groupId, folderIds, status);
35      }
36  
37      public static java.util.List<Object> findFE_FS_ByG_F_S(long groupId,
38          java.util.List<Long> folderIds, int status, int start, int end)
39          throws com.liferay.portal.kernel.exception.SystemException {
40          return getFinder()
41                     .findFE_FS_ByG_F_S(groupId, folderIds, status, start, end);
42      }
43  
44      public static java.util.List<Object> findF_FE_FS_ByG_F_S(long groupId,
45          java.util.List<Long> folderIds, int status, int start, int end)
46          throws com.liferay.portal.kernel.exception.SystemException {
47          return getFinder()
48                     .findF_FE_FS_ByG_F_S(groupId, folderIds, status, start, end);
49      }
50  
51      public static DLFolderFinder getFinder() {
52          if (_finder == null) {
53              _finder = (DLFolderFinder)PortalBeanLocatorUtil.locate(DLFolderFinder.class.getName());
54          }
55  
56          return _finder;
57      }
58  
59      public void setFinder(DLFolderFinder finder) {
60          _finder = finder;
61      }
62  
63      private static DLFolderFinder _finder;
64  }