001
014
015 package com.liferay.portlet.messageboards.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 MBThreadFinderUtil {
027 public static int countByG_U(long groupId, long userId,
028 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
029 return getFinder().countByG_U(groupId, userId, queryDefinition);
030 }
031
032 public static int countByG_C(long groupId, long categoryId,
033 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
034 return getFinder().countByG_C(groupId, categoryId, queryDefinition);
035 }
036
037 public static int countByG_U_C(long groupId, long userId,
038 long[] categoryIds,
039 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
040 return getFinder()
041 .countByG_U_C(groupId, userId, categoryIds, queryDefinition);
042 }
043
044 public static int countByG_U_LPD(long groupId, long userId,
045 java.util.Date lastPostDate,
046 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
047 return getFinder()
048 .countByG_U_LPD(groupId, userId, lastPostDate,
049 queryDefinition);
050 }
051
052 public static int countByG_U_A(long groupId, long userId,
053 boolean anonymous,
054 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
055 return getFinder()
056 .countByG_U_A(groupId, userId, anonymous, queryDefinition);
057 }
058
059 public static int countByS_G_U(long groupId, long userId,
060 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
061 return getFinder().countByS_G_U(groupId, userId, queryDefinition);
062 }
063
064 public static int countByG_U_C_A(long groupId, long userId,
065 long[] categoryIds, boolean anonymous,
066 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
067 return getFinder()
068 .countByG_U_C_A(groupId, userId, categoryIds, anonymous,
069 queryDefinition);
070 }
071
072 public static int countByS_G_U_C(long groupId, long userId,
073 long[] categoryIds,
074 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
075 return getFinder()
076 .countByS_G_U_C(groupId, userId, categoryIds, queryDefinition);
077 }
078
079 public static int filterCountByG_C(long groupId, long categoryId) {
080 return getFinder().filterCountByG_C(groupId, categoryId);
081 }
082
083 public static int filterCountByG_C(long groupId, long categoryId,
084 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
085 return getFinder().filterCountByG_C(groupId, categoryId, queryDefinition);
086 }
087
088 public static int filterCountByS_G_U_C(long groupId, long userId,
089 long[] categoryIds,
090 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
091 return getFinder()
092 .filterCountByS_G_U_C(groupId, userId, categoryIds,
093 queryDefinition);
094 }
095
096 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(
097 long groupId, long categoryId, int start, int end) {
098 return getFinder().filterFindByG_C(groupId, categoryId, start, end);
099 }
100
101 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(
102 long groupId, long categoryId,
103 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
104 return getFinder().filterFindByG_C(groupId, categoryId, queryDefinition);
105 }
106
107 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByS_G_U_C(
108 long groupId, long userId, long[] categoryIds,
109 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
110 return getFinder()
111 .filterFindByS_G_U_C(groupId, userId, categoryIds,
112 queryDefinition);
113 }
114
115 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByNoAssets() {
116 return getFinder().findByNoAssets();
117 }
118
119 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U(
120 long groupId, long userId,
121 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
122 return getFinder().findByG_U(groupId, userId, queryDefinition);
123 }
124
125 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
126 long groupId, long categoryId,
127 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
128 return getFinder().findByG_C(groupId, categoryId, queryDefinition);
129 }
130
131 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_C(
132 long groupId, long userId, long[] categoryIds,
133 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
134 return getFinder()
135 .findByG_U_C(groupId, userId, categoryIds, queryDefinition);
136 }
137
138 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_LPD(
139 long groupId, long userId, java.util.Date lastPostDate,
140 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
141 return getFinder()
142 .findByG_U_LPD(groupId, userId, lastPostDate, queryDefinition);
143 }
144
145 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_A(
146 long groupId, long userId, boolean anonymous,
147 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
148 return getFinder()
149 .findByG_U_A(groupId, userId, anonymous, queryDefinition);
150 }
151
152 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U(
153 long groupId, long userId,
154 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
155 return getFinder().findByS_G_U(groupId, userId, queryDefinition);
156 }
157
158 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_C_A(
159 long groupId, long userId, long[] categoryIds, boolean anonymous,
160 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
161 return getFinder()
162 .findByG_U_C_A(groupId, userId, categoryIds, anonymous,
163 queryDefinition);
164 }
165
166 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U_C(
167 long groupId, long userId, long[] categoryIds,
168 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.messageboards.model.MBThread> queryDefinition) {
169 return getFinder()
170 .findByS_G_U_C(groupId, userId, categoryIds, queryDefinition);
171 }
172
173 public static MBThreadFinder getFinder() {
174 if (_finder == null) {
175 _finder = (MBThreadFinder)PortalBeanLocatorUtil.locate(MBThreadFinder.class.getName());
176
177 ReferenceRegistry.registerReference(MBThreadFinderUtil.class,
178 "_finder");
179 }
180
181 return _finder;
182 }
183
184 public void setFinder(MBThreadFinder finder) {
185 _finder = finder;
186
187 ReferenceRegistry.registerReference(MBThreadFinderUtil.class, "_finder");
188 }
189
190 private static MBThreadFinder _finder;
191 }