001
014
015 package com.liferay.portlet.documentlibrary.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.documentlibrary.model.DLFolder;
020
021
027 public interface DLFolderPersistence extends BasePersistence<DLFolder> {
028 public void cacheResult(
029 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders);
033
034 public com.liferay.portlet.documentlibrary.model.DLFolder create(
035 long folderId);
036
037 public com.liferay.portlet.documentlibrary.model.DLFolder remove(
038 long folderId)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.documentlibrary.NoSuchFolderException;
041
042 public com.liferay.portlet.documentlibrary.model.DLFolder updateImpl(
043 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
044 boolean merge)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey(
048 long folderId)
049 throws com.liferay.portal.kernel.exception.SystemException,
050 com.liferay.portlet.documentlibrary.NoSuchFolderException;
051
052 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey(
053 long folderId)
054 throws com.liferay.portal.kernel.exception.SystemException;
055
056 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
057 java.lang.String uuid)
058 throws com.liferay.portal.kernel.exception.SystemException;
059
060 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
061 java.lang.String uuid, int start, int end)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
065 java.lang.String uuid, int start, int end,
066 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First(
070 java.lang.String uuid,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException,
073 com.liferay.portlet.documentlibrary.NoSuchFolderException;
074
075 public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last(
076 java.lang.String uuid,
077 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
078 throws com.liferay.portal.kernel.exception.SystemException,
079 com.liferay.portlet.documentlibrary.NoSuchFolderException;
080
081 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext(
082 long folderId, java.lang.String uuid,
083 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
084 throws com.liferay.portal.kernel.exception.SystemException,
085 com.liferay.portlet.documentlibrary.NoSuchFolderException;
086
087 public com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G(
088 java.lang.String uuid, long groupId)
089 throws com.liferay.portal.kernel.exception.SystemException,
090 com.liferay.portlet.documentlibrary.NoSuchFolderException;
091
092 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
093 java.lang.String uuid, long groupId)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
097 java.lang.String uuid, long groupId, boolean retrieveFromCache)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
101 long groupId)
102 throws com.liferay.portal.kernel.exception.SystemException;
103
104 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
105 long groupId, int start, int end)
106 throws com.liferay.portal.kernel.exception.SystemException;
107
108 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
109 long groupId, int start, int end,
110 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111 throws com.liferay.portal.kernel.exception.SystemException;
112
113 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First(
114 long groupId,
115 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
116 throws com.liferay.portal.kernel.exception.SystemException,
117 com.liferay.portlet.documentlibrary.NoSuchFolderException;
118
119 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last(
120 long groupId,
121 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
122 throws com.liferay.portal.kernel.exception.SystemException,
123 com.liferay.portlet.documentlibrary.NoSuchFolderException;
124
125 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext(
126 long folderId, long groupId,
127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128 throws com.liferay.portal.kernel.exception.SystemException,
129 com.liferay.portlet.documentlibrary.NoSuchFolderException;
130
131 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
132 long groupId)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
136 long groupId, int start, int end)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByGroupId(
140 long groupId, int start, int end,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException;
143
144 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
145 long companyId)
146 throws com.liferay.portal.kernel.exception.SystemException;
147
148 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
149 long companyId, int start, int end)
150 throws com.liferay.portal.kernel.exception.SystemException;
151
152 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
153 long companyId, int start, int end,
154 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
155 throws com.liferay.portal.kernel.exception.SystemException;
156
157 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First(
158 long companyId,
159 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
160 throws com.liferay.portal.kernel.exception.SystemException,
161 com.liferay.portlet.documentlibrary.NoSuchFolderException;
162
163 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
164 long companyId,
165 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
166 throws com.liferay.portal.kernel.exception.SystemException,
167 com.liferay.portlet.documentlibrary.NoSuchFolderException;
168
169 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext(
170 long folderId, long companyId,
171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172 throws com.liferay.portal.kernel.exception.SystemException,
173 com.liferay.portlet.documentlibrary.NoSuchFolderException;
174
175 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
176 long groupId, long parentFolderId)
177 throws com.liferay.portal.kernel.exception.SystemException;
178
179 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
180 long groupId, long parentFolderId, int start, int end)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
184 long groupId, long parentFolderId, int start, int end,
185 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
186 throws com.liferay.portal.kernel.exception.SystemException;
187
188 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First(
189 long groupId, long parentFolderId,
190 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
191 throws com.liferay.portal.kernel.exception.SystemException,
192 com.liferay.portlet.documentlibrary.NoSuchFolderException;
193
194 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last(
195 long groupId, long parentFolderId,
196 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
197 throws com.liferay.portal.kernel.exception.SystemException,
198 com.liferay.portlet.documentlibrary.NoSuchFolderException;
199
200 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext(
201 long folderId, long groupId, long parentFolderId,
202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
203 throws com.liferay.portal.kernel.exception.SystemException,
204 com.liferay.portlet.documentlibrary.NoSuchFolderException;
205
206 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
207 long groupId, long parentFolderId)
208 throws com.liferay.portal.kernel.exception.SystemException;
209
210 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
211 long groupId, long parentFolderId, int start, int end)
212 throws com.liferay.portal.kernel.exception.SystemException;
213
214 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> filterFindByG_P(
215 long groupId, long parentFolderId, int start, int end,
216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
217 throws com.liferay.portal.kernel.exception.SystemException;
218
219 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
220 long parentFolderId, java.lang.String name)
221 throws com.liferay.portal.kernel.exception.SystemException;
222
223 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
224 long parentFolderId, java.lang.String name, int start, int end)
225 throws com.liferay.portal.kernel.exception.SystemException;
226
227 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
228 long parentFolderId, java.lang.String name, int start, int end,
229 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
230 throws com.liferay.portal.kernel.exception.SystemException;
231
232 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
233 long parentFolderId, java.lang.String name,
234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235 throws com.liferay.portal.kernel.exception.SystemException,
236 com.liferay.portlet.documentlibrary.NoSuchFolderException;
237
238 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
239 long parentFolderId, java.lang.String name,
240 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
241 throws com.liferay.portal.kernel.exception.SystemException,
242 com.liferay.portlet.documentlibrary.NoSuchFolderException;
243
244 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
245 long folderId, long parentFolderId, java.lang.String name,
246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247 throws com.liferay.portal.kernel.exception.SystemException,
248 com.liferay.portlet.documentlibrary.NoSuchFolderException;
249
250 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
251 long groupId, long parentFolderId, java.lang.String name)
252 throws com.liferay.portal.kernel.exception.SystemException,
253 com.liferay.portlet.documentlibrary.NoSuchFolderException;
254
255 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
256 long groupId, long parentFolderId, java.lang.String name)
257 throws com.liferay.portal.kernel.exception.SystemException;
258
259 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
260 long groupId, long parentFolderId, java.lang.String name,
261 boolean retrieveFromCache)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll()
265 throws com.liferay.portal.kernel.exception.SystemException;
266
267 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
268 int start, int end)
269 throws com.liferay.portal.kernel.exception.SystemException;
270
271 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
272 int start, int end,
273 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276 public void removeByUuid(java.lang.String uuid)
277 throws com.liferay.portal.kernel.exception.SystemException;
278
279 public void removeByUUID_G(java.lang.String uuid, long groupId)
280 throws com.liferay.portal.kernel.exception.SystemException,
281 com.liferay.portlet.documentlibrary.NoSuchFolderException;
282
283 public void removeByGroupId(long groupId)
284 throws com.liferay.portal.kernel.exception.SystemException;
285
286 public void removeByCompanyId(long companyId)
287 throws com.liferay.portal.kernel.exception.SystemException;
288
289 public void removeByG_P(long groupId, long parentFolderId)
290 throws com.liferay.portal.kernel.exception.SystemException;
291
292 public void removeByP_N(long parentFolderId, java.lang.String name)
293 throws com.liferay.portal.kernel.exception.SystemException;
294
295 public void removeByG_P_N(long groupId, long parentFolderId,
296 java.lang.String name)
297 throws com.liferay.portal.kernel.exception.SystemException,
298 com.liferay.portlet.documentlibrary.NoSuchFolderException;
299
300 public void removeAll()
301 throws com.liferay.portal.kernel.exception.SystemException;
302
303 public int countByUuid(java.lang.String uuid)
304 throws com.liferay.portal.kernel.exception.SystemException;
305
306 public int countByUUID_G(java.lang.String uuid, long groupId)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 public int countByGroupId(long groupId)
310 throws com.liferay.portal.kernel.exception.SystemException;
311
312 public int filterCountByGroupId(long groupId)
313 throws com.liferay.portal.kernel.exception.SystemException;
314
315 public int countByCompanyId(long companyId)
316 throws com.liferay.portal.kernel.exception.SystemException;
317
318 public int countByG_P(long groupId, long parentFolderId)
319 throws com.liferay.portal.kernel.exception.SystemException;
320
321 public int filterCountByG_P(long groupId, long parentFolderId)
322 throws com.liferay.portal.kernel.exception.SystemException;
323
324 public int countByP_N(long parentFolderId, java.lang.String name)
325 throws com.liferay.portal.kernel.exception.SystemException;
326
327 public int countByG_P_N(long groupId, long parentFolderId,
328 java.lang.String name)
329 throws com.liferay.portal.kernel.exception.SystemException;
330
331 public int filterCountByG_P_N(long groupId, long parentFolderId,
332 java.lang.String name)
333 throws com.liferay.portal.kernel.exception.SystemException;
334
335 public int countAll()
336 throws com.liferay.portal.kernel.exception.SystemException;
337 }