001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class DLFileVersionLocalServiceWrapper
030 implements DLFileVersionLocalService,
031 ServiceWrapper<DLFileVersionLocalService> {
032 public DLFileVersionLocalServiceWrapper(
033 DLFileVersionLocalService dlFileVersionLocalService) {
034 _dlFileVersionLocalService = dlFileVersionLocalService;
035 }
036
037
044 @Override
045 public com.liferay.portlet.documentlibrary.model.DLFileVersion addDLFileVersion(
046 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
047 throws com.liferay.portal.kernel.exception.SystemException {
048 return _dlFileVersionLocalService.addDLFileVersion(dlFileVersion);
049 }
050
051
057 @Override
058 public com.liferay.portlet.documentlibrary.model.DLFileVersion createDLFileVersion(
059 long fileVersionId) {
060 return _dlFileVersionLocalService.createDLFileVersion(fileVersionId);
061 }
062
063
071 @Override
072 public com.liferay.portlet.documentlibrary.model.DLFileVersion deleteDLFileVersion(
073 long fileVersionId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _dlFileVersionLocalService.deleteDLFileVersion(fileVersionId);
077 }
078
079
086 @Override
087 public com.liferay.portlet.documentlibrary.model.DLFileVersion deleteDLFileVersion(
088 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return _dlFileVersionLocalService.deleteDLFileVersion(dlFileVersion);
091 }
092
093 @Override
094 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
095 return _dlFileVersionLocalService.dynamicQuery();
096 }
097
098
105 @Override
106 @SuppressWarnings("rawtypes")
107 public java.util.List dynamicQuery(
108 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _dlFileVersionLocalService.dynamicQuery(dynamicQuery);
111 }
112
113
126 @Override
127 @SuppressWarnings("rawtypes")
128 public java.util.List dynamicQuery(
129 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
130 int end) throws com.liferay.portal.kernel.exception.SystemException {
131 return _dlFileVersionLocalService.dynamicQuery(dynamicQuery, start, end);
132 }
133
134
148 @Override
149 @SuppressWarnings("rawtypes")
150 public java.util.List dynamicQuery(
151 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
152 int end,
153 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _dlFileVersionLocalService.dynamicQuery(dynamicQuery, start,
156 end, orderByComparator);
157 }
158
159
166 @Override
167 public long dynamicQueryCount(
168 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
169 throws com.liferay.portal.kernel.exception.SystemException {
170 return _dlFileVersionLocalService.dynamicQueryCount(dynamicQuery);
171 }
172
173
181 @Override
182 public long dynamicQueryCount(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
184 com.liferay.portal.kernel.dao.orm.Projection projection)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return _dlFileVersionLocalService.dynamicQueryCount(dynamicQuery,
187 projection);
188 }
189
190 @Override
191 public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchDLFileVersion(
192 long fileVersionId)
193 throws com.liferay.portal.kernel.exception.SystemException {
194 return _dlFileVersionLocalService.fetchDLFileVersion(fileVersionId);
195 }
196
197
205 @Override
206 public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchDLFileVersionByUuidAndCompanyId(
207 java.lang.String uuid, long companyId)
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _dlFileVersionLocalService.fetchDLFileVersionByUuidAndCompanyId(uuid,
210 companyId);
211 }
212
213
221 @Override
222 public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchDLFileVersionByUuidAndGroupId(
223 java.lang.String uuid, long groupId)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _dlFileVersionLocalService.fetchDLFileVersionByUuidAndGroupId(uuid,
226 groupId);
227 }
228
229
237 @Override
238 public com.liferay.portlet.documentlibrary.model.DLFileVersion getDLFileVersion(
239 long fileVersionId)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 return _dlFileVersionLocalService.getDLFileVersion(fileVersionId);
243 }
244
245 @Override
246 public com.liferay.portal.model.PersistedModel getPersistedModel(
247 java.io.Serializable primaryKeyObj)
248 throws com.liferay.portal.kernel.exception.PortalException,
249 com.liferay.portal.kernel.exception.SystemException {
250 return _dlFileVersionLocalService.getPersistedModel(primaryKeyObj);
251 }
252
253
262 @Override
263 public com.liferay.portlet.documentlibrary.model.DLFileVersion getDLFileVersionByUuidAndCompanyId(
264 java.lang.String uuid, long companyId)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException {
267 return _dlFileVersionLocalService.getDLFileVersionByUuidAndCompanyId(uuid,
268 companyId);
269 }
270
271
280 @Override
281 public com.liferay.portlet.documentlibrary.model.DLFileVersion getDLFileVersionByUuidAndGroupId(
282 java.lang.String uuid, long groupId)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException {
285 return _dlFileVersionLocalService.getDLFileVersionByUuidAndGroupId(uuid,
286 groupId);
287 }
288
289
301 @Override
302 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getDLFileVersions(
303 int start, int end)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 return _dlFileVersionLocalService.getDLFileVersions(start, end);
306 }
307
308
314 @Override
315 public int getDLFileVersionsCount()
316 throws com.liferay.portal.kernel.exception.SystemException {
317 return _dlFileVersionLocalService.getDLFileVersionsCount();
318 }
319
320
327 @Override
328 public com.liferay.portlet.documentlibrary.model.DLFileVersion updateDLFileVersion(
329 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
330 throws com.liferay.portal.kernel.exception.SystemException {
331 return _dlFileVersionLocalService.updateDLFileVersion(dlFileVersion);
332 }
333
334
339 @Override
340 public java.lang.String getBeanIdentifier() {
341 return _dlFileVersionLocalService.getBeanIdentifier();
342 }
343
344
349 @Override
350 public void setBeanIdentifier(java.lang.String beanIdentifier) {
351 _dlFileVersionLocalService.setBeanIdentifier(beanIdentifier);
352 }
353
354 @Override
355 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
356 long fileVersionId)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return _dlFileVersionLocalService.getFileVersion(fileVersionId);
360 }
361
362 @Override
363 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
364 long fileEntryId, java.lang.String version)
365 throws com.liferay.portal.kernel.exception.PortalException,
366 com.liferay.portal.kernel.exception.SystemException {
367 return _dlFileVersionLocalService.getFileVersion(fileEntryId, version);
368 }
369
370 @Override
371 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersionByUuidAndGroupId(
372 java.lang.String uuid, long groupId)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _dlFileVersionLocalService.getFileVersionByUuidAndGroupId(uuid,
375 groupId);
376 }
377
378 @Override
379 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getFileVersions(
380 long fileEntryId, int status)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return _dlFileVersionLocalService.getFileVersions(fileEntryId, status);
383 }
384
385 @Override
386 public int getFileVersionsCount(long fileEntryId, int status)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _dlFileVersionLocalService.getFileVersionsCount(fileEntryId,
389 status);
390 }
391
392 @Override
393 public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
394 long fileEntryId, boolean excludeWorkingCopy)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 return _dlFileVersionLocalService.getLatestFileVersion(fileEntryId,
398 excludeWorkingCopy);
399 }
400
401 @Override
402 public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
403 long userId, long fileEntryId)
404 throws com.liferay.portal.kernel.exception.PortalException,
405 com.liferay.portal.kernel.exception.SystemException {
406 return _dlFileVersionLocalService.getLatestFileVersion(userId,
407 fileEntryId);
408 }
409
410 @Override
411 public void rebuildTree(long companyId)
412 throws com.liferay.portal.kernel.exception.PortalException,
413 com.liferay.portal.kernel.exception.SystemException {
414 _dlFileVersionLocalService.rebuildTree(companyId);
415 }
416
417 @Override
418 public void setTreePaths(long folderId, java.lang.String treePath)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 _dlFileVersionLocalService.setTreePaths(folderId, treePath);
422 }
423
424
427 public DLFileVersionLocalService getWrappedDLFileVersionLocalService() {
428 return _dlFileVersionLocalService;
429 }
430
431
434 public void setWrappedDLFileVersionLocalService(
435 DLFileVersionLocalService dlFileVersionLocalService) {
436 _dlFileVersionLocalService = dlFileVersionLocalService;
437 }
438
439 @Override
440 public DLFileVersionLocalService getWrappedService() {
441 return _dlFileVersionLocalService;
442 }
443
444 @Override
445 public void setWrappedService(
446 DLFileVersionLocalService dlFileVersionLocalService) {
447 _dlFileVersionLocalService = dlFileVersionLocalService;
448 }
449
450 private DLFileVersionLocalService _dlFileVersionLocalService;
451 }