1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface MBBanPersistence extends BasePersistence {
41 public void cacheResult(com.liferay.portlet.messageboards.model.MBBan mbBan);
42
43 public void cacheResult(
44 java.util.List<com.liferay.portlet.messageboards.model.MBBan> mbBans);
45
46 public void clearCache();
47
48 public com.liferay.portlet.messageboards.model.MBBan create(long banId);
49
50 public com.liferay.portlet.messageboards.model.MBBan remove(long banId)
51 throws com.liferay.portal.SystemException,
52 com.liferay.portlet.messageboards.NoSuchBanException;
53
54 public com.liferay.portlet.messageboards.model.MBBan remove(
55 com.liferay.portlet.messageboards.model.MBBan mbBan)
56 throws com.liferay.portal.SystemException;
57
58
61 public com.liferay.portlet.messageboards.model.MBBan update(
62 com.liferay.portlet.messageboards.model.MBBan mbBan)
63 throws com.liferay.portal.SystemException;
64
65
77 public com.liferay.portlet.messageboards.model.MBBan update(
78 com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
79 throws com.liferay.portal.SystemException;
80
81 public com.liferay.portlet.messageboards.model.MBBan updateImpl(
82 com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
83 throws com.liferay.portal.SystemException;
84
85 public com.liferay.portlet.messageboards.model.MBBan findByPrimaryKey(
86 long banId)
87 throws com.liferay.portal.SystemException,
88 com.liferay.portlet.messageboards.NoSuchBanException;
89
90 public com.liferay.portlet.messageboards.model.MBBan fetchByPrimaryKey(
91 long banId) throws com.liferay.portal.SystemException;
92
93 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByGroupId(
94 long groupId) throws com.liferay.portal.SystemException;
95
96 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByGroupId(
97 long groupId, int start, int end)
98 throws com.liferay.portal.SystemException;
99
100 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByGroupId(
101 long groupId, int start, int end,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException;
104
105 public com.liferay.portlet.messageboards.model.MBBan findByGroupId_First(
106 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.messageboards.NoSuchBanException;
109
110 public com.liferay.portlet.messageboards.model.MBBan findByGroupId_Last(
111 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.messageboards.NoSuchBanException;
114
115 public com.liferay.portlet.messageboards.model.MBBan[] findByGroupId_PrevAndNext(
116 long banId, long groupId,
117 com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.messageboards.NoSuchBanException;
120
121 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByUserId(
122 long userId) throws com.liferay.portal.SystemException;
123
124 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByUserId(
125 long userId, int start, int end)
126 throws com.liferay.portal.SystemException;
127
128 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByUserId(
129 long userId, int start, int end,
130 com.liferay.portal.kernel.util.OrderByComparator obc)
131 throws com.liferay.portal.SystemException;
132
133 public com.liferay.portlet.messageboards.model.MBBan findByUserId_First(
134 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portlet.messageboards.NoSuchBanException;
137
138 public com.liferay.portlet.messageboards.model.MBBan findByUserId_Last(
139 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
140 throws com.liferay.portal.SystemException,
141 com.liferay.portlet.messageboards.NoSuchBanException;
142
143 public com.liferay.portlet.messageboards.model.MBBan[] findByUserId_PrevAndNext(
144 long banId, long userId,
145 com.liferay.portal.kernel.util.OrderByComparator obc)
146 throws com.liferay.portal.SystemException,
147 com.liferay.portlet.messageboards.NoSuchBanException;
148
149 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByBanUserId(
150 long banUserId) throws com.liferay.portal.SystemException;
151
152 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByBanUserId(
153 long banUserId, int start, int end)
154 throws com.liferay.portal.SystemException;
155
156 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findByBanUserId(
157 long banUserId, int start, int end,
158 com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException;
160
161 public com.liferay.portlet.messageboards.model.MBBan findByBanUserId_First(
162 long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
163 throws com.liferay.portal.SystemException,
164 com.liferay.portlet.messageboards.NoSuchBanException;
165
166 public com.liferay.portlet.messageboards.model.MBBan findByBanUserId_Last(
167 long banUserId, com.liferay.portal.kernel.util.OrderByComparator obc)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.messageboards.NoSuchBanException;
170
171 public com.liferay.portlet.messageboards.model.MBBan[] findByBanUserId_PrevAndNext(
172 long banId, long banUserId,
173 com.liferay.portal.kernel.util.OrderByComparator obc)
174 throws com.liferay.portal.SystemException,
175 com.liferay.portlet.messageboards.NoSuchBanException;
176
177 public com.liferay.portlet.messageboards.model.MBBan findByG_B(
178 long groupId, long banUserId)
179 throws com.liferay.portal.SystemException,
180 com.liferay.portlet.messageboards.NoSuchBanException;
181
182 public com.liferay.portlet.messageboards.model.MBBan fetchByG_B(
183 long groupId, long banUserId) throws com.liferay.portal.SystemException;
184
185 public com.liferay.portlet.messageboards.model.MBBan fetchByG_B(
186 long groupId, long banUserId, boolean retrieveFromCache)
187 throws com.liferay.portal.SystemException;
188
189 public java.util.List<Object> findWithDynamicQuery(
190 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
191 throws com.liferay.portal.SystemException;
192
193 public java.util.List<Object> findWithDynamicQuery(
194 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
195 int end) throws com.liferay.portal.SystemException;
196
197 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findAll()
198 throws com.liferay.portal.SystemException;
199
200 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findAll(
201 int start, int end) throws com.liferay.portal.SystemException;
202
203 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> findAll(
204 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.SystemException;
206
207 public void removeByGroupId(long groupId)
208 throws com.liferay.portal.SystemException;
209
210 public void removeByUserId(long userId)
211 throws com.liferay.portal.SystemException;
212
213 public void removeByBanUserId(long banUserId)
214 throws com.liferay.portal.SystemException;
215
216 public void removeByG_B(long groupId, long banUserId)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.messageboards.NoSuchBanException;
219
220 public void removeAll() throws com.liferay.portal.SystemException;
221
222 public int countByGroupId(long groupId)
223 throws com.liferay.portal.SystemException;
224
225 public int countByUserId(long userId)
226 throws com.liferay.portal.SystemException;
227
228 public int countByBanUserId(long banUserId)
229 throws com.liferay.portal.SystemException;
230
231 public int countByG_B(long groupId, long banUserId)
232 throws com.liferay.portal.SystemException;
233
234 public int countAll() throws com.liferay.portal.SystemException;
235 }