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