1
22
23 package com.liferay.portlet.documentlibrary.service.persistence;
24
25
31 public class DLFileEntryUtil {
32 public static com.liferay.portlet.documentlibrary.model.DLFileEntry create(
33 long fileEntryId) {
34 return getPersistence().create(fileEntryId);
35 }
36
37 public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
38 long fileEntryId)
39 throws com.liferay.portal.SystemException,
40 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
41 return getPersistence().remove(fileEntryId);
42 }
43
44 public static com.liferay.portlet.documentlibrary.model.DLFileEntry remove(
45 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
46 throws com.liferay.portal.SystemException {
47 return getPersistence().remove(dlFileEntry);
48 }
49
50
53 public static com.liferay.portlet.documentlibrary.model.DLFileEntry update(
54 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry)
55 throws com.liferay.portal.SystemException {
56 return getPersistence().update(dlFileEntry);
57 }
58
59
72 public static com.liferay.portlet.documentlibrary.model.DLFileEntry update(
73 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
74 boolean merge) throws com.liferay.portal.SystemException {
75 return getPersistence().update(dlFileEntry, merge);
76 }
77
78 public static com.liferay.portlet.documentlibrary.model.DLFileEntry updateImpl(
79 com.liferay.portlet.documentlibrary.model.DLFileEntry dlFileEntry,
80 boolean merge) throws com.liferay.portal.SystemException {
81 return getPersistence().updateImpl(dlFileEntry, merge);
82 }
83
84 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByPrimaryKey(
85 long fileEntryId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
88 return getPersistence().findByPrimaryKey(fileEntryId);
89 }
90
91 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByPrimaryKey(
92 long fileEntryId) throws com.liferay.portal.SystemException {
93 return getPersistence().fetchByPrimaryKey(fileEntryId);
94 }
95
96 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
97 java.lang.String uuid) throws com.liferay.portal.SystemException {
98 return getPersistence().findByUuid(uuid);
99 }
100
101 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
102 java.lang.String uuid, int begin, int end)
103 throws com.liferay.portal.SystemException {
104 return getPersistence().findByUuid(uuid, begin, end);
105 }
106
107 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByUuid(
108 java.lang.String uuid, int begin, int end,
109 com.liferay.portal.kernel.util.OrderByComparator obc)
110 throws com.liferay.portal.SystemException {
111 return getPersistence().findByUuid(uuid, begin, end, obc);
112 }
113
114 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_First(
115 java.lang.String uuid,
116 com.liferay.portal.kernel.util.OrderByComparator obc)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
119 return getPersistence().findByUuid_First(uuid, obc);
120 }
121
122 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByUuid_Last(
123 java.lang.String uuid,
124 com.liferay.portal.kernel.util.OrderByComparator obc)
125 throws com.liferay.portal.SystemException,
126 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
127 return getPersistence().findByUuid_Last(uuid, obc);
128 }
129
130 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByUuid_PrevAndNext(
131 long fileEntryId, java.lang.String uuid,
132 com.liferay.portal.kernel.util.OrderByComparator obc)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
135 return getPersistence().findByUuid_PrevAndNext(fileEntryId, uuid, obc);
136 }
137
138 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
139 long companyId) throws com.liferay.portal.SystemException {
140 return getPersistence().findByCompanyId(companyId);
141 }
142
143 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
144 long companyId, int begin, int end)
145 throws com.liferay.portal.SystemException {
146 return getPersistence().findByCompanyId(companyId, begin, end);
147 }
148
149 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByCompanyId(
150 long companyId, int begin, int end,
151 com.liferay.portal.kernel.util.OrderByComparator obc)
152 throws com.liferay.portal.SystemException {
153 return getPersistence().findByCompanyId(companyId, begin, end, obc);
154 }
155
156 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_First(
157 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException,
159 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
160 return getPersistence().findByCompanyId_First(companyId, obc);
161 }
162
163 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByCompanyId_Last(
164 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
165 throws com.liferay.portal.SystemException,
166 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
167 return getPersistence().findByCompanyId_Last(companyId, obc);
168 }
169
170 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByCompanyId_PrevAndNext(
171 long fileEntryId, long companyId,
172 com.liferay.portal.kernel.util.OrderByComparator obc)
173 throws com.liferay.portal.SystemException,
174 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
175 return getPersistence()
176 .findByCompanyId_PrevAndNext(fileEntryId, companyId, obc);
177 }
178
179 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
180 long folderId) throws com.liferay.portal.SystemException {
181 return getPersistence().findByFolderId(folderId);
182 }
183
184 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
185 long folderId, int begin, int end)
186 throws com.liferay.portal.SystemException {
187 return getPersistence().findByFolderId(folderId, begin, end);
188 }
189
190 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByFolderId(
191 long folderId, int begin, int end,
192 com.liferay.portal.kernel.util.OrderByComparator obc)
193 throws com.liferay.portal.SystemException {
194 return getPersistence().findByFolderId(folderId, begin, end, obc);
195 }
196
197 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_First(
198 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
199 throws com.liferay.portal.SystemException,
200 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
201 return getPersistence().findByFolderId_First(folderId, obc);
202 }
203
204 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByFolderId_Last(
205 long folderId, com.liferay.portal.kernel.util.OrderByComparator obc)
206 throws com.liferay.portal.SystemException,
207 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
208 return getPersistence().findByFolderId_Last(folderId, obc);
209 }
210
211 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByFolderId_PrevAndNext(
212 long fileEntryId, long folderId,
213 com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException,
215 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
216 return getPersistence()
217 .findByFolderId_PrevAndNext(fileEntryId, folderId, obc);
218 }
219
220 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_N(
221 long folderId, java.lang.String name)
222 throws com.liferay.portal.SystemException,
223 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
224 return getPersistence().findByF_N(folderId, name);
225 }
226
227 public static com.liferay.portlet.documentlibrary.model.DLFileEntry fetchByF_N(
228 long folderId, java.lang.String name)
229 throws com.liferay.portal.SystemException {
230 return getPersistence().fetchByF_N(folderId, name);
231 }
232
233 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
234 long folderId, java.lang.String title)
235 throws com.liferay.portal.SystemException {
236 return getPersistence().findByF_T(folderId, title);
237 }
238
239 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
240 long folderId, java.lang.String title, int begin, int end)
241 throws com.liferay.portal.SystemException {
242 return getPersistence().findByF_T(folderId, title, begin, end);
243 }
244
245 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findByF_T(
246 long folderId, java.lang.String title, int begin, int end,
247 com.liferay.portal.kernel.util.OrderByComparator obc)
248 throws com.liferay.portal.SystemException {
249 return getPersistence().findByF_T(folderId, title, begin, end, obc);
250 }
251
252 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_First(
253 long folderId, java.lang.String title,
254 com.liferay.portal.kernel.util.OrderByComparator obc)
255 throws com.liferay.portal.SystemException,
256 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
257 return getPersistence().findByF_T_First(folderId, title, obc);
258 }
259
260 public static com.liferay.portlet.documentlibrary.model.DLFileEntry findByF_T_Last(
261 long folderId, java.lang.String title,
262 com.liferay.portal.kernel.util.OrderByComparator obc)
263 throws com.liferay.portal.SystemException,
264 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
265 return getPersistence().findByF_T_Last(folderId, title, obc);
266 }
267
268 public static com.liferay.portlet.documentlibrary.model.DLFileEntry[] findByF_T_PrevAndNext(
269 long fileEntryId, long folderId, java.lang.String title,
270 com.liferay.portal.kernel.util.OrderByComparator obc)
271 throws com.liferay.portal.SystemException,
272 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
273 return getPersistence()
274 .findByF_T_PrevAndNext(fileEntryId, folderId, title, obc);
275 }
276
277 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findWithDynamicQuery(
278 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
279 throws com.liferay.portal.SystemException {
280 return getPersistence().findWithDynamicQuery(queryInitializer);
281 }
282
283 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findWithDynamicQuery(
284 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
285 int begin, int end) throws com.liferay.portal.SystemException {
286 return getPersistence()
287 .findWithDynamicQuery(queryInitializer, begin, end);
288 }
289
290 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll()
291 throws com.liferay.portal.SystemException {
292 return getPersistence().findAll();
293 }
294
295 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
296 int begin, int end) throws com.liferay.portal.SystemException {
297 return getPersistence().findAll(begin, end);
298 }
299
300 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileEntry> findAll(
301 int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
302 throws com.liferay.portal.SystemException {
303 return getPersistence().findAll(begin, end, obc);
304 }
305
306 public static void removeByUuid(java.lang.String uuid)
307 throws com.liferay.portal.SystemException {
308 getPersistence().removeByUuid(uuid);
309 }
310
311 public static void removeByCompanyId(long companyId)
312 throws com.liferay.portal.SystemException {
313 getPersistence().removeByCompanyId(companyId);
314 }
315
316 public static void removeByFolderId(long folderId)
317 throws com.liferay.portal.SystemException {
318 getPersistence().removeByFolderId(folderId);
319 }
320
321 public static void removeByF_N(long folderId, java.lang.String name)
322 throws com.liferay.portal.SystemException,
323 com.liferay.portlet.documentlibrary.NoSuchFileEntryException {
324 getPersistence().removeByF_N(folderId, name);
325 }
326
327 public static void removeByF_T(long folderId, java.lang.String title)
328 throws com.liferay.portal.SystemException {
329 getPersistence().removeByF_T(folderId, title);
330 }
331
332 public static void removeAll() throws com.liferay.portal.SystemException {
333 getPersistence().removeAll();
334 }
335
336 public static int countByUuid(java.lang.String uuid)
337 throws com.liferay.portal.SystemException {
338 return getPersistence().countByUuid(uuid);
339 }
340
341 public static int countByCompanyId(long companyId)
342 throws com.liferay.portal.SystemException {
343 return getPersistence().countByCompanyId(companyId);
344 }
345
346 public static int countByFolderId(long folderId)
347 throws com.liferay.portal.SystemException {
348 return getPersistence().countByFolderId(folderId);
349 }
350
351 public static int countByF_N(long folderId, java.lang.String name)
352 throws com.liferay.portal.SystemException {
353 return getPersistence().countByF_N(folderId, name);
354 }
355
356 public static int countByF_T(long folderId, java.lang.String title)
357 throws com.liferay.portal.SystemException {
358 return getPersistence().countByF_T(folderId, title);
359 }
360
361 public static int countAll() throws com.liferay.portal.SystemException {
362 return getPersistence().countAll();
363 }
364
365 public static DLFileEntryPersistence getPersistence() {
366 return _getUtil()._persistence;
367 }
368
369 public void setPersistence(DLFileEntryPersistence persistence) {
370 _persistence = persistence;
371 }
372
373 private static DLFileEntryUtil _getUtil() {
374 if (_util == null) {
375 _util = (DLFileEntryUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
376 }
377
378 return _util;
379 }
380
381 private static final String _UTIL = DLFileEntryUtil.class.getName();
382 private static DLFileEntryUtil _util;
383 private DLFileEntryPersistence _persistence;
384 }