1
14
15 package com.liferay.portlet.softwarecatalog.service;
16
17
18
34 public class SCProductEntryServiceWrapper implements SCProductEntryService {
35 public SCProductEntryServiceWrapper(
36 SCProductEntryService scProductEntryService) {
37 _scProductEntryService = scProductEntryService;
38 }
39
40 public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
41 java.lang.String name, java.lang.String type, java.lang.String tags,
42 java.lang.String shortDescription, java.lang.String longDescription,
43 java.lang.String pageURL, java.lang.String author,
44 java.lang.String repoGroupId, java.lang.String repoArtifactId,
45 long[] licenseIds, java.util.List<byte[]> thumbnails,
46 java.util.List<byte[]> fullImages,
47 com.liferay.portal.service.ServiceContext serviceContext)
48 throws com.liferay.portal.kernel.exception.PortalException,
49 com.liferay.portal.kernel.exception.SystemException {
50 return _scProductEntryService.addProductEntry(name, type, tags,
51 shortDescription, longDescription, pageURL, author, repoGroupId,
52 repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
53 }
54
55 public void deleteProductEntry(long productEntryId)
56 throws com.liferay.portal.kernel.exception.PortalException,
57 com.liferay.portal.kernel.exception.SystemException {
58 _scProductEntryService.deleteProductEntry(productEntryId);
59 }
60
61 public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
62 long productEntryId)
63 throws com.liferay.portal.kernel.exception.PortalException,
64 com.liferay.portal.kernel.exception.SystemException {
65 return _scProductEntryService.getProductEntry(productEntryId);
66 }
67
68 public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
69 long productEntryId, java.lang.String name, java.lang.String type,
70 java.lang.String tags, java.lang.String shortDescription,
71 java.lang.String longDescription, java.lang.String pageURL,
72 java.lang.String author, java.lang.String repoGroupId,
73 java.lang.String repoArtifactId, long[] licenseIds,
74 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
75 throws com.liferay.portal.kernel.exception.PortalException,
76 com.liferay.portal.kernel.exception.SystemException {
77 return _scProductEntryService.updateProductEntry(productEntryId, name,
78 type, tags, shortDescription, longDescription, pageURL, author,
79 repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
80 }
81
82 public SCProductEntryService getWrappedSCProductEntryService() {
83 return _scProductEntryService;
84 }
85
86 private SCProductEntryService _scProductEntryService;
87 }