1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface MBCategoryPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.messageboards.model.MBCategory mbCategory);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.messageboards.model.MBCategory> mbCategories);
46
47 public void clearCache();
48
49 public com.liferay.portlet.messageboards.model.MBCategory create(
50 long categoryId);
51
52 public com.liferay.portlet.messageboards.model.MBCategory remove(
53 long categoryId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.messageboards.NoSuchCategoryException;
56
57 public com.liferay.portlet.messageboards.model.MBCategory remove(
58 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
59 throws com.liferay.portal.SystemException;
60
61
64 public com.liferay.portlet.messageboards.model.MBCategory update(
65 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
66 throws com.liferay.portal.SystemException;
67
68
80 public com.liferay.portlet.messageboards.model.MBCategory update(
81 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
82 boolean merge) throws com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.messageboards.model.MBCategory updateImpl(
85 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
86 boolean merge) throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.messageboards.model.MBCategory findByPrimaryKey(
89 long categoryId)
90 throws com.liferay.portal.SystemException,
91 com.liferay.portlet.messageboards.NoSuchCategoryException;
92
93 public com.liferay.portlet.messageboards.model.MBCategory fetchByPrimaryKey(
94 long categoryId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByUuid(
97 java.lang.String uuid) throws com.liferay.portal.SystemException;
98
99 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByUuid(
100 java.lang.String uuid, int start, int end)
101 throws com.liferay.portal.SystemException;
102
103 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByUuid(
104 java.lang.String uuid, int start, int end,
105 com.liferay.portal.kernel.util.OrderByComparator obc)
106 throws com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.messageboards.model.MBCategory findByUuid_First(
109 java.lang.String uuid,
110 com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.messageboards.NoSuchCategoryException;
113
114 public com.liferay.portlet.messageboards.model.MBCategory findByUuid_Last(
115 java.lang.String uuid,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.messageboards.NoSuchCategoryException;
119
120 public com.liferay.portlet.messageboards.model.MBCategory[] findByUuid_PrevAndNext(
121 long categoryId, java.lang.String uuid,
122 com.liferay.portal.kernel.util.OrderByComparator obc)
123 throws com.liferay.portal.SystemException,
124 com.liferay.portlet.messageboards.NoSuchCategoryException;
125
126 public com.liferay.portlet.messageboards.model.MBCategory findByUUID_G(
127 java.lang.String uuid, long groupId)
128 throws com.liferay.portal.SystemException,
129 com.liferay.portlet.messageboards.NoSuchCategoryException;
130
131 public com.liferay.portlet.messageboards.model.MBCategory fetchByUUID_G(
132 java.lang.String uuid, long groupId)
133 throws com.liferay.portal.SystemException;
134
135 public com.liferay.portlet.messageboards.model.MBCategory fetchByUUID_G(
136 java.lang.String uuid, long groupId, boolean retrieveFromCache)
137 throws com.liferay.portal.SystemException;
138
139 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByGroupId(
140 long groupId) throws com.liferay.portal.SystemException;
141
142 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByGroupId(
143 long groupId, int start, int end)
144 throws com.liferay.portal.SystemException;
145
146 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByGroupId(
147 long groupId, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator obc)
149 throws com.liferay.portal.SystemException;
150
151 public com.liferay.portlet.messageboards.model.MBCategory findByGroupId_First(
152 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portlet.messageboards.NoSuchCategoryException;
155
156 public com.liferay.portlet.messageboards.model.MBCategory findByGroupId_Last(
157 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.messageboards.NoSuchCategoryException;
160
161 public com.liferay.portlet.messageboards.model.MBCategory[] findByGroupId_PrevAndNext(
162 long categoryId, long groupId,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.messageboards.NoSuchCategoryException;
166
167 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByCompanyId(
168 long companyId) throws com.liferay.portal.SystemException;
169
170 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByCompanyId(
171 long companyId, int start, int end)
172 throws com.liferay.portal.SystemException;
173
174 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByCompanyId(
175 long companyId, int start, int end,
176 com.liferay.portal.kernel.util.OrderByComparator obc)
177 throws com.liferay.portal.SystemException;
178
179 public com.liferay.portlet.messageboards.model.MBCategory findByCompanyId_First(
180 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.SystemException,
182 com.liferay.portlet.messageboards.NoSuchCategoryException;
183
184 public com.liferay.portlet.messageboards.model.MBCategory findByCompanyId_Last(
185 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
186 throws com.liferay.portal.SystemException,
187 com.liferay.portlet.messageboards.NoSuchCategoryException;
188
189 public com.liferay.portlet.messageboards.model.MBCategory[] findByCompanyId_PrevAndNext(
190 long categoryId, long companyId,
191 com.liferay.portal.kernel.util.OrderByComparator obc)
192 throws com.liferay.portal.SystemException,
193 com.liferay.portlet.messageboards.NoSuchCategoryException;
194
195 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByG_P(
196 long groupId, long parentCategoryId)
197 throws com.liferay.portal.SystemException;
198
199 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByG_P(
200 long groupId, long parentCategoryId, int start, int end)
201 throws com.liferay.portal.SystemException;
202
203 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByG_P(
204 long groupId, long parentCategoryId, int start, int end,
205 com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException;
207
208 public com.liferay.portlet.messageboards.model.MBCategory findByG_P_First(
209 long groupId, long parentCategoryId,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.messageboards.NoSuchCategoryException;
213
214 public com.liferay.portlet.messageboards.model.MBCategory findByG_P_Last(
215 long groupId, long parentCategoryId,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.messageboards.NoSuchCategoryException;
219
220 public com.liferay.portlet.messageboards.model.MBCategory[] findByG_P_PrevAndNext(
221 long categoryId, long groupId, long parentCategoryId,
222 com.liferay.portal.kernel.util.OrderByComparator obc)
223 throws com.liferay.portal.SystemException,
224 com.liferay.portlet.messageboards.NoSuchCategoryException;
225
226 public java.util.List<Object> findWithDynamicQuery(
227 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
228 throws com.liferay.portal.SystemException;
229
230 public java.util.List<Object> findWithDynamicQuery(
231 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
232 int end) throws com.liferay.portal.SystemException;
233
234 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findAll()
235 throws com.liferay.portal.SystemException;
236
237 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findAll(
238 int start, int end) throws com.liferay.portal.SystemException;
239
240 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findAll(
241 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
242 throws com.liferay.portal.SystemException;
243
244 public void removeByUuid(java.lang.String uuid)
245 throws com.liferay.portal.SystemException;
246
247 public void removeByUUID_G(java.lang.String uuid, long groupId)
248 throws com.liferay.portal.SystemException,
249 com.liferay.portlet.messageboards.NoSuchCategoryException;
250
251 public void removeByGroupId(long groupId)
252 throws com.liferay.portal.SystemException;
253
254 public void removeByCompanyId(long companyId)
255 throws com.liferay.portal.SystemException;
256
257 public void removeByG_P(long groupId, long parentCategoryId)
258 throws com.liferay.portal.SystemException;
259
260 public void removeAll() throws com.liferay.portal.SystemException;
261
262 public int countByUuid(java.lang.String uuid)
263 throws com.liferay.portal.SystemException;
264
265 public int countByUUID_G(java.lang.String uuid, long groupId)
266 throws com.liferay.portal.SystemException;
267
268 public int countByGroupId(long groupId)
269 throws com.liferay.portal.SystemException;
270
271 public int countByCompanyId(long companyId)
272 throws com.liferay.portal.SystemException;
273
274 public int countByG_P(long groupId, long parentCategoryId)
275 throws com.liferay.portal.SystemException;
276
277 public int countAll() throws com.liferay.portal.SystemException;
278 }