001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class SCProductEntryServiceWrapper implements SCProductEntryService,
029 ServiceWrapper<SCProductEntryService> {
030 public SCProductEntryServiceWrapper(
031 SCProductEntryService scProductEntryService) {
032 _scProductEntryService = scProductEntryService;
033 }
034
035 public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
036 java.lang.String name, java.lang.String type, java.lang.String tags,
037 java.lang.String shortDescription, java.lang.String longDescription,
038 java.lang.String pageURL, java.lang.String author,
039 java.lang.String repoGroupId, java.lang.String repoArtifactId,
040 long[] licenseIds, java.util.List<byte[]> thumbnails,
041 java.util.List<byte[]> fullImages,
042 com.liferay.portal.service.ServiceContext serviceContext)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 return _scProductEntryService.addProductEntry(name, type, tags,
046 shortDescription, longDescription, pageURL, author, repoGroupId,
047 repoArtifactId, licenseIds, thumbnails, fullImages, serviceContext);
048 }
049
050 public void deleteProductEntry(long productEntryId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 _scProductEntryService.deleteProductEntry(productEntryId);
054 }
055
056 public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
057 long productEntryId)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _scProductEntryService.getProductEntry(productEntryId);
061 }
062
063 public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
064 long productEntryId, java.lang.String name, java.lang.String type,
065 java.lang.String tags, java.lang.String shortDescription,
066 java.lang.String longDescription, java.lang.String pageURL,
067 java.lang.String author, java.lang.String repoGroupId,
068 java.lang.String repoArtifactId, long[] licenseIds,
069 java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _scProductEntryService.updateProductEntry(productEntryId, name,
073 type, tags, shortDescription, longDescription, pageURL, author,
074 repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages);
075 }
076
077
080 public SCProductEntryService getWrappedSCProductEntryService() {
081 return _scProductEntryService;
082 }
083
084
087 public void setWrappedSCProductEntryService(
088 SCProductEntryService scProductEntryService) {
089 _scProductEntryService = scProductEntryService;
090 }
091
092 public SCProductEntryService getWrappedService() {
093 return _scProductEntryService;
094 }
095
096 public void setWrappedService(SCProductEntryService scProductEntryService) {
097 _scProductEntryService = scProductEntryService;
098 }
099
100 private SCProductEntryService _scProductEntryService;
101 }