1
14
15 package com.liferay.portlet.bookmarks.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.bookmarks.model.BookmarksEntry;
20
21
34 public interface BookmarksEntryPersistence extends BasePersistence<BookmarksEntry> {
35 public void cacheResult(
36 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries);
40
41 public com.liferay.portlet.bookmarks.model.BookmarksEntry create(
42 long entryId);
43
44 public com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
45 long entryId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.bookmarks.NoSuchEntryException;
48
49 public com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl(
50 com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(
55 long entryId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.bookmarks.NoSuchEntryException;
58
59 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(
60 long entryId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
64 java.lang.String uuid)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> 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.bookmarks.model.BookmarksEntry> 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.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException;
81
82 public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException;
87
88 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
89 long entryId, java.lang.String uuid,
90 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
91 throws com.liferay.portal.kernel.exception.SystemException,
92 com.liferay.portlet.bookmarks.NoSuchEntryException;
93
94 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G(
95 java.lang.String uuid, long groupId)
96 throws com.liferay.portal.kernel.exception.SystemException,
97 com.liferay.portlet.bookmarks.NoSuchEntryException;
98
99 public com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
100 java.lang.String uuid, long groupId)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.model.BookmarksEntry> findByGroupId(
108 long groupId)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> 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.bookmarks.model.BookmarksEntry> 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.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException;
125
126 public com.liferay.portlet.bookmarks.model.BookmarksEntry 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.bookmarks.NoSuchEntryException;
131
132 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext(
133 long entryId, long groupId,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException,
136 com.liferay.portlet.bookmarks.NoSuchEntryException;
137
138 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
139 long groupId)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> 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.bookmarks.model.BookmarksEntry> 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.bookmarks.model.BookmarksEntry> findByG_U(
152 long groupId, long userId)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
156 long groupId, long userId, int start, int end)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
160 long groupId, long userId, 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.bookmarks.model.BookmarksEntry findByG_U_First(
165 long groupId, long userId,
166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167 throws com.liferay.portal.kernel.exception.SystemException,
168 com.liferay.portlet.bookmarks.NoSuchEntryException;
169
170 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last(
171 long groupId, long userId,
172 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173 throws com.liferay.portal.kernel.exception.SystemException,
174 com.liferay.portlet.bookmarks.NoSuchEntryException;
175
176 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext(
177 long entryId, long groupId, long userId,
178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179 throws com.liferay.portal.kernel.exception.SystemException,
180 com.liferay.portlet.bookmarks.NoSuchEntryException;
181
182 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
183 long groupId, long userId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
187 long groupId, long userId, int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
191 long groupId, long userId, int start, int end,
192 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193 throws com.liferay.portal.kernel.exception.SystemException;
194
195 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
196 long groupId, long folderId)
197 throws com.liferay.portal.kernel.exception.SystemException;
198
199 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
200 long groupId, long folderId, int start, int end)
201 throws com.liferay.portal.kernel.exception.SystemException;
202
203 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
204 long groupId, long folderId, int start, int end,
205 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First(
209 long groupId, long folderId,
210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211 throws com.liferay.portal.kernel.exception.SystemException,
212 com.liferay.portlet.bookmarks.NoSuchEntryException;
213
214 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last(
215 long groupId, long folderId,
216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
217 throws com.liferay.portal.kernel.exception.SystemException,
218 com.liferay.portlet.bookmarks.NoSuchEntryException;
219
220 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext(
221 long entryId, long groupId, long folderId,
222 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
223 throws com.liferay.portal.kernel.exception.SystemException,
224 com.liferay.portlet.bookmarks.NoSuchEntryException;
225
226 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
227 long groupId, long folderId)
228 throws com.liferay.portal.kernel.exception.SystemException;
229
230 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
231 long groupId, long folderId, int start, int end)
232 throws com.liferay.portal.kernel.exception.SystemException;
233
234 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
235 long groupId, long folderId, int start, int end,
236 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
237 throws com.liferay.portal.kernel.exception.SystemException;
238
239 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
240 throws com.liferay.portal.kernel.exception.SystemException;
241
242 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
243 int start, int end)
244 throws com.liferay.portal.kernel.exception.SystemException;
245
246 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
247 int start, int end,
248 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
249 throws com.liferay.portal.kernel.exception.SystemException;
250
251 public void removeByUuid(java.lang.String uuid)
252 throws com.liferay.portal.kernel.exception.SystemException;
253
254 public void removeByUUID_G(java.lang.String uuid, long groupId)
255 throws com.liferay.portal.kernel.exception.SystemException,
256 com.liferay.portlet.bookmarks.NoSuchEntryException;
257
258 public void removeByGroupId(long groupId)
259 throws com.liferay.portal.kernel.exception.SystemException;
260
261 public void removeByG_U(long groupId, long userId)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 public void removeByG_F(long groupId, long folderId)
265 throws com.liferay.portal.kernel.exception.SystemException;
266
267 public void removeAll()
268 throws com.liferay.portal.kernel.exception.SystemException;
269
270 public int countByUuid(java.lang.String uuid)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 public int countByUUID_G(java.lang.String uuid, long groupId)
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276 public int countByGroupId(long groupId)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 public int filterCountByGroupId(long groupId)
280 throws com.liferay.portal.kernel.exception.SystemException;
281
282 public int countByG_U(long groupId, long userId)
283 throws com.liferay.portal.kernel.exception.SystemException;
284
285 public int filterCountByG_U(long groupId, long userId)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 public int countByG_F(long groupId, long folderId)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 public int filterCountByG_F(long groupId, long folderId)
292 throws com.liferay.portal.kernel.exception.SystemException;
293
294 public int countAll()
295 throws com.liferay.portal.kernel.exception.SystemException;
296 }