001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLAppHelperLocalServiceWrapper implements DLAppHelperLocalService,
029 ServiceWrapper<DLAppHelperLocalService> {
030 public DLAppHelperLocalServiceWrapper(
031 DLAppHelperLocalService dlAppHelperLocalService) {
032 _dlAppHelperLocalService = dlAppHelperLocalService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _dlAppHelperLocalService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _dlAppHelperLocalService.setBeanIdentifier(beanIdentifier);
051 }
052
053 public void addFileEntry(long userId,
054 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
055 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
056 com.liferay.portal.service.ServiceContext serviceContext)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 _dlAppHelperLocalService.addFileEntry(userId, fileEntry, fileVersion,
060 serviceContext);
061 }
062
063 public void addFolder(
064 com.liferay.portal.kernel.repository.model.Folder folder,
065 com.liferay.portal.service.ServiceContext serviceContext)
066 throws com.liferay.portal.kernel.exception.PortalException,
067 com.liferay.portal.kernel.exception.SystemException {
068 _dlAppHelperLocalService.addFolder(folder, serviceContext);
069 }
070
071 public void cancelCheckOut(long userId,
072 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
073 com.liferay.portal.kernel.repository.model.FileVersion destinationFileVersion,
074 com.liferay.portal.kernel.repository.model.FileVersion draftFileVersion,
075 com.liferay.portal.service.ServiceContext serviceContext)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException {
078 _dlAppHelperLocalService.cancelCheckOut(userId, fileEntry,
079 destinationFileVersion, draftFileVersion, serviceContext);
080 }
081
082 public void checkAssetEntry(long userId,
083 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
084 com.liferay.portal.kernel.repository.model.FileVersion fileVersion)
085 throws com.liferay.portal.kernel.exception.PortalException,
086 com.liferay.portal.kernel.exception.SystemException {
087 _dlAppHelperLocalService.checkAssetEntry(userId, fileEntry, fileVersion);
088 }
089
090 public void deleteFileEntry(
091 com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
092 throws com.liferay.portal.kernel.exception.PortalException,
093 com.liferay.portal.kernel.exception.SystemException {
094 _dlAppHelperLocalService.deleteFileEntry(fileEntry);
095 }
096
097 public void deleteFolder(
098 com.liferay.portal.kernel.repository.model.Folder folder)
099 throws com.liferay.portal.kernel.exception.PortalException,
100 com.liferay.portal.kernel.exception.SystemException {
101 _dlAppHelperLocalService.deleteFolder(folder);
102 }
103
104 public void getFileAsStream(long userId,
105 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
106 boolean incrementCounter)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 _dlAppHelperLocalService.getFileAsStream(userId, fileEntry,
109 incrementCounter);
110 }
111
112 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getFileShortcuts(
113 long groupId, long folderId, int status)
114 throws com.liferay.portal.kernel.exception.SystemException {
115 return _dlAppHelperLocalService.getFileShortcuts(groupId, folderId,
116 status);
117 }
118
119 public int getFileShortcutsCount(long groupId, long folderId, int status)
120 throws com.liferay.portal.kernel.exception.SystemException {
121 return _dlAppHelperLocalService.getFileShortcutsCount(groupId,
122 folderId, status);
123 }
124
125 public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> getNoAssetFileEntries() {
126 return _dlAppHelperLocalService.getNoAssetFileEntries();
127 }
128
129 public void moveFileEntry(
130 com.liferay.portal.kernel.repository.model.FileEntry fileEntry)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 _dlAppHelperLocalService.moveFileEntry(fileEntry);
134 }
135
136 public void moveFolder(
137 com.liferay.portal.kernel.repository.model.Folder folder)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 _dlAppHelperLocalService.moveFolder(folder);
141 }
142
143 public com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
144 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
145 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
146 long assetClassPk)
147 throws com.liferay.portal.kernel.exception.PortalException,
148 com.liferay.portal.kernel.exception.SystemException {
149 return _dlAppHelperLocalService.updateAsset(userId, fileEntry,
150 fileVersion, assetClassPk);
151 }
152
153 public com.liferay.portlet.asset.model.AssetEntry updateAsset(long userId,
154 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
155 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
156 long[] assetCategoryIds, java.lang.String[] assetTagNames,
157 long[] assetLinkEntryIds)
158 throws com.liferay.portal.kernel.exception.PortalException,
159 com.liferay.portal.kernel.exception.SystemException {
160 return _dlAppHelperLocalService.updateAsset(userId, fileEntry,
161 fileVersion, assetCategoryIds, assetTagNames, assetLinkEntryIds);
162 }
163
164 public void updateFileEntry(long userId,
165 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
166 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
167 long assetClassPk)
168 throws com.liferay.portal.kernel.exception.PortalException,
169 com.liferay.portal.kernel.exception.SystemException {
170 _dlAppHelperLocalService.updateFileEntry(userId, fileEntry,
171 fileVersion, assetClassPk);
172 }
173
174 public void updateFileEntry(long userId,
175 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
176 com.liferay.portal.kernel.repository.model.FileVersion fileVersion,
177 com.liferay.portal.service.ServiceContext serviceContext)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 _dlAppHelperLocalService.updateFileEntry(userId, fileEntry,
181 fileVersion, serviceContext);
182 }
183
184 public void updateFolder(
185 com.liferay.portal.kernel.repository.model.Folder folder,
186 com.liferay.portal.service.ServiceContext serviceContext)
187 throws com.liferay.portal.kernel.exception.PortalException,
188 com.liferay.portal.kernel.exception.SystemException {
189 _dlAppHelperLocalService.updateFolder(folder, serviceContext);
190 }
191
192 public void updateStatus(long userId,
193 com.liferay.portal.kernel.repository.model.FileEntry fileEntry,
194 com.liferay.portal.kernel.repository.model.FileVersion latestFileVersion,
195 int status,
196 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
197 throws com.liferay.portal.kernel.exception.PortalException,
198 com.liferay.portal.kernel.exception.SystemException {
199 _dlAppHelperLocalService.updateStatus(userId, fileEntry,
200 latestFileVersion, status, workflowContext);
201 }
202
203
206 public DLAppHelperLocalService getWrappedDLAppHelperLocalService() {
207 return _dlAppHelperLocalService;
208 }
209
210
213 public void setWrappedDLAppHelperLocalService(
214 DLAppHelperLocalService dlAppHelperLocalService) {
215 _dlAppHelperLocalService = dlAppHelperLocalService;
216 }
217
218 public DLAppHelperLocalService getWrappedService() {
219 return _dlAppHelperLocalService;
220 }
221
222 public void setWrappedService(
223 DLAppHelperLocalService dlAppHelperLocalService) {
224 _dlAppHelperLocalService = dlAppHelperLocalService;
225 }
226
227 private DLAppHelperLocalService _dlAppHelperLocalService;
228 }