001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class DLFileVersionLocalServiceWrapper
029 implements DLFileVersionLocalService,
030 ServiceWrapper<DLFileVersionLocalService> {
031 public DLFileVersionLocalServiceWrapper(
032 DLFileVersionLocalService dlFileVersionLocalService) {
033 _dlFileVersionLocalService = dlFileVersionLocalService;
034 }
035
036
043 public com.liferay.portlet.documentlibrary.model.DLFileVersion addDLFileVersion(
044 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _dlFileVersionLocalService.addDLFileVersion(dlFileVersion);
047 }
048
049
055 public com.liferay.portlet.documentlibrary.model.DLFileVersion createDLFileVersion(
056 long fileVersionId) {
057 return _dlFileVersionLocalService.createDLFileVersion(fileVersionId);
058 }
059
060
068 public com.liferay.portlet.documentlibrary.model.DLFileVersion deleteDLFileVersion(
069 long fileVersionId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _dlFileVersionLocalService.deleteDLFileVersion(fileVersionId);
073 }
074
075
082 public com.liferay.portlet.documentlibrary.model.DLFileVersion deleteDLFileVersion(
083 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _dlFileVersionLocalService.deleteDLFileVersion(dlFileVersion);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _dlFileVersionLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _dlFileVersionLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _dlFileVersionLocalService.dynamicQuery(dynamicQuery, start, end);
124 }
125
126
140 @SuppressWarnings("rawtypes")
141 public java.util.List dynamicQuery(
142 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143 int end,
144 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145 throws com.liferay.portal.kernel.exception.SystemException {
146 return _dlFileVersionLocalService.dynamicQuery(dynamicQuery, start,
147 end, orderByComparator);
148 }
149
150
157 public long dynamicQueryCount(
158 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _dlFileVersionLocalService.dynamicQueryCount(dynamicQuery);
161 }
162
163 public com.liferay.portlet.documentlibrary.model.DLFileVersion fetchDLFileVersion(
164 long fileVersionId)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _dlFileVersionLocalService.fetchDLFileVersion(fileVersionId);
167 }
168
169
177 public com.liferay.portlet.documentlibrary.model.DLFileVersion getDLFileVersion(
178 long fileVersionId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _dlFileVersionLocalService.getDLFileVersion(fileVersionId);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _dlFileVersionLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
200 public com.liferay.portlet.documentlibrary.model.DLFileVersion getDLFileVersionByUuidAndGroupId(
201 java.lang.String uuid, long groupId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _dlFileVersionLocalService.getDLFileVersionByUuidAndGroupId(uuid,
205 groupId);
206 }
207
208
220 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getDLFileVersions(
221 int start, int end)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _dlFileVersionLocalService.getDLFileVersions(start, end);
224 }
225
226
232 public int getDLFileVersionsCount()
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _dlFileVersionLocalService.getDLFileVersionsCount();
235 }
236
237
244 public com.liferay.portlet.documentlibrary.model.DLFileVersion updateDLFileVersion(
245 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion)
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _dlFileVersionLocalService.updateDLFileVersion(dlFileVersion);
248 }
249
250
258 public com.liferay.portlet.documentlibrary.model.DLFileVersion updateDLFileVersion(
259 com.liferay.portlet.documentlibrary.model.DLFileVersion dlFileVersion,
260 boolean merge)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 return _dlFileVersionLocalService.updateDLFileVersion(dlFileVersion,
263 merge);
264 }
265
266
271 public java.lang.String getBeanIdentifier() {
272 return _dlFileVersionLocalService.getBeanIdentifier();
273 }
274
275
280 public void setBeanIdentifier(java.lang.String beanIdentifier) {
281 _dlFileVersionLocalService.setBeanIdentifier(beanIdentifier);
282 }
283
284 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
285 long fileVersionId)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _dlFileVersionLocalService.getFileVersion(fileVersionId);
289 }
290
291 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
292 long fileEntryId, java.lang.String version)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _dlFileVersionLocalService.getFileVersion(fileEntryId, version);
296 }
297
298 public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersionByUuidAndGroupId(
299 java.lang.String uuid, long groupId)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return _dlFileVersionLocalService.getFileVersionByUuidAndGroupId(uuid,
302 groupId);
303 }
304
305 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getFileVersions(
306 long fileEntryId, int status)
307 throws com.liferay.portal.kernel.exception.SystemException {
308 return _dlFileVersionLocalService.getFileVersions(fileEntryId, status);
309 }
310
311 public int getFileVersionsCount(long fileEntryId, int status)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return _dlFileVersionLocalService.getFileVersionsCount(fileEntryId,
314 status);
315 }
316
317 public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
318 long fileEntryId, boolean excludeWorkingCopy)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 return _dlFileVersionLocalService.getLatestFileVersion(fileEntryId,
322 excludeWorkingCopy);
323 }
324
325 public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
326 long userId, long fileEntryId)
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 return _dlFileVersionLocalService.getLatestFileVersion(userId,
330 fileEntryId);
331 }
332
333
336 public DLFileVersionLocalService getWrappedDLFileVersionLocalService() {
337 return _dlFileVersionLocalService;
338 }
339
340
343 public void setWrappedDLFileVersionLocalService(
344 DLFileVersionLocalService dlFileVersionLocalService) {
345 _dlFileVersionLocalService = dlFileVersionLocalService;
346 }
347
348 public DLFileVersionLocalService getWrappedService() {
349 return _dlFileVersionLocalService;
350 }
351
352 public void setWrappedService(
353 DLFileVersionLocalService dlFileVersionLocalService) {
354 _dlFileVersionLocalService = dlFileVersionLocalService;
355 }
356
357 private DLFileVersionLocalService _dlFileVersionLocalService;
358 }