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 DLContentLocalServiceWrapper implements DLContentLocalService,
030 ServiceWrapper<DLContentLocalService> {
031 public DLContentLocalServiceWrapper(
032 DLContentLocalService dlContentLocalService) {
033 _dlContentLocalService = dlContentLocalService;
034 }
035
036
043 @Override
044 public com.liferay.portlet.documentlibrary.model.DLContent addDLContent(
045 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return _dlContentLocalService.addDLContent(dlContent);
048 }
049
050
056 @Override
057 public com.liferay.portlet.documentlibrary.model.DLContent createDLContent(
058 long contentId) {
059 return _dlContentLocalService.createDLContent(contentId);
060 }
061
062
070 @Override
071 public com.liferay.portlet.documentlibrary.model.DLContent deleteDLContent(
072 long contentId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 return _dlContentLocalService.deleteDLContent(contentId);
076 }
077
078
085 @Override
086 public com.liferay.portlet.documentlibrary.model.DLContent deleteDLContent(
087 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return _dlContentLocalService.deleteDLContent(dlContent);
090 }
091
092 @Override
093 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return _dlContentLocalService.dynamicQuery();
095 }
096
097
104 @Override
105 @SuppressWarnings("rawtypes")
106 public java.util.List dynamicQuery(
107 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108 throws com.liferay.portal.kernel.exception.SystemException {
109 return _dlContentLocalService.dynamicQuery(dynamicQuery);
110 }
111
112
125 @Override
126 @SuppressWarnings("rawtypes")
127 public java.util.List dynamicQuery(
128 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129 int end) throws com.liferay.portal.kernel.exception.SystemException {
130 return _dlContentLocalService.dynamicQuery(dynamicQuery, start, end);
131 }
132
133
147 @Override
148 @SuppressWarnings("rawtypes")
149 public java.util.List dynamicQuery(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151 int end,
152 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153 throws com.liferay.portal.kernel.exception.SystemException {
154 return _dlContentLocalService.dynamicQuery(dynamicQuery, start, end,
155 orderByComparator);
156 }
157
158
165 @Override
166 public long dynamicQueryCount(
167 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _dlContentLocalService.dynamicQueryCount(dynamicQuery);
170 }
171
172
180 @Override
181 public long dynamicQueryCount(
182 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
183 com.liferay.portal.kernel.dao.orm.Projection projection)
184 throws com.liferay.portal.kernel.exception.SystemException {
185 return _dlContentLocalService.dynamicQueryCount(dynamicQuery, projection);
186 }
187
188 @Override
189 public com.liferay.portlet.documentlibrary.model.DLContent fetchDLContent(
190 long contentId)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return _dlContentLocalService.fetchDLContent(contentId);
193 }
194
195
203 @Override
204 public com.liferay.portlet.documentlibrary.model.DLContent getDLContent(
205 long contentId)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return _dlContentLocalService.getDLContent(contentId);
209 }
210
211 @Override
212 public com.liferay.portal.model.PersistedModel getPersistedModel(
213 java.io.Serializable primaryKeyObj)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 return _dlContentLocalService.getPersistedModel(primaryKeyObj);
217 }
218
219
231 @Override
232 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getDLContents(
233 int start, int end)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 return _dlContentLocalService.getDLContents(start, end);
236 }
237
238
244 @Override
245 public int getDLContentsCount()
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _dlContentLocalService.getDLContentsCount();
248 }
249
250
257 @Override
258 public com.liferay.portlet.documentlibrary.model.DLContent updateDLContent(
259 com.liferay.portlet.documentlibrary.model.DLContent dlContent)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 return _dlContentLocalService.updateDLContent(dlContent);
262 }
263
264 @Override
265 public com.liferay.portlet.documentlibrary.model.DLContentDataBlobModel getDataBlobModel(
266 java.io.Serializable primaryKey)
267 throws com.liferay.portal.kernel.exception.SystemException {
268 return _dlContentLocalService.getDataBlobModel(primaryKey);
269 }
270
271
276 @Override
277 public java.lang.String getBeanIdentifier() {
278 return _dlContentLocalService.getBeanIdentifier();
279 }
280
281
286 @Override
287 public void setBeanIdentifier(java.lang.String beanIdentifier) {
288 _dlContentLocalService.setBeanIdentifier(beanIdentifier);
289 }
290
291 @Override
292 public com.liferay.portlet.documentlibrary.model.DLContent addContent(
293 long companyId, long repositoryId, java.lang.String path,
294 java.lang.String version, byte[] bytes)
295 throws com.liferay.portal.kernel.exception.SystemException {
296 return _dlContentLocalService.addContent(companyId, repositoryId, path,
297 version, bytes);
298 }
299
300 @Override
301 public com.liferay.portlet.documentlibrary.model.DLContent addContent(
302 long companyId, long repositoryId, java.lang.String path,
303 java.lang.String version, java.io.InputStream inputStream, long size)
304 throws com.liferay.portal.kernel.exception.SystemException {
305 return _dlContentLocalService.addContent(companyId, repositoryId, path,
306 version, inputStream, size);
307 }
308
309 @Override
310 public void deleteContent(long companyId, long repositoryId,
311 java.lang.String path, java.lang.String version)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _dlContentLocalService.deleteContent(companyId, repositoryId, path,
315 version);
316 }
317
318 @Override
319 public void deleteContents(long companyId, long repositoryId,
320 java.lang.String path)
321 throws com.liferay.portal.kernel.exception.SystemException {
322 _dlContentLocalService.deleteContents(companyId, repositoryId, path);
323 }
324
325 @Override
326 public void deleteContentsByDirectory(long companyId, long repositoryId,
327 java.lang.String dirName)
328 throws com.liferay.portal.kernel.exception.SystemException {
329 _dlContentLocalService.deleteContentsByDirectory(companyId,
330 repositoryId, dirName);
331 }
332
333 @Override
334 public com.liferay.portlet.documentlibrary.model.DLContent getContent(
335 long companyId, long repositoryId, java.lang.String path)
336 throws com.liferay.portal.kernel.exception.SystemException,
337 com.liferay.portlet.documentlibrary.NoSuchContentException {
338 return _dlContentLocalService.getContent(companyId, repositoryId, path);
339 }
340
341 @Override
342 public com.liferay.portlet.documentlibrary.model.DLContent getContent(
343 long companyId, long repositoryId, java.lang.String path,
344 java.lang.String version)
345 throws com.liferay.portal.kernel.exception.SystemException,
346 com.liferay.portlet.documentlibrary.NoSuchContentException {
347 return _dlContentLocalService.getContent(companyId, repositoryId, path,
348 version);
349 }
350
351 @Override
352 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(
353 long companyId, long repositoryId)
354 throws com.liferay.portal.kernel.exception.SystemException {
355 return _dlContentLocalService.getContents(companyId, repositoryId);
356 }
357
358 @Override
359 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContents(
360 long companyId, long repositoryId, java.lang.String path)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _dlContentLocalService.getContents(companyId, repositoryId, path);
363 }
364
365 @Override
366 public java.util.List<com.liferay.portlet.documentlibrary.model.DLContent> getContentsByDirectory(
367 long companyId, long repositoryId, java.lang.String dirName)
368 throws com.liferay.portal.kernel.exception.SystemException {
369 return _dlContentLocalService.getContentsByDirectory(companyId,
370 repositoryId, dirName);
371 }
372
373 @Override
374 public boolean hasContent(long companyId, long repositoryId,
375 java.lang.String path, java.lang.String version)
376 throws com.liferay.portal.kernel.exception.SystemException {
377 return _dlContentLocalService.hasContent(companyId, repositoryId, path,
378 version);
379 }
380
381 @Override
382 public void updateDLContent(long companyId, long oldRepositoryId,
383 long newRepositoryId, java.lang.String oldPath, java.lang.String newPath)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 _dlContentLocalService.updateDLContent(companyId, oldRepositoryId,
386 newRepositoryId, oldPath, newPath);
387 }
388
389
392 public DLContentLocalService getWrappedDLContentLocalService() {
393 return _dlContentLocalService;
394 }
395
396
399 public void setWrappedDLContentLocalService(
400 DLContentLocalService dlContentLocalService) {
401 _dlContentLocalService = dlContentLocalService;
402 }
403
404 @Override
405 public DLContentLocalService getWrappedService() {
406 return _dlContentLocalService;
407 }
408
409 @Override
410 public void setWrappedService(DLContentLocalService dlContentLocalService) {
411 _dlContentLocalService = dlContentLocalService;
412 }
413
414 private DLContentLocalService _dlContentLocalService;
415 }