1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
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_ByFolderIds(java.util.List<Long> folderIds)
26          throws com.liferay.portal.SystemException {
27          return getFinder().countFE_FS_ByFolderIds(folderIds);
28      }
29  
30      public static int countF_FE_FS_ByFolderIds(java.util.List<Long> folderIds)
31          throws com.liferay.portal.SystemException {
32          return getFinder().countF_FE_FS_ByFolderIds(folderIds);
33      }
34  
35      public static java.util.List<Object> findFE_FS_ByFolderIds(
36          java.util.List<Long> folderIds, int start, int end)
37          throws com.liferay.portal.SystemException {
38          return getFinder().findFE_FS_ByFolderIds(folderIds, start, end);
39      }
40  
41      public static java.util.List<Object> findF_FE_FS_ByFolderIds(
42          java.util.List<Long> folderIds, int start, int end)
43          throws com.liferay.portal.SystemException {
44          return getFinder().findF_FE_FS_ByFolderIds(folderIds, start, end);
45      }
46  
47      public static DLFolderFinder getFinder() {
48          if (_finder == null) {
49              _finder = (DLFolderFinder)PortalBeanLocatorUtil.locate(DLFolderFinder.class.getName());
50          }
51  
52          return _finder;
53      }
54  
55      public void setFinder(DLFolderFinder finder) {
56          _finder = finder;
57      }
58  
59      private static DLFolderFinder _finder;
60  }