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 DLFileVersionServiceWrapper implements DLFileVersionService,
030 ServiceWrapper<DLFileVersionService> {
031 public DLFileVersionServiceWrapper(
032 DLFileVersionService dlFileVersionService) {
033 _dlFileVersionService = dlFileVersionService;
034 }
035
036
041 @Override
042 public java.lang.String getBeanIdentifier() {
043 return _dlFileVersionService.getBeanIdentifier();
044 }
045
046
051 @Override
052 public void setBeanIdentifier(java.lang.String beanIdentifier) {
053 _dlFileVersionService.setBeanIdentifier(beanIdentifier);
054 }
055
056 @Override
057 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
058 long fileVersionId)
059 throws com.liferay.portal.kernel.exception.PortalException,
060 com.liferay.portal.kernel.exception.SystemException {
061 return _dlFileVersionService.getFileVersion(fileVersionId);
062 }
063
064 @Override
065 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getFileVersions(
066 long fileEntryId, int status)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _dlFileVersionService.getFileVersions(fileEntryId, status);
070 }
071
072 @Override
073 public int getFileVersionsCount(long fileEntryId, int status)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _dlFileVersionService.getFileVersionsCount(fileEntryId, status);
077 }
078
079 @Override
080 public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
081 long fileEntryId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 return _dlFileVersionService.getLatestFileVersion(fileEntryId);
085 }
086
087
090 public DLFileVersionService getWrappedDLFileVersionService() {
091 return _dlFileVersionService;
092 }
093
094
097 public void setWrappedDLFileVersionService(
098 DLFileVersionService dlFileVersionService) {
099 _dlFileVersionService = dlFileVersionService;
100 }
101
102 @Override
103 public DLFileVersionService getWrappedService() {
104 return _dlFileVersionService;
105 }
106
107 @Override
108 public void setWrappedService(DLFileVersionService dlFileVersionService) {
109 _dlFileVersionService = dlFileVersionService;
110 }
111
112 private DLFileVersionService _dlFileVersionService;
113 }