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.BookmarksFolder;
20
21
34 public interface BookmarksFolderPersistence extends BasePersistence<BookmarksFolder> {
35 public void cacheResult(
36 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> bookmarksFolders);
40
41 public com.liferay.portlet.bookmarks.model.BookmarksFolder create(
42 long folderId);
43
44 public com.liferay.portlet.bookmarks.model.BookmarksFolder remove(
45 long folderId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.bookmarks.NoSuchFolderException;
48
49 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateImpl(
50 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByPrimaryKey(
55 long folderId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.bookmarks.NoSuchFolderException;
58
59 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByPrimaryKey(
60 long folderId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder 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.NoSuchFolderException;
81
82 public com.liferay.portlet.bookmarks.model.BookmarksFolder 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.NoSuchFolderException;
87
88 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByUuid_PrevAndNext(
89 long folderId, 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.NoSuchFolderException;
93
94 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUUID_G(
95 java.lang.String uuid, long groupId)
96 throws com.liferay.portal.kernel.exception.SystemException,
97 com.liferay.portlet.bookmarks.NoSuchFolderException;
98
99 public com.liferay.portlet.bookmarks.model.BookmarksFolder 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.BookmarksFolder 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.BookmarksFolder> findByGroupId(
108 long groupId)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder 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.NoSuchFolderException;
125
126 public com.liferay.portlet.bookmarks.model.BookmarksFolder 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.NoSuchFolderException;
131
132 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByGroupId_PrevAndNext(
133 long folderId, long groupId,
134 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135 throws com.liferay.portal.kernel.exception.SystemException,
136 com.liferay.portlet.bookmarks.NoSuchFolderException;
137
138 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByGroupId(
139 long groupId)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> 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.BookmarksFolder> 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.BookmarksFolder> findByCompanyId(
152 long companyId)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
156 long companyId, int start, int end)
157 throws com.liferay.portal.kernel.exception.SystemException;
158
159 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
160 long companyId, 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.BookmarksFolder findByCompanyId_First(
165 long companyId,
166 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
167 throws com.liferay.portal.kernel.exception.SystemException,
168 com.liferay.portlet.bookmarks.NoSuchFolderException;
169
170 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_Last(
171 long companyId,
172 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
173 throws com.liferay.portal.kernel.exception.SystemException,
174 com.liferay.portlet.bookmarks.NoSuchFolderException;
175
176 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByCompanyId_PrevAndNext(
177 long folderId, long companyId,
178 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
179 throws com.liferay.portal.kernel.exception.SystemException,
180 com.liferay.portlet.bookmarks.NoSuchFolderException;
181
182 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
183 long groupId, long parentFolderId)
184 throws com.liferay.portal.kernel.exception.SystemException;
185
186 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
187 long groupId, long parentFolderId, int start, int end)
188 throws com.liferay.portal.kernel.exception.SystemException;
189
190 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
191 long groupId, long parentFolderId, int start, int end,
192 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193 throws com.liferay.portal.kernel.exception.SystemException;
194
195 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_First(
196 long groupId, long parentFolderId,
197 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
198 throws com.liferay.portal.kernel.exception.SystemException,
199 com.liferay.portlet.bookmarks.NoSuchFolderException;
200
201 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_Last(
202 long groupId, long parentFolderId,
203 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
204 throws com.liferay.portal.kernel.exception.SystemException,
205 com.liferay.portlet.bookmarks.NoSuchFolderException;
206
207 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByG_P_PrevAndNext(
208 long folderId, long groupId, long parentFolderId,
209 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
210 throws com.liferay.portal.kernel.exception.SystemException,
211 com.liferay.portlet.bookmarks.NoSuchFolderException;
212
213 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P(
214 long groupId, long parentFolderId)
215 throws com.liferay.portal.kernel.exception.SystemException;
216
217 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P(
218 long groupId, long parentFolderId, int start, int end)
219 throws com.liferay.portal.kernel.exception.SystemException;
220
221 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> filterFindByG_P(
222 long groupId, long parentFolderId, int start, int end,
223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll()
227 throws com.liferay.portal.kernel.exception.SystemException;
228
229 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
230 int start, int end)
231 throws com.liferay.portal.kernel.exception.SystemException;
232
233 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
234 int start, int end,
235 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public void removeByUuid(java.lang.String uuid)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public void removeByUUID_G(java.lang.String uuid, long groupId)
242 throws com.liferay.portal.kernel.exception.SystemException,
243 com.liferay.portlet.bookmarks.NoSuchFolderException;
244
245 public void removeByGroupId(long groupId)
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public void removeByCompanyId(long companyId)
249 throws com.liferay.portal.kernel.exception.SystemException;
250
251 public void removeByG_P(long groupId, long parentFolderId)
252 throws com.liferay.portal.kernel.exception.SystemException;
253
254 public void removeAll()
255 throws com.liferay.portal.kernel.exception.SystemException;
256
257 public int countByUuid(java.lang.String uuid)
258 throws com.liferay.portal.kernel.exception.SystemException;
259
260 public int countByUUID_G(java.lang.String uuid, long groupId)
261 throws com.liferay.portal.kernel.exception.SystemException;
262
263 public int countByGroupId(long groupId)
264 throws com.liferay.portal.kernel.exception.SystemException;
265
266 public int filterCountByGroupId(long groupId)
267 throws com.liferay.portal.kernel.exception.SystemException;
268
269 public int countByCompanyId(long companyId)
270 throws com.liferay.portal.kernel.exception.SystemException;
271
272 public int countByG_P(long groupId, long parentFolderId)
273 throws com.liferay.portal.kernel.exception.SystemException;
274
275 public int filterCountByG_P(long groupId, long parentFolderId)
276 throws com.liferay.portal.kernel.exception.SystemException;
277
278 public int countAll()
279 throws com.liferay.portal.kernel.exception.SystemException;
280 }