1
14
15 package com.liferay.portlet.documentlibrary.service.persistence;
16
17 import com.liferay.portal.service.persistence.BasePersistence;
18
19 import com.liferay.portlet.documentlibrary.model.DLFolder;
20
21
34 public interface DLFolderPersistence extends BasePersistence<DLFolder> {
35 public void cacheResult(
36 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder);
37
38 public void cacheResult(
39 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> dlFolders);
40
41 public com.liferay.portlet.documentlibrary.model.DLFolder create(
42 long folderId);
43
44 public com.liferay.portlet.documentlibrary.model.DLFolder remove(
45 long folderId)
46 throws com.liferay.portal.kernel.exception.SystemException,
47 com.liferay.portlet.documentlibrary.NoSuchFolderException;
48
49 public com.liferay.portlet.documentlibrary.model.DLFolder updateImpl(
50 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
51 boolean merge)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey(
55 long folderId)
56 throws com.liferay.portal.kernel.exception.SystemException,
57 com.liferay.portlet.documentlibrary.NoSuchFolderException;
58
59 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey(
60 long folderId)
61 throws com.liferay.portal.kernel.exception.SystemException;
62
63 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
64 java.lang.String uuid)
65 throws com.liferay.portal.kernel.exception.SystemException;
66
67 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> 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.documentlibrary.model.DLFolder> 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.documentlibrary.model.DLFolder 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.documentlibrary.NoSuchFolderException;
81
82 public com.liferay.portlet.documentlibrary.model.DLFolder 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.documentlibrary.NoSuchFolderException;
87
88 public com.liferay.portlet.documentlibrary.model.DLFolder[] 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.documentlibrary.NoSuchFolderException;
93
94 public com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G(
95 java.lang.String uuid, long groupId)
96 throws com.liferay.portal.kernel.exception.SystemException,
97 com.liferay.portlet.documentlibrary.NoSuchFolderException;
98
99 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
100 java.lang.String uuid, long groupId)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portlet.documentlibrary.model.DLFolder 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.documentlibrary.model.DLFolder> findByGroupId(
108 long groupId)
109 throws com.liferay.portal.kernel.exception.SystemException;
110
111 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> 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.documentlibrary.model.DLFolder> 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.documentlibrary.model.DLFolder 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.documentlibrary.NoSuchFolderException;
125
126 public com.liferay.portlet.documentlibrary.model.DLFolder 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.documentlibrary.NoSuchFolderException;
131
132 public com.liferay.portlet.documentlibrary.model.DLFolder[] 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.documentlibrary.NoSuchFolderException;
137
138 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
139 long companyId)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
143 long companyId, int start, int end)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
147 long companyId, int start, int end,
148 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149 throws com.liferay.portal.kernel.exception.SystemException;
150
151 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First(
152 long companyId,
153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154 throws com.liferay.portal.kernel.exception.SystemException,
155 com.liferay.portlet.documentlibrary.NoSuchFolderException;
156
157 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
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_PrevAndNext(
164 long folderId, 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 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
170 long groupId, long parentFolderId)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
174 long groupId, long parentFolderId, int start, int end)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
178 long groupId, long parentFolderId, int start, int end,
179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180 throws com.liferay.portal.kernel.exception.SystemException;
181
182 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First(
183 long groupId, long parentFolderId,
184 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
185 throws com.liferay.portal.kernel.exception.SystemException,
186 com.liferay.portlet.documentlibrary.NoSuchFolderException;
187
188 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last(
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_PrevAndNext(
195 long folderId, 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 java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
201 long parentFolderId, java.lang.String name)
202 throws com.liferay.portal.kernel.exception.SystemException;
203
204 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
205 long parentFolderId, java.lang.String name, int start, int end)
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
209 long parentFolderId, java.lang.String name, int start, int end,
210 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
214 long parentFolderId, java.lang.String name,
215 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
216 throws com.liferay.portal.kernel.exception.SystemException,
217 com.liferay.portlet.documentlibrary.NoSuchFolderException;
218
219 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
220 long parentFolderId, java.lang.String name,
221 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
222 throws com.liferay.portal.kernel.exception.SystemException,
223 com.liferay.portlet.documentlibrary.NoSuchFolderException;
224
225 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
226 long folderId, long parentFolderId, java.lang.String name,
227 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228 throws com.liferay.portal.kernel.exception.SystemException,
229 com.liferay.portlet.documentlibrary.NoSuchFolderException;
230
231 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
232 long groupId, long parentFolderId, java.lang.String name)
233 throws com.liferay.portal.kernel.exception.SystemException,
234 com.liferay.portlet.documentlibrary.NoSuchFolderException;
235
236 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
237 long groupId, long parentFolderId, java.lang.String name)
238 throws com.liferay.portal.kernel.exception.SystemException;
239
240 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
241 long groupId, long parentFolderId, java.lang.String name,
242 boolean retrieveFromCache)
243 throws com.liferay.portal.kernel.exception.SystemException;
244
245 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll()
246 throws com.liferay.portal.kernel.exception.SystemException;
247
248 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
249 int start, int end)
250 throws com.liferay.portal.kernel.exception.SystemException;
251
252 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
253 int start, int end,
254 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255 throws com.liferay.portal.kernel.exception.SystemException;
256
257 public void removeByUuid(java.lang.String uuid)
258 throws com.liferay.portal.kernel.exception.SystemException;
259
260 public void removeByUUID_G(java.lang.String uuid, long groupId)
261 throws com.liferay.portal.kernel.exception.SystemException,
262 com.liferay.portlet.documentlibrary.NoSuchFolderException;
263
264 public void removeByGroupId(long groupId)
265 throws com.liferay.portal.kernel.exception.SystemException;
266
267 public void removeByCompanyId(long companyId)
268 throws com.liferay.portal.kernel.exception.SystemException;
269
270 public void removeByG_P(long groupId, long parentFolderId)
271 throws com.liferay.portal.kernel.exception.SystemException;
272
273 public void removeByP_N(long parentFolderId, java.lang.String name)
274 throws com.liferay.portal.kernel.exception.SystemException;
275
276 public void removeByG_P_N(long groupId, long parentFolderId,
277 java.lang.String name)
278 throws com.liferay.portal.kernel.exception.SystemException,
279 com.liferay.portlet.documentlibrary.NoSuchFolderException;
280
281 public void removeAll()
282 throws com.liferay.portal.kernel.exception.SystemException;
283
284 public int countByUuid(java.lang.String uuid)
285 throws com.liferay.portal.kernel.exception.SystemException;
286
287 public int countByUUID_G(java.lang.String uuid, long groupId)
288 throws com.liferay.portal.kernel.exception.SystemException;
289
290 public int countByGroupId(long groupId)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293 public int countByCompanyId(long companyId)
294 throws com.liferay.portal.kernel.exception.SystemException;
295
296 public int countByG_P(long groupId, long parentFolderId)
297 throws com.liferay.portal.kernel.exception.SystemException;
298
299 public int countByP_N(long parentFolderId, java.lang.String name)
300 throws com.liferay.portal.kernel.exception.SystemException;
301
302 public int countByG_P_N(long groupId, long parentFolderId,
303 java.lang.String name)
304 throws com.liferay.portal.kernel.exception.SystemException;
305
306 public int countAll()
307 throws com.liferay.portal.kernel.exception.SystemException;
308 }