1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25
31 public interface MBCategoryPersistence {
32 public com.liferay.portlet.messageboards.model.MBCategory create(
33 long categoryId);
34
35 public com.liferay.portlet.messageboards.model.MBCategory remove(
36 long categoryId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.messageboards.NoSuchCategoryException;
39
40 public com.liferay.portlet.messageboards.model.MBCategory remove(
41 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
42 throws com.liferay.portal.SystemException;
43
44 public com.liferay.portlet.messageboards.model.MBCategory update(
45 com.liferay.portlet.messageboards.model.MBCategory mbCategory)
46 throws com.liferay.portal.SystemException;
47
48 public com.liferay.portlet.messageboards.model.MBCategory update(
49 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
50 boolean merge) throws com.liferay.portal.SystemException;
51
52 public com.liferay.portlet.messageboards.model.MBCategory updateImpl(
53 com.liferay.portlet.messageboards.model.MBCategory mbCategory,
54 boolean merge) throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.messageboards.model.MBCategory findByPrimaryKey(
57 long categoryId)
58 throws com.liferay.portal.SystemException,
59 com.liferay.portlet.messageboards.NoSuchCategoryException;
60
61 public com.liferay.portlet.messageboards.model.MBCategory fetchByPrimaryKey(
62 long categoryId) throws com.liferay.portal.SystemException;
63
64 public java.util.List findByUuid(java.lang.String uuid)
65 throws com.liferay.portal.SystemException;
66
67 public java.util.List findByUuid(java.lang.String uuid, int begin, int end)
68 throws com.liferay.portal.SystemException;
69
70 public java.util.List findByUuid(java.lang.String uuid, int begin, int end,
71 com.liferay.portal.kernel.util.OrderByComparator obc)
72 throws com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.messageboards.model.MBCategory findByUuid_First(
75 java.lang.String uuid,
76 com.liferay.portal.kernel.util.OrderByComparator obc)
77 throws com.liferay.portal.SystemException,
78 com.liferay.portlet.messageboards.NoSuchCategoryException;
79
80 public com.liferay.portlet.messageboards.model.MBCategory findByUuid_Last(
81 java.lang.String uuid,
82 com.liferay.portal.kernel.util.OrderByComparator obc)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.messageboards.NoSuchCategoryException;
85
86 public com.liferay.portlet.messageboards.model.MBCategory[] findByUuid_PrevAndNext(
87 long categoryId, java.lang.String uuid,
88 com.liferay.portal.kernel.util.OrderByComparator obc)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.messageboards.NoSuchCategoryException;
91
92 public com.liferay.portlet.messageboards.model.MBCategory findByUUID_G(
93 java.lang.String uuid, long groupId)
94 throws com.liferay.portal.SystemException,
95 com.liferay.portlet.messageboards.NoSuchCategoryException;
96
97 public com.liferay.portlet.messageboards.model.MBCategory fetchByUUID_G(
98 java.lang.String uuid, long groupId)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List findByGroupId(long groupId)
102 throws com.liferay.portal.SystemException;
103
104 public java.util.List findByGroupId(long groupId, int begin, int end)
105 throws com.liferay.portal.SystemException;
106
107 public java.util.List findByGroupId(long groupId, int begin, int end,
108 com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.SystemException;
110
111 public com.liferay.portlet.messageboards.model.MBCategory findByGroupId_First(
112 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
113 throws com.liferay.portal.SystemException,
114 com.liferay.portlet.messageboards.NoSuchCategoryException;
115
116 public com.liferay.portlet.messageboards.model.MBCategory findByGroupId_Last(
117 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.messageboards.NoSuchCategoryException;
120
121 public com.liferay.portlet.messageboards.model.MBCategory[] findByGroupId_PrevAndNext(
122 long categoryId, long groupId,
123 com.liferay.portal.kernel.util.OrderByComparator obc)
124 throws com.liferay.portal.SystemException,
125 com.liferay.portlet.messageboards.NoSuchCategoryException;
126
127 public java.util.List findByCompanyId(long companyId)
128 throws com.liferay.portal.SystemException;
129
130 public java.util.List findByCompanyId(long companyId, int begin, int end)
131 throws com.liferay.portal.SystemException;
132
133 public java.util.List findByCompanyId(long companyId, int begin, int end,
134 com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.SystemException;
136
137 public com.liferay.portlet.messageboards.model.MBCategory findByCompanyId_First(
138 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
139 throws com.liferay.portal.SystemException,
140 com.liferay.portlet.messageboards.NoSuchCategoryException;
141
142 public com.liferay.portlet.messageboards.model.MBCategory findByCompanyId_Last(
143 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.messageboards.NoSuchCategoryException;
146
147 public com.liferay.portlet.messageboards.model.MBCategory[] findByCompanyId_PrevAndNext(
148 long categoryId, long companyId,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.messageboards.NoSuchCategoryException;
152
153 public java.util.List findByG_P(long groupId, long parentCategoryId)
154 throws com.liferay.portal.SystemException;
155
156 public java.util.List findByG_P(long groupId, long parentCategoryId,
157 int begin, int end) throws com.liferay.portal.SystemException;
158
159 public java.util.List findByG_P(long groupId, long parentCategoryId,
160 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException;
162
163 public com.liferay.portlet.messageboards.model.MBCategory findByG_P_First(
164 long groupId, long parentCategoryId,
165 com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.messageboards.NoSuchCategoryException;
168
169 public com.liferay.portlet.messageboards.model.MBCategory findByG_P_Last(
170 long groupId, long parentCategoryId,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.messageboards.NoSuchCategoryException;
174
175 public com.liferay.portlet.messageboards.model.MBCategory[] findByG_P_PrevAndNext(
176 long categoryId, long groupId, long parentCategoryId,
177 com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException,
179 com.liferay.portlet.messageboards.NoSuchCategoryException;
180
181 public java.util.List findWithDynamicQuery(
182 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
183 throws com.liferay.portal.SystemException;
184
185 public java.util.List findWithDynamicQuery(
186 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
187 int begin, int end) throws com.liferay.portal.SystemException;
188
189 public java.util.List findAll() throws com.liferay.portal.SystemException;
190
191 public java.util.List findAll(int begin, int end)
192 throws com.liferay.portal.SystemException;
193
194 public java.util.List findAll(int begin, int end,
195 com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException;
197
198 public void removeByUuid(java.lang.String uuid)
199 throws com.liferay.portal.SystemException;
200
201 public void removeByUUID_G(java.lang.String uuid, long groupId)
202 throws com.liferay.portal.SystemException,
203 com.liferay.portlet.messageboards.NoSuchCategoryException;
204
205 public void removeByGroupId(long groupId)
206 throws com.liferay.portal.SystemException;
207
208 public void removeByCompanyId(long companyId)
209 throws com.liferay.portal.SystemException;
210
211 public void removeByG_P(long groupId, long parentCategoryId)
212 throws com.liferay.portal.SystemException;
213
214 public void removeAll() throws com.liferay.portal.SystemException;
215
216 public int countByUuid(java.lang.String uuid)
217 throws com.liferay.portal.SystemException;
218
219 public int countByUUID_G(java.lang.String uuid, long groupId)
220 throws com.liferay.portal.SystemException;
221
222 public int countByGroupId(long groupId)
223 throws com.liferay.portal.SystemException;
224
225 public int countByCompanyId(long companyId)
226 throws com.liferay.portal.SystemException;
227
228 public int countByG_P(long groupId, long parentCategoryId)
229 throws com.liferay.portal.SystemException;
230
231 public int countAll() throws com.liferay.portal.SystemException;
232 }