001
014
015 package com.liferay.portlet.wiki.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
025 @ProviderType
026 public class WikiPageFinderUtil {
027 public static int countByCreateDate(long groupId, long nodeId,
028 java.util.Date createDate, boolean before)
029 throws com.liferay.portal.kernel.exception.SystemException {
030 return getFinder().countByCreateDate(groupId, nodeId, createDate, before);
031 }
032
033 public static int countByCreateDate(long groupId, long nodeId,
034 java.sql.Timestamp createDate, boolean before)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return getFinder().countByCreateDate(groupId, nodeId, createDate, before);
037 }
038
039 public static int filterCountByCreateDate(long groupId, long nodeId,
040 java.util.Date createDate, boolean before)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return getFinder()
043 .filterCountByCreateDate(groupId, nodeId, createDate, before);
044 }
045
046 public static int filterCountByCreateDate(long groupId, long nodeId,
047 java.sql.Timestamp createDate, boolean before)
048 throws com.liferay.portal.kernel.exception.SystemException {
049 return getFinder()
050 .filterCountByCreateDate(groupId, nodeId, createDate, before);
051 }
052
053 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByCreateDate(
054 long groupId, long nodeId, java.util.Date createDate, boolean before,
055 int start, int end)
056 throws com.liferay.portal.kernel.exception.SystemException {
057 return getFinder()
058 .filterFindByCreateDate(groupId, nodeId, createDate, before,
059 start, end);
060 }
061
062 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> filterFindByCreateDate(
063 long groupId, long nodeId, java.sql.Timestamp createDate,
064 boolean before, int start, int end)
065 throws com.liferay.portal.kernel.exception.SystemException {
066 return getFinder()
067 .filterFindByCreateDate(groupId, nodeId, createDate, before,
068 start, end);
069 }
070
071 public static com.liferay.portlet.wiki.model.WikiPage findByResourcePrimKey(
072 long resourcePrimKey)
073 throws com.liferay.portal.kernel.exception.SystemException,
074 com.liferay.portlet.wiki.NoSuchPageException {
075 return getFinder().findByResourcePrimKey(resourcePrimKey);
076 }
077
078 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
079 long groupId, long nodeId, java.util.Date createDate, boolean before,
080 int start, int end)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return getFinder()
083 .findByCreateDate(groupId, nodeId, createDate, before,
084 start, end);
085 }
086
087 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByCreateDate(
088 long groupId, long nodeId, java.sql.Timestamp createDate,
089 boolean before, int start, int end)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return getFinder()
092 .findByCreateDate(groupId, nodeId, createDate, before,
093 start, end);
094 }
095
096 public static java.util.List<com.liferay.portlet.wiki.model.WikiPage> findByNoAssets()
097 throws com.liferay.portal.kernel.exception.SystemException {
098 return getFinder().findByNoAssets();
099 }
100
101 public static WikiPageFinder getFinder() {
102 if (_finder == null) {
103 _finder = (WikiPageFinder)PortalBeanLocatorUtil.locate(WikiPageFinder.class.getName());
104
105 ReferenceRegistry.registerReference(WikiPageFinderUtil.class,
106 "_finder");
107 }
108
109 return _finder;
110 }
111
112 public void setFinder(WikiPageFinder finder) {
113 _finder = finder;
114
115 ReferenceRegistry.registerReference(WikiPageFinderUtil.class, "_finder");
116 }
117
118 private static WikiPageFinder _finder;
119 }