001
014
015 package com.liferay.portlet.bookmarks.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.bookmarks.model.BookmarksEntry;
020
021
027 public interface BookmarksEntryPersistence extends BasePersistence<BookmarksEntry> {
028 public void cacheResult(
029 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries);
033
034 public com.liferay.portlet.bookmarks.model.BookmarksEntry create(
035 long entryId);
036
037 public com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
038 long entryId)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.bookmarks.NoSuchEntryException;
041
042 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl(
043 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
044 boolean merge)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(
048 long entryId)
049 throws com.liferay.portal.kernel.exception.SystemException,
050 com.liferay.portlet.bookmarks.NoSuchEntryException;
051
052 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(
053 long entryId)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
057 java.lang.String uuid)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
061 java.lang.String uuid, int start, int end)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
065 java.lang.String uuid, int start, int end,
066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First(
070 java.lang.String uuid,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException,
073 com.liferay.portlet.bookmarks.NoSuchEntryException;
074
075 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last(
076 java.lang.String uuid,
077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078 throws com.liferay.portal.kernel.exception.SystemException,
079 com.liferay.portlet.bookmarks.NoSuchEntryException;
080
081 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
082 long entryId, java.lang.String uuid,
083 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084 throws com.liferay.portal.kernel.exception.SystemException,
085 com.liferay.portlet.bookmarks.NoSuchEntryException;
086
087 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G(
088 java.lang.String uuid, long groupId)
089 throws com.liferay.portal.kernel.exception.SystemException,
090 com.liferay.portlet.bookmarks.NoSuchEntryException;
091
092 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
093 java.lang.String uuid, long groupId)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
097 java.lang.String uuid, long groupId, boolean retrieveFromCache)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
101 long groupId)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
105 long groupId, int start, int end)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
109 long groupId, int start, int end,
110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First(
114 long groupId,
115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.bookmarks.NoSuchEntryException;
118
119 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_Last(
120 long groupId,
121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122 throws com.liferay.portal.kernel.exception.SystemException,
123 com.liferay.portlet.bookmarks.NoSuchEntryException;
124
125 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext(
126 long entryId, long groupId,
127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128 throws com.liferay.portal.kernel.exception.SystemException,
129 com.liferay.portlet.bookmarks.NoSuchEntryException;
130
131 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
132 long groupId)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
136 long groupId, int start, int end)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
140 long groupId, int start, int end,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
145 long groupId, long userId)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
149 long groupId, long userId, int start, int end)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
153 long groupId, long userId, int start, int end,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.kernel.exception.SystemException;
156
157 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First(
158 long groupId, long userId,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.kernel.exception.SystemException,
161 com.liferay.portlet.bookmarks.NoSuchEntryException;
162
163 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last(
164 long groupId, long userId,
165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166 throws com.liferay.portal.kernel.exception.SystemException,
167 com.liferay.portlet.bookmarks.NoSuchEntryException;
168
169 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext(
170 long entryId, long groupId, long userId,
171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172 throws com.liferay.portal.kernel.exception.SystemException,
173 com.liferay.portlet.bookmarks.NoSuchEntryException;
174
175 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
176 long groupId, long userId)
177 throws com.liferay.portal.kernel.exception.SystemException;
178
179 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
180 long groupId, long userId, int start, int end)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
184 long groupId, long userId, int start, int end,
185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
189 long groupId, long folderId)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
193 long groupId, long folderId, int start, int end)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
197 long groupId, long folderId, int start, int end,
198 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First(
202 long groupId, long folderId,
203 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204 throws com.liferay.portal.kernel.exception.SystemException,
205 com.liferay.portlet.bookmarks.NoSuchEntryException;
206
207 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last(
208 long groupId, long folderId,
209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
210 throws com.liferay.portal.kernel.exception.SystemException,
211 com.liferay.portlet.bookmarks.NoSuchEntryException;
212
213 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext(
214 long entryId, long groupId, long folderId,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.kernel.exception.SystemException,
217 com.liferay.portlet.bookmarks.NoSuchEntryException;
218
219 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
220 long groupId, long[] folderIds)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
224 long groupId, long[] folderIds, int start, int end)
225 throws com.liferay.portal.kernel.exception.SystemException;
226
227 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
228 long groupId, long[] folderIds, int start, int end,
229 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
230 throws com.liferay.portal.kernel.exception.SystemException;
231
232 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
233 long groupId, long folderId)
234 throws com.liferay.portal.kernel.exception.SystemException;
235
236 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
237 long groupId, long folderId, int start, int end)
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
241 long groupId, long folderId, int start, int end,
242 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
246 long groupId, long[] folderIds)
247 throws com.liferay.portal.kernel.exception.SystemException;
248
249 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
250 long groupId, long[] folderIds, int start, int end)
251 throws com.liferay.portal.kernel.exception.SystemException;
252
253 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
254 long groupId, long[] folderIds, int start, int end,
255 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
256 throws com.liferay.portal.kernel.exception.SystemException;
257
258 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
259 throws com.liferay.portal.kernel.exception.SystemException;
260
261 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
262 int start, int end)
263 throws com.liferay.portal.kernel.exception.SystemException;
264
265 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
266 int start, int end,
267 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
268 throws com.liferay.portal.kernel.exception.SystemException;
269
270 public void removeByUuid(java.lang.String uuid)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 public void removeByUUID_G(java.lang.String uuid, long groupId)
274 throws com.liferay.portal.kernel.exception.SystemException,
275 com.liferay.portlet.bookmarks.NoSuchEntryException;
276
277 public void removeByGroupId(long groupId)
278 throws com.liferay.portal.kernel.exception.SystemException;
279
280 public void removeByG_U(long groupId, long userId)
281 throws com.liferay.portal.kernel.exception.SystemException;
282
283 public void removeByG_F(long groupId, long folderId)
284 throws com.liferay.portal.kernel.exception.SystemException;
285
286 public void removeAll()
287 throws com.liferay.portal.kernel.exception.SystemException;
288
289 public int countByUuid(java.lang.String uuid)
290 throws com.liferay.portal.kernel.exception.SystemException;
291
292 public int countByUUID_G(java.lang.String uuid, long groupId)
293 throws com.liferay.portal.kernel.exception.SystemException;
294
295 public int countByGroupId(long groupId)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 public int filterCountByGroupId(long groupId)
299 throws com.liferay.portal.kernel.exception.SystemException;
300
301 public int countByG_U(long groupId, long userId)
302 throws com.liferay.portal.kernel.exception.SystemException;
303
304 public int filterCountByG_U(long groupId, long userId)
305 throws com.liferay.portal.kernel.exception.SystemException;
306
307 public int countByG_F(long groupId, long folderId)
308 throws com.liferay.portal.kernel.exception.SystemException;
309
310 public int countByG_F(long groupId, long[] folderIds)
311 throws com.liferay.portal.kernel.exception.SystemException;
312
313 public int filterCountByG_F(long groupId, long folderId)
314 throws com.liferay.portal.kernel.exception.SystemException;
315
316 public int filterCountByG_F(long groupId, long[] folderIds)
317 throws com.liferay.portal.kernel.exception.SystemException;
318
319 public int countAll()
320 throws com.liferay.portal.kernel.exception.SystemException;
321 }