001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
028 @ProviderType
029 public class SCProductEntryServiceWrapper implements SCProductEntryService,
030 ServiceWrapper<SCProductEntryService> {
031 public SCProductEntryServiceWrapper(
032 SCProductEntryService scProductEntryService) {
033 _scProductEntryService = scProductEntryService;
034 }
035
036 @Override
037 public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
038 java.lang.String name, java.lang.String type, java.lang.String tags,
039 java.lang.String shortDescription, java.lang.String longDescription,
040 java.lang.String pageURL, java.lang.String author,
041 java.lang.String repoGroupId, java.lang.String repoArtifactId,
042 long[] licenseIds, java.util.List<byte[]> thumbnails,
043 java.util.List<byte[]> fullImages,
044 com.liferay.portal.service.ServiceContext serviceContext)
045 throws com.liferay.portal.kernel.exception.PortalException {
046 return _scProductEntryService.addProductEntry(name, type, tags,
047 shortDescription, longDescription, pageURL, author, repoGroupId,
048 repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
049 }
050
051 @Override
052 public void deleteProductEntry(long productEntryId)
053 throws com.liferay.portal.kernel.exception.PortalException {
054 _scProductEntryService.deleteProductEntry(productEntryId);
055 }
056
057
062 @Override
063 public java.lang.String getOSGiServiceIdentifier() {
064 return _scProductEntryService.getOSGiServiceIdentifier();
065 }
066
067 @Override
068 public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
069 long productEntryId)
070 throws com.liferay.portal.kernel.exception.PortalException {
071 return _scProductEntryService.getProductEntry(productEntryId);
072 }
073
074 @Override
075 public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
076 long productEntryId, java.lang.String name, java.lang.String type,
077 java.lang.String tags, java.lang.String shortDescription,
078 java.lang.String longDescription, java.lang.String pageURL,
079 java.lang.String author, java.lang.String repoGroupId,
080 java.lang.String repoArtifactId, long[] licenseIds,
081 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
082 throws com.liferay.portal.kernel.exception.PortalException {
083 return _scProductEntryService.updateProductEntry(productEntryId, name,
084 type, tags, shortDescription, longDescription, pageURL, author,
085 repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
086 }
087
088
091 @Deprecated
092 public SCProductEntryService getWrappedSCProductEntryService() {
093 return _scProductEntryService;
094 }
095
096
099 @Deprecated
100 public void setWrappedSCProductEntryService(
101 SCProductEntryService scProductEntryService) {
102 _scProductEntryService = scProductEntryService;
103 }
104
105 @Override
106 public SCProductEntryService getWrappedService() {
107 return _scProductEntryService;
108 }
109
110 @Override
111 public void setWrappedService(SCProductEntryService scProductEntryService) {
112 _scProductEntryService = scProductEntryService;
113 }
114
115 private SCProductEntryService _scProductEntryService;
116 }