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