1
14
15 package com.liferay.portlet.wiki.service.persistence;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
24 public class WikiPageFinderUtil {
25 public static int countByCreateDate(long nodeId, java.util.Date createDate,
26 boolean before) throws com.liferay.portal.SystemException {
27 return getFinder().countByCreateDate(nodeId, createDate, before);
28 }
29
30 public static int countByCreateDate(long nodeId,
31 java.sql.Timestamp createDate, boolean before)
32 throws com.liferay.portal.SystemException {
33 return getFinder().countByCreateDate(nodeId, createDate, before);
34 }
35
36 public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey(
37 long resourcePrimKey)
38 throws com.liferay.portal.SystemException,
39 com.liferay.portlet.wiki.NoSuchPageException {
40 return getFinder().findByResourcePrimKey(resourcePrimKey);
41 }
42
43 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
44 long nodeId, java.util.Date createDate, boolean before, int start,
45 int end) throws com.liferay.portal.SystemException {
46 return getFinder()
47 .findByCreateDate(nodeId, createDate, before, start, end);
48 }
49
50 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
51 long nodeId, java.sql.Timestamp createDate, boolean before, int start,
52 int end) throws com.liferay.portal.SystemException {
53 return getFinder()
54 .findByCreateDate(nodeId, createDate, before, start, end);
55 }
56
57 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNoAssets()
58 throws com.liferay.portal.SystemException {
59 return getFinder().findByNoAssets();
60 }
61
62 public static WikiPageFinder getFinder() {
63 if (_finder == null) {
64 _finder = (WikiPageFinder)PortalBeanLocatorUtil.locate(WikiPageFinder.class.getName());
65 }
66
67 return _finder;
68 }
69
70 public void setFinder(WikiPageFinder finder) {
71 _finder = finder;
72 }
73
74 private static WikiPageFinder _finder;
75 }