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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
118 throws com.liferay.portal.kernel.exception.SystemException;
119
120 public com.liferay.portlet.bookmarks.model.BookmarksFolder 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.NoSuchFolderException;
124
125 public com.liferay.portlet.bookmarks.model.BookmarksFolder 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.NoSuchFolderException;
129
130 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByGroupId_PrevAndNext(
131 long folderId, long groupId,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.kernel.exception.SystemException,
134 com.liferay.portlet.bookmarks.NoSuchFolderException;
135
136 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
137 long companyId)
138 throws com.liferay.portal.kernel.exception.SystemException;
139
140 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
141 long companyId, int start, int end)
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
145 long companyId, 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.BookmarksFolder findByCompanyId_First(
150 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.kernel.exception.SystemException,
152 com.liferay.portlet.bookmarks.NoSuchFolderException;
153
154 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_Last(
155 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.kernel.exception.SystemException,
157 com.liferay.portlet.bookmarks.NoSuchFolderException;
158
159 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByCompanyId_PrevAndNext(
160 long folderId, long companyId,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.kernel.exception.SystemException,
163 com.liferay.portlet.bookmarks.NoSuchFolderException;
164
165 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
166 long groupId, long parentFolderId)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
170 long groupId, long parentFolderId, int start, int end)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
174 long groupId, long parentFolderId, int start, int end,
175 com.liferay.portal.kernel.util.OrderByComparator obc)
176 throws com.liferay.portal.kernel.exception.SystemException;
177
178 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_First(
179 long groupId, long parentFolderId,
180 com.liferay.portal.kernel.util.OrderByComparator obc)
181 throws com.liferay.portal.kernel.exception.SystemException,
182 com.liferay.portlet.bookmarks.NoSuchFolderException;
183
184 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_Last(
185 long groupId, long parentFolderId,
186 com.liferay.portal.kernel.util.OrderByComparator obc)
187 throws com.liferay.portal.kernel.exception.SystemException,
188 com.liferay.portlet.bookmarks.NoSuchFolderException;
189
190 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByG_P_PrevAndNext(
191 long folderId, long groupId, long parentFolderId,
192 com.liferay.portal.kernel.util.OrderByComparator obc)
193 throws com.liferay.portal.kernel.exception.SystemException,
194 com.liferay.portlet.bookmarks.NoSuchFolderException;
195
196 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll()
197 throws com.liferay.portal.kernel.exception.SystemException;
198
199 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
200 int start, int end)
201 throws com.liferay.portal.kernel.exception.SystemException;
202
203 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
204 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
205 throws com.liferay.portal.kernel.exception.SystemException;
206
207 public void removeByUuid(java.lang.String uuid)
208 throws com.liferay.portal.kernel.exception.SystemException;
209
210 public void removeByUUID_G(java.lang.String uuid, long groupId)
211 throws com.liferay.portal.kernel.exception.SystemException,
212 com.liferay.portlet.bookmarks.NoSuchFolderException;
213
214 public void removeByGroupId(long groupId)
215 throws com.liferay.portal.kernel.exception.SystemException;
216
217 public void removeByCompanyId(long companyId)
218 throws com.liferay.portal.kernel.exception.SystemException;
219
220 public void removeByG_P(long groupId, long parentFolderId)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223 public void removeAll()
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226 public int countByUuid(java.lang.String uuid)
227 throws com.liferay.portal.kernel.exception.SystemException;
228
229 public int countByUUID_G(java.lang.String uuid, long groupId)
230 throws com.liferay.portal.kernel.exception.SystemException;
231
232 public int countByGroupId(long groupId)
233 throws com.liferay.portal.kernel.exception.SystemException;
234
235 public int countByCompanyId(long companyId)
236 throws com.liferay.portal.kernel.exception.SystemException;
237
238 public int countByG_P(long groupId, long parentFolderId)
239 throws com.liferay.portal.kernel.exception.SystemException;
240
241 public int countAll()
242 throws com.liferay.portal.kernel.exception.SystemException;
243 }