1
22
23 package com.liferay.portlet.bookmarks.service.persistence;
24
25
31 public interface BookmarksFolderPersistence {
32 public com.liferay.portlet.bookmarks.model.BookmarksFolder create(
33 long folderId);
34
35 public com.liferay.portlet.bookmarks.model.BookmarksFolder remove(
36 long folderId)
37 throws com.liferay.portal.SystemException,
38 com.liferay.portlet.bookmarks.NoSuchFolderException;
39
40 public com.liferay.portlet.bookmarks.model.BookmarksFolder remove(
41 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
42 throws com.liferay.portal.SystemException;
43
44
47 public com.liferay.portlet.bookmarks.model.BookmarksFolder update(
48 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder)
49 throws com.liferay.portal.SystemException;
50
51
64 public com.liferay.portlet.bookmarks.model.BookmarksFolder update(
65 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.bookmarks.model.BookmarksFolder updateImpl(
69 com.liferay.portlet.bookmarks.model.BookmarksFolder bookmarksFolder,
70 boolean merge) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByPrimaryKey(
73 long folderId)
74 throws com.liferay.portal.SystemException,
75 com.liferay.portlet.bookmarks.NoSuchFolderException;
76
77 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByPrimaryKey(
78 long folderId) throws com.liferay.portal.SystemException;
79
80 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid(
81 java.lang.String uuid) throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid(
84 java.lang.String uuid, int start, int end)
85 throws com.liferay.portal.SystemException;
86
87 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByUuid(
88 java.lang.String uuid, int start, int end,
89 com.liferay.portal.kernel.util.OrderByComparator obc)
90 throws com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUuid_First(
93 java.lang.String uuid,
94 com.liferay.portal.kernel.util.OrderByComparator obc)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.bookmarks.NoSuchFolderException;
97
98 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUuid_Last(
99 java.lang.String uuid,
100 com.liferay.portal.kernel.util.OrderByComparator obc)
101 throws com.liferay.portal.SystemException,
102 com.liferay.portlet.bookmarks.NoSuchFolderException;
103
104 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByUuid_PrevAndNext(
105 long folderId, java.lang.String uuid,
106 com.liferay.portal.kernel.util.OrderByComparator obc)
107 throws com.liferay.portal.SystemException,
108 com.liferay.portlet.bookmarks.NoSuchFolderException;
109
110 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByUUID_G(
111 java.lang.String uuid, long groupId)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.bookmarks.NoSuchFolderException;
114
115 public com.liferay.portlet.bookmarks.model.BookmarksFolder fetchByUUID_G(
116 java.lang.String uuid, long groupId)
117 throws com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByGroupId(
120 long groupId) throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByGroupId(
123 long groupId, int start, int end)
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByGroupId(
127 long groupId, int start, int end,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException;
130
131 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByGroupId_First(
132 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.bookmarks.NoSuchFolderException;
135
136 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByGroupId_Last(
137 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.bookmarks.NoSuchFolderException;
140
141 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByGroupId_PrevAndNext(
142 long folderId, long groupId,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException,
145 com.liferay.portlet.bookmarks.NoSuchFolderException;
146
147 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
148 long companyId) throws com.liferay.portal.SystemException;
149
150 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
151 long companyId, int start, int end)
152 throws com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByCompanyId(
155 long companyId, int start, int end,
156 com.liferay.portal.kernel.util.OrderByComparator obc)
157 throws com.liferay.portal.SystemException;
158
159 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_First(
160 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.bookmarks.NoSuchFolderException;
163
164 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByCompanyId_Last(
165 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.SystemException,
167 com.liferay.portlet.bookmarks.NoSuchFolderException;
168
169 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByCompanyId_PrevAndNext(
170 long folderId, long companyId,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.bookmarks.NoSuchFolderException;
174
175 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
176 long groupId, long parentFolderId)
177 throws com.liferay.portal.SystemException;
178
179 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
180 long groupId, long parentFolderId, int start, int end)
181 throws com.liferay.portal.SystemException;
182
183 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findByG_P(
184 long groupId, long parentFolderId, int start, int end,
185 com.liferay.portal.kernel.util.OrderByComparator obc)
186 throws com.liferay.portal.SystemException;
187
188 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_First(
189 long groupId, long parentFolderId,
190 com.liferay.portal.kernel.util.OrderByComparator obc)
191 throws com.liferay.portal.SystemException,
192 com.liferay.portlet.bookmarks.NoSuchFolderException;
193
194 public com.liferay.portlet.bookmarks.model.BookmarksFolder findByG_P_Last(
195 long groupId, long parentFolderId,
196 com.liferay.portal.kernel.util.OrderByComparator obc)
197 throws com.liferay.portal.SystemException,
198 com.liferay.portlet.bookmarks.NoSuchFolderException;
199
200 public com.liferay.portlet.bookmarks.model.BookmarksFolder[] findByG_P_PrevAndNext(
201 long folderId, long groupId, long parentFolderId,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.bookmarks.NoSuchFolderException;
205
206 public java.util.List<Object> findWithDynamicQuery(
207 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
208 throws com.liferay.portal.SystemException;
209
210 public java.util.List<Object> findWithDynamicQuery(
211 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
212 int end) throws com.liferay.portal.SystemException;
213
214 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll()
215 throws com.liferay.portal.SystemException;
216
217 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
218 int start, int end) throws com.liferay.portal.SystemException;
219
220 public java.util.List<com.liferay.portlet.bookmarks.model.BookmarksFolder> findAll(
221 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException;
223
224 public void removeByUuid(java.lang.String uuid)
225 throws com.liferay.portal.SystemException;
226
227 public void removeByUUID_G(java.lang.String uuid, long groupId)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.bookmarks.NoSuchFolderException;
230
231 public void removeByGroupId(long groupId)
232 throws com.liferay.portal.SystemException;
233
234 public void removeByCompanyId(long companyId)
235 throws com.liferay.portal.SystemException;
236
237 public void removeByG_P(long groupId, long parentFolderId)
238 throws com.liferay.portal.SystemException;
239
240 public void removeAll() throws com.liferay.portal.SystemException;
241
242 public int countByUuid(java.lang.String uuid)
243 throws com.liferay.portal.SystemException;
244
245 public int countByUUID_G(java.lang.String uuid, long groupId)
246 throws com.liferay.portal.SystemException;
247
248 public int countByGroupId(long groupId)
249 throws com.liferay.portal.SystemException;
250
251 public int countByCompanyId(long companyId)
252 throws com.liferay.portal.SystemException;
253
254 public int countByG_P(long groupId, long parentFolderId)
255 throws com.liferay.portal.SystemException;
256
257 public int countAll() throws com.liferay.portal.SystemException;
258
259 public void registerListener(
260 com.liferay.portal.model.ModelListener listener);
261
262 public void unregisterListener(
263 com.liferay.portal.model.ModelListener listener);
264 }