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 obc)
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 obc)
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 obc)
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 obc)
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 obc)
121 throws com.liferay.portal.SystemException;
122
123 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_First(
124 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.documentlibrary.NoSuchFolderException;
127
128 public com.liferay.portlet.documentlibrary.model.DLFolder findByGroupId_Last(
129 long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
130 throws com.liferay.portal.SystemException,
131 com.liferay.portlet.documentlibrary.NoSuchFolderException;
132
133 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByGroupId_PrevAndNext(
134 long folderId, long groupId,
135 com.liferay.portal.kernel.util.OrderByComparator obc)
136 throws com.liferay.portal.SystemException,
137 com.liferay.portlet.documentlibrary.NoSuchFolderException;
138
139 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByCompanyId(
140 long companyId) throws com.liferay.portal.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.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 obc)
149 throws com.liferay.portal.SystemException;
150
151 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_First(
152 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
153 throws com.liferay.portal.SystemException,
154 com.liferay.portlet.documentlibrary.NoSuchFolderException;
155
156 public com.liferay.portlet.documentlibrary.model.DLFolder findByCompanyId_Last(
157 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.documentlibrary.NoSuchFolderException;
160
161 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByCompanyId_PrevAndNext(
162 long folderId, long companyId,
163 com.liferay.portal.kernel.util.OrderByComparator obc)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.documentlibrary.NoSuchFolderException;
166
167 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
168 long groupId, long parentFolderId)
169 throws com.liferay.portal.SystemException;
170
171 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByG_P(
172 long groupId, long parentFolderId, int start, int end)
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 com.liferay.portal.kernel.util.OrderByComparator obc)
178 throws com.liferay.portal.SystemException;
179
180 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_First(
181 long groupId, long parentFolderId,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException,
184 com.liferay.portlet.documentlibrary.NoSuchFolderException;
185
186 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_Last(
187 long groupId, long parentFolderId,
188 com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.SystemException,
190 com.liferay.portlet.documentlibrary.NoSuchFolderException;
191
192 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByG_P_PrevAndNext(
193 long folderId, long groupId, long parentFolderId,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.documentlibrary.NoSuchFolderException;
197
198 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
199 long parentFolderId, java.lang.String name)
200 throws com.liferay.portal.SystemException;
201
202 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findByP_N(
203 long parentFolderId, java.lang.String name, int start, int end)
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 com.liferay.portal.kernel.util.OrderByComparator obc)
209 throws com.liferay.portal.SystemException;
210
211 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_First(
212 long parentFolderId, java.lang.String name,
213 com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException,
215 com.liferay.portlet.documentlibrary.NoSuchFolderException;
216
217 public com.liferay.portlet.documentlibrary.model.DLFolder findByP_N_Last(
218 long parentFolderId, java.lang.String name,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.SystemException,
221 com.liferay.portlet.documentlibrary.NoSuchFolderException;
222
223 public com.liferay.portlet.documentlibrary.model.DLFolder[] findByP_N_PrevAndNext(
224 long folderId, long parentFolderId, java.lang.String name,
225 com.liferay.portal.kernel.util.OrderByComparator obc)
226 throws com.liferay.portal.SystemException,
227 com.liferay.portlet.documentlibrary.NoSuchFolderException;
228
229 public com.liferay.portlet.documentlibrary.model.DLFolder findByG_P_N(
230 long groupId, long parentFolderId, java.lang.String name)
231 throws com.liferay.portal.SystemException,
232 com.liferay.portlet.documentlibrary.NoSuchFolderException;
233
234 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
235 long groupId, long parentFolderId, java.lang.String name)
236 throws com.liferay.portal.SystemException;
237
238 public com.liferay.portlet.documentlibrary.model.DLFolder fetchByG_P_N(
239 long groupId, long parentFolderId, java.lang.String name,
240 boolean retrieveFromCache) throws com.liferay.portal.SystemException;
241
242 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll()
243 throws com.liferay.portal.SystemException;
244
245 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
246 int start, int end) throws com.liferay.portal.SystemException;
247
248 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> findAll(
249 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
250 throws com.liferay.portal.SystemException;
251
252 public void removeByUuid(java.lang.String uuid)
253 throws com.liferay.portal.SystemException;
254
255 public void removeByUUID_G(java.lang.String uuid, long groupId)
256 throws com.liferay.portal.SystemException,
257 com.liferay.portlet.documentlibrary.NoSuchFolderException;
258
259 public void removeByGroupId(long groupId)
260 throws com.liferay.portal.SystemException;
261
262 public void removeByCompanyId(long companyId)
263 throws com.liferay.portal.SystemException;
264
265 public void removeByG_P(long groupId, long parentFolderId)
266 throws com.liferay.portal.SystemException;
267
268 public void removeByP_N(long parentFolderId, java.lang.String name)
269 throws com.liferay.portal.SystemException;
270
271 public void removeByG_P_N(long groupId, long parentFolderId,
272 java.lang.String name)
273 throws com.liferay.portal.SystemException,
274 com.liferay.portlet.documentlibrary.NoSuchFolderException;
275
276 public void removeAll() throws com.liferay.portal.SystemException;
277
278 public int countByUuid(java.lang.String uuid)
279 throws com.liferay.portal.SystemException;
280
281 public int countByUUID_G(java.lang.String uuid, long groupId)
282 throws com.liferay.portal.SystemException;
283
284 public int countByGroupId(long groupId)
285 throws com.liferay.portal.SystemException;
286
287 public int countByCompanyId(long companyId)
288 throws com.liferay.portal.SystemException;
289
290 public int countByG_P(long groupId, long parentFolderId)
291 throws com.liferay.portal.SystemException;
292
293 public int countByP_N(long parentFolderId, java.lang.String name)
294 throws com.liferay.portal.SystemException;
295
296 public int countByG_P_N(long groupId, long parentFolderId,
297 java.lang.String name) throws com.liferay.portal.SystemException;
298
299 public int countAll() throws com.liferay.portal.SystemException;
300 }