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 countF_FE_FS_ByG_F_S(long groupId,
26          java.util.List<java.lang.Long> folderIds, int status)
27          throws com.liferay.portal.kernel.exception.SystemException {
28          return getFinder().countF_FE_FS_ByG_F_S(groupId, folderIds, status);
29      }
30  
31      public static int countFE_FS_ByG_F_S(long groupId,
32          java.util.List<java.lang.Long> folderIds, int status)
33          throws com.liferay.portal.kernel.exception.SystemException {
34          return getFinder().countFE_FS_ByG_F_S(groupId, folderIds, status);
35      }
36  
37      public static int filterCountF_FE_FS_ByG_F_S(long groupId,
38          java.util.List<java.lang.Long> folderIds, int status)
39          throws com.liferay.portal.kernel.exception.SystemException {
40          return getFinder().filterCountF_FE_FS_ByG_F_S(groupId, folderIds, status);
41      }
42  
43      public static int filterCountFE_FS_ByG_F_S(long groupId,
44          java.util.List<java.lang.Long> folderIds, int status)
45          throws com.liferay.portal.kernel.exception.SystemException {
46          return getFinder().filterCountFE_FS_ByG_F_S(groupId, folderIds, status);
47      }
48  
49      public static java.util.List<java.lang.Object> filterFindF_FE_FS_ByG_F_S(
50          long groupId, java.util.List<java.lang.Long> folderIds, int status,
51          int start, int end)
52          throws com.liferay.portal.kernel.exception.SystemException {
53          return getFinder()
54                     .filterFindF_FE_FS_ByG_F_S(groupId, folderIds, status,
55              start, end);
56      }
57  
58      public static java.util.List<java.lang.Object> filterFindFE_FS_ByG_F_S(
59          long groupId, java.util.List<java.lang.Long> folderIds, int status,
60          int start, int end)
61          throws com.liferay.portal.kernel.exception.SystemException {
62          return getFinder()
63                     .filterFindFE_FS_ByG_F_S(groupId, folderIds, status, start,
64              end);
65      }
66  
67      public static java.util.List<java.lang.Object> findF_FE_FS_ByG_F_S(
68          long groupId, java.util.List<java.lang.Long> folderIds, int status,
69          int start, int end)
70          throws com.liferay.portal.kernel.exception.SystemException {
71          return getFinder()
72                     .findF_FE_FS_ByG_F_S(groupId, folderIds, status, start, end);
73      }
74  
75      public static java.util.List<java.lang.Object> findFE_FS_ByG_F_S(
76          long groupId, java.util.List<java.lang.Long> folderIds, int status,
77          int start, int end)
78          throws com.liferay.portal.kernel.exception.SystemException {
79          return getFinder()
80                     .findFE_FS_ByG_F_S(groupId, folderIds, status, start, end);
81      }
82  
83      public static DLFolderFinder getFinder() {
84          if (_finder == null) {
85              _finder = (DLFolderFinder)PortalBeanLocatorUtil.locate(DLFolderFinder.class.getName());
86          }
87  
88          return _finder;
89      }
90  
91      public void setFinder(DLFolderFinder finder) {
92          _finder = finder;
93      }
94  
95      private static DLFolderFinder _finder;
96  }