1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27 import com.liferay.portlet.documentlibrary.model.DLFolder;
28
29
42 public interface DLFolderPersistence extends BasePersistence<DLFolder> {
43 public void cacheResult(
44 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder);
45
46 public void cacheResult(
47 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders);
48
49 public com.liferay.portlet.documentlibrary.model.DLFolder create(
50 long folderId);
51
52 public com.liferay.portlet.documentlibrary.model.DLFolder remove(
53 long folderId)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portlet.documentlibrary.NoSuchFolderException;
56
57
60 public com.liferay.portlet.documentlibrary.model.DLFolder update(
61 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
62 throws com.liferay.portal.SystemException;
63
64 public com.liferay.portlet.documentlibrary.model.DLFolder updateImpl(
65 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
66 boolean merge) throws com.liferay.portal.SystemException;
67
68 public com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey(
69 long folderId)
70 throws com.liferay.portal.SystemException,
71 com.liferay.portlet.documentlibrary.NoSuchFolderException;
72
73 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey(
74 long folderId) throws com.liferay.portal.SystemException;
75
76 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
77 java.lang.String uuid) throws com.liferay.portal.SystemException;
78
79 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
80 java.lang.String uuid, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
84 java.lang.String uuid, int start, int end,
85 com.liferay.portal.kernel.util.OrderByComparator obc)
86 throws com.liferay.portal.SystemException;
87
88 public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First(
89 java.lang.String uuid,
90 com.liferay.portal.kernel.util.OrderByComparator obc)
91 throws com.liferay.portal.SystemException,
92 com.liferay.portlet.documentlibrary.NoSuchFolderException;
93
94 public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last(
95 java.lang.String uuid,
96 com.liferay.portal.kernel.util.OrderByComparator obc)
97 throws com.liferay.portal.SystemException,
98 com.liferay.portlet.documentlibrary.NoSuchFolderException;
99
100 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext(
101 long folderId, java.lang.String uuid,
102 com.liferay.portal.kernel.util.OrderByComparator obc)
103 throws com.liferay.portal.SystemException,
104 com.liferay.portlet.documentlibrary.NoSuchFolderException;
105
106 public com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G(
107 java.lang.String uuid, long groupId)
108 throws com.liferay.portal.SystemException,
109 com.liferay.portlet.documentlibrary.NoSuchFolderException;
110
111 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
112 java.lang.String uuid, long groupId)
113 throws com.liferay.portal.SystemException;
114
115 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
116 java.lang.String uuid, long groupId, boolean retrieveFromCache)
117 throws com.liferay.portal.SystemException;
118
119 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
120 long groupId) throws com.liferay.portal.SystemException;
121
122 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
123 long groupId, int start, int end)
124 throws com.liferay.portal.SystemException;
125
126 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> 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.documentlibrary.model.DLFolder findByGroupId_First(
132 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.documentlibrary.NoSuchFolderException;
135
136 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last(
137 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.documentlibrary.NoSuchFolderException;
140
141 public com.liferay.portlet.documentlibrary.model.DLFolder[] 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.documentlibrary.NoSuchFolderException;
146
147 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
148 long companyId) throws com.liferay.portal.SystemException;
149
150 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
151 long companyId, int start, int end)
152 throws com.liferay.portal.SystemException;
153
154 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> 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.documentlibrary.model.DLFolder findByCompanyId_First(
160 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
161 throws com.liferay.portal.SystemException,
162 com.liferay.portlet.documentlibrary.NoSuchFolderException;
163
164 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
165 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
166 throws com.liferay.portal.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 obc)
172 throws com.liferay.portal.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.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.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 obc)
186 throws com.liferay.portal.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 obc)
191 throws com.liferay.portal.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 obc)
197 throws com.liferay.portal.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 obc)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.documentlibrary.NoSuchFolderException;
205
206 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
207 long parentFolderId, java.lang.String name)
208 throws com.liferay.portal.SystemException;
209
210 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
211 long parentFolderId, java.lang.String name, int start, int end)
212 throws com.liferay.portal.SystemException;
213
214 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
215 long parentFolderId, java.lang.String name, int start, int end,
216 com.liferay.portal.kernel.util.OrderByComparator obc)
217 throws com.liferay.portal.SystemException;
218
219 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
220 long parentFolderId, java.lang.String name,
221 com.liferay.portal.kernel.util.OrderByComparator obc)
222 throws com.liferay.portal.SystemException,
223 com.liferay.portlet.documentlibrary.NoSuchFolderException;
224
225 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
226 long parentFolderId, java.lang.String name,
227 com.liferay.portal.kernel.util.OrderByComparator obc)
228 throws com.liferay.portal.SystemException,
229 com.liferay.portlet.documentlibrary.NoSuchFolderException;
230
231 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
232 long folderId, long parentFolderId, java.lang.String name,
233 com.liferay.portal.kernel.util.OrderByComparator obc)
234 throws com.liferay.portal.SystemException,
235 com.liferay.portlet.documentlibrary.NoSuchFolderException;
236
237 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
238 long groupId, long parentFolderId, java.lang.String name)
239 throws com.liferay.portal.SystemException,
240 com.liferay.portlet.documentlibrary.NoSuchFolderException;
241
242 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
243 long groupId, long parentFolderId, java.lang.String name)
244 throws com.liferay.portal.SystemException;
245
246 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
247 long groupId, long parentFolderId, java.lang.String name,
248 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
249
250 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll()
251 throws com.liferay.portal.SystemException;
252
253 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
254 int start, int end) throws com.liferay.portal.SystemException;
255
256 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
257 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
258 throws com.liferay.portal.SystemException;
259
260 public void removeByUuid(java.lang.String uuid)
261 throws com.liferay.portal.SystemException;
262
263 public void removeByUUID_G(java.lang.String uuid, long groupId)
264 throws com.liferay.portal.SystemException,
265 com.liferay.portlet.documentlibrary.NoSuchFolderException;
266
267 public void removeByGroupId(long groupId)
268 throws com.liferay.portal.SystemException;
269
270 public void removeByCompanyId(long companyId)
271 throws com.liferay.portal.SystemException;
272
273 public void removeByG_P(long groupId, long parentFolderId)
274 throws com.liferay.portal.SystemException;
275
276 public void removeByP_N(long parentFolderId, java.lang.String name)
277 throws com.liferay.portal.SystemException;
278
279 public void removeByG_P_N(long groupId, long parentFolderId,
280 java.lang.String name)
281 throws com.liferay.portal.SystemException,
282 com.liferay.portlet.documentlibrary.NoSuchFolderException;
283
284 public void removeAll() throws com.liferay.portal.SystemException;
285
286 public int countByUuid(java.lang.String uuid)
287 throws com.liferay.portal.SystemException;
288
289 public int countByUUID_G(java.lang.String uuid, long groupId)
290 throws com.liferay.portal.SystemException;
291
292 public int countByGroupId(long groupId)
293 throws com.liferay.portal.SystemException;
294
295 public int countByCompanyId(long companyId)
296 throws com.liferay.portal.SystemException;
297
298 public int countByG_P(long groupId, long parentFolderId)
299 throws com.liferay.portal.SystemException;
300
301 public int countByP_N(long parentFolderId, java.lang.String name)
302 throws com.liferay.portal.SystemException;
303
304 public int countByG_P_N(long groupId, long parentFolderId,
305 java.lang.String name) throws com.liferay.portal.SystemException;
306
307 public int countAll() throws com.liferay.portal.SystemException;
308 }