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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
118 throws com.liferay.portal.kernel.exception.SystemException;
119
120 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First(
121 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
122 throws com.liferay.portal.kernel.exception.SystemException,
123 com.liferay.portlet.bookmarks.NoSuchEntryException;
124
125 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_Last(
126 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.kernel.exception.SystemException,
128 com.liferay.portlet.bookmarks.NoSuchEntryException;
129
130 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext(
131 long entryId, long groupId,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.kernel.exception.SystemException,
134 com.liferay.portlet.bookmarks.NoSuchEntryException;
135
136 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
137 long groupId, long userId)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
141 long groupId, long userId, int start, int end)
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, int start, int end,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First(
150 long groupId, long userId,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.kernel.exception.SystemException,
153 com.liferay.portlet.bookmarks.NoSuchEntryException;
154
155 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last(
156 long groupId, long userId,
157 com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.bookmarks.NoSuchEntryException;
160
161 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext(
162 long entryId, long groupId, long userId,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.kernel.exception.SystemException,
165 com.liferay.portlet.bookmarks.NoSuchEntryException;
166
167 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
168 long groupId, long folderId)
169 throws com.liferay.portal.kernel.exception.SystemException;
170
171 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
172 long groupId, long folderId, int start, int end)
173 throws com.liferay.portal.kernel.exception.SystemException;
174
175 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
176 long groupId, long folderId, int start, int end,
177 com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.kernel.exception.SystemException;
179
180 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First(
181 long groupId, long folderId,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.kernel.exception.SystemException,
184 com.liferay.portlet.bookmarks.NoSuchEntryException;
185
186 public com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last(
187 long groupId, long folderId,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.kernel.exception.SystemException,
190 com.liferay.portlet.bookmarks.NoSuchEntryException;
191
192 public com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext(
193 long entryId, long groupId, long folderId,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.kernel.exception.SystemException,
196 com.liferay.portlet.bookmarks.NoSuchEntryException;
197
198 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
199 throws com.liferay.portal.kernel.exception.SystemException;
200
201 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
202 int start, int end)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
206 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
207 throws com.liferay.portal.kernel.exception.SystemException;
208
209 public void removeByUuid(java.lang.String uuid)
210 throws com.liferay.portal.kernel.exception.SystemException;
211
212 public void removeByUUID_G(java.lang.String uuid, long groupId)
213 throws com.liferay.portal.kernel.exception.SystemException,
214 com.liferay.portlet.bookmarks.NoSuchEntryException;
215
216 public void removeByGroupId(long groupId)
217 throws com.liferay.portal.kernel.exception.SystemException;
218
219 public void removeByG_U(long groupId, long userId)
220 throws com.liferay.portal.kernel.exception.SystemException;
221
222 public void removeByG_F(long groupId, long folderId)
223 throws com.liferay.portal.kernel.exception.SystemException;
224
225 public void removeAll()
226 throws com.liferay.portal.kernel.exception.SystemException;
227
228 public int countByUuid(java.lang.String uuid)
229 throws com.liferay.portal.kernel.exception.SystemException;
230
231 public int countByUUID_G(java.lang.String uuid, long groupId)
232 throws com.liferay.portal.kernel.exception.SystemException;
233
234 public int countByGroupId(long groupId)
235 throws com.liferay.portal.kernel.exception.SystemException;
236
237 public int countByG_U(long groupId, long userId)
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240 public int countByG_F(long groupId, long folderId)
241 throws com.liferay.portal.kernel.exception.SystemException;
242
243 public int countAll()
244 throws com.liferay.portal.kernel.exception.SystemException;
245 }