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.SystemException,
47 com.liferay.portlet.documentlibrary.NoSuchFolderException;
48
49
52 public com.liferay.portlet.documentlibrary.model.DLFolder update(
53 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
54 throws com.liferay.portal.SystemException;
55
56 public com.liferay.portlet.documentlibrary.model.DLFolder updateImpl(
57 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
58 boolean merge) throws com.liferay.portal.SystemException;
59
60 public com.liferay.portlet.documentlibrary.model.DLFolder findByPrimaryKey(
61 long folderId)
62 throws com.liferay.portal.SystemException,
63 com.liferay.portlet.documentlibrary.NoSuchFolderException;
64
65 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByPrimaryKey(
66 long folderId) throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
69 java.lang.String uuid) throws com.liferay.portal.SystemException;
70
71 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
72 java.lang.String uuid, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByUuid(
76 java.lang.String uuid, int start, int end,
77 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
78 throws com.liferay.portal.SystemException;
79
80 public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_First(
81 java.lang.String uuid,
82 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83 throws com.liferay.portal.SystemException,
84 com.liferay.portlet.documentlibrary.NoSuchFolderException;
85
86 public com.liferay.portlet.documentlibrary.model.DLFolder findByUuid_Last(
87 java.lang.String uuid,
88 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portlet.documentlibrary.NoSuchFolderException;
91
92 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByUuid_PrevAndNext(
93 long folderId, java.lang.String uuid,
94 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
95 throws com.liferay.portal.SystemException,
96 com.liferay.portlet.documentlibrary.NoSuchFolderException;
97
98 public com.liferay.portlet.documentlibrary.model.DLFolder findByUUID_G(
99 java.lang.String uuid, long groupId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.documentlibrary.NoSuchFolderException;
102
103 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
104 java.lang.String uuid, long groupId)
105 throws com.liferay.portal.SystemException;
106
107 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByUUID_G(
108 java.lang.String uuid, long groupId, boolean retrieveFromCache)
109 throws com.liferay.portal.SystemException;
110
111 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
112 long groupId) throws com.liferay.portal.SystemException;
113
114 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
115 long groupId, int start, int end)
116 throws com.liferay.portal.SystemException;
117
118 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByGroupId(
119 long groupId, int start, int end,
120 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
121 throws com.liferay.portal.SystemException;
122
123 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First(
124 long groupId,
125 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.documentlibrary.NoSuchFolderException;
128
129 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last(
130 long groupId,
131 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
132 throws com.liferay.portal.SystemException,
133 com.liferay.portlet.documentlibrary.NoSuchFolderException;
134
135 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext(
136 long folderId, long groupId,
137 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
138 throws com.liferay.portal.SystemException,
139 com.liferay.portlet.documentlibrary.NoSuchFolderException;
140
141 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
142 long companyId) throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
145 long companyId, int start, int end)
146 throws com.liferay.portal.SystemException;
147
148 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
149 long companyId, int start, int end,
150 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
151 throws com.liferay.portal.SystemException;
152
153 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First(
154 long companyId,
155 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.documentlibrary.NoSuchFolderException;
158
159 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
160 long companyId,
161 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.documentlibrary.NoSuchFolderException;
164
165 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext(
166 long folderId, long companyId,
167 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168 throws com.liferay.portal.SystemException,
169 com.liferay.portlet.documentlibrary.NoSuchFolderException;
170
171 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
172 long groupId, long parentFolderId)
173 throws com.liferay.portal.SystemException;
174
175 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
176 long groupId, long parentFolderId, int start, int end)
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 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
182 throws com.liferay.portal.SystemException;
183
184 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First(
185 long groupId, long parentFolderId,
186 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
187 throws com.liferay.portal.SystemException,
188 com.liferay.portlet.documentlibrary.NoSuchFolderException;
189
190 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last(
191 long groupId, long parentFolderId,
192 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
193 throws com.liferay.portal.SystemException,
194 com.liferay.portlet.documentlibrary.NoSuchFolderException;
195
196 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext(
197 long folderId, long groupId, long parentFolderId,
198 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
199 throws com.liferay.portal.SystemException,
200 com.liferay.portlet.documentlibrary.NoSuchFolderException;
201
202 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
203 long parentFolderId, java.lang.String name)
204 throws com.liferay.portal.SystemException;
205
206 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
207 long parentFolderId, java.lang.String name, int start, int end)
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 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
213 throws com.liferay.portal.SystemException;
214
215 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
216 long parentFolderId, java.lang.String name,
217 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
218 throws com.liferay.portal.SystemException,
219 com.liferay.portlet.documentlibrary.NoSuchFolderException;
220
221 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
222 long parentFolderId, java.lang.String name,
223 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
224 throws com.liferay.portal.SystemException,
225 com.liferay.portlet.documentlibrary.NoSuchFolderException;
226
227 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
228 long folderId, long parentFolderId, java.lang.String name,
229 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
230 throws com.liferay.portal.SystemException,
231 com.liferay.portlet.documentlibrary.NoSuchFolderException;
232
233 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
234 long groupId, long parentFolderId, java.lang.String name)
235 throws com.liferay.portal.SystemException,
236 com.liferay.portlet.documentlibrary.NoSuchFolderException;
237
238 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
239 long groupId, long parentFolderId, java.lang.String name)
240 throws com.liferay.portal.SystemException;
241
242 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
243 long groupId, long parentFolderId, java.lang.String name,
244 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
245
246 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll()
247 throws com.liferay.portal.SystemException;
248
249 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
250 int start, int end) throws com.liferay.portal.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.SystemException;
256
257 public void removeByUuid(java.lang.String uuid)
258 throws com.liferay.portal.SystemException;
259
260 public void removeByUUID_G(java.lang.String uuid, long groupId)
261 throws com.liferay.portal.SystemException,
262 com.liferay.portlet.documentlibrary.NoSuchFolderException;
263
264 public void removeByGroupId(long groupId)
265 throws com.liferay.portal.SystemException;
266
267 public void removeByCompanyId(long companyId)
268 throws com.liferay.portal.SystemException;
269
270 public void removeByG_P(long groupId, long parentFolderId)
271 throws com.liferay.portal.SystemException;
272
273 public void removeByP_N(long parentFolderId, java.lang.String name)
274 throws com.liferay.portal.SystemException;
275
276 public void removeByG_P_N(long groupId, long parentFolderId,
277 java.lang.String name)
278 throws com.liferay.portal.SystemException,
279 com.liferay.portlet.documentlibrary.NoSuchFolderException;
280
281 public void removeAll() throws com.liferay.portal.SystemException;
282
283 public int countByUuid(java.lang.String uuid)
284 throws com.liferay.portal.SystemException;
285
286 public int countByUUID_G(java.lang.String uuid, long groupId)
287 throws com.liferay.portal.SystemException;
288
289 public int countByGroupId(long groupId)
290 throws com.liferay.portal.SystemException;
291
292 public int countByCompanyId(long companyId)
293 throws com.liferay.portal.SystemException;
294
295 public int countByG_P(long groupId, long parentFolderId)
296 throws com.liferay.portal.SystemException;
297
298 public int countByP_N(long parentFolderId, java.lang.String name)
299 throws com.liferay.portal.SystemException;
300
301 public int countByG_P_N(long groupId, long parentFolderId,
302 java.lang.String name) throws com.liferay.portal.SystemException;
303
304 public int countAll() throws com.liferay.portal.SystemException;
305 }