001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.softwarecatalog.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link SCProductEntryLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       SCProductEntryLocalService
025     * @generated
026     */
027    public class SCProductEntryLocalServiceWrapper
028            implements SCProductEntryLocalService {
029            public SCProductEntryLocalServiceWrapper(
030                    SCProductEntryLocalService scProductEntryLocalService) {
031                    _scProductEntryLocalService = scProductEntryLocalService;
032            }
033    
034            public com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
035                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
036                    throws com.liferay.portal.kernel.exception.SystemException {
037                    return _scProductEntryLocalService.addSCProductEntry(scProductEntry);
038            }
039    
040            public com.liferay.portlet.softwarecatalog.model.SCProductEntry createSCProductEntry(
041                    long productEntryId) {
042                    return _scProductEntryLocalService.createSCProductEntry(productEntryId);
043            }
044    
045            public void deleteSCProductEntry(long productEntryId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _scProductEntryLocalService.deleteSCProductEntry(productEntryId);
049            }
050    
051            public void deleteSCProductEntry(
052                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    _scProductEntryLocalService.deleteSCProductEntry(scProductEntry);
055            }
056    
057            @SuppressWarnings("unchecked")
058            public java.util.List dynamicQuery(
059                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _scProductEntryLocalService.dynamicQuery(dynamicQuery);
062            }
063    
064            @SuppressWarnings("unchecked")
065            public java.util.List dynamicQuery(
066                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
067                    int end) throws com.liferay.portal.kernel.exception.SystemException {
068                    return _scProductEntryLocalService.dynamicQuery(dynamicQuery, start, end);
069            }
070    
071            @SuppressWarnings("unchecked")
072            public java.util.List dynamicQuery(
073                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
074                    int end,
075                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
076                    throws com.liferay.portal.kernel.exception.SystemException {
077                    return _scProductEntryLocalService.dynamicQuery(dynamicQuery, start,
078                            end, orderByComparator);
079            }
080    
081            public long dynamicQueryCount(
082                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _scProductEntryLocalService.dynamicQueryCount(dynamicQuery);
085            }
086    
087            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
088                    long productEntryId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _scProductEntryLocalService.getSCProductEntry(productEntryId);
092            }
093    
094            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
095                    int start, int end)
096                    throws com.liferay.portal.kernel.exception.SystemException {
097                    return _scProductEntryLocalService.getSCProductEntries(start, end);
098            }
099    
100            public int getSCProductEntriesCount()
101                    throws com.liferay.portal.kernel.exception.SystemException {
102                    return _scProductEntryLocalService.getSCProductEntriesCount();
103            }
104    
105            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
106                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
107                    throws com.liferay.portal.kernel.exception.SystemException {
108                    return _scProductEntryLocalService.updateSCProductEntry(scProductEntry);
109            }
110    
111            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
112                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
113                    boolean merge)
114                    throws com.liferay.portal.kernel.exception.SystemException {
115                    return _scProductEntryLocalService.updateSCProductEntry(scProductEntry,
116                            merge);
117            }
118    
119            public com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
120                    long userId, java.lang.String name, java.lang.String type,
121                    java.lang.String tags, java.lang.String shortDescription,
122                    java.lang.String longDescription, java.lang.String pageURL,
123                    java.lang.String author, java.lang.String repoGroupId,
124                    java.lang.String repoArtifactId, long[] licenseIds,
125                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
126                    com.liferay.portal.service.ServiceContext serviceContext)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    return _scProductEntryLocalService.addProductEntry(userId, name, type,
130                            tags, shortDescription, longDescription, pageURL, author,
131                            repoGroupId, repoArtifactId, licenseIds, thumbnails, fullImages,
132                            serviceContext);
133            }
134    
135            public void addProductEntryResources(long productEntryId,
136                    boolean addCommunityPermissions, boolean addGuestPermissions)
137                    throws com.liferay.portal.kernel.exception.PortalException,
138                            com.liferay.portal.kernel.exception.SystemException {
139                    _scProductEntryLocalService.addProductEntryResources(productEntryId,
140                            addCommunityPermissions, addGuestPermissions);
141            }
142    
143            public void addProductEntryResources(long productEntryId,
144                    java.lang.String[] communityPermissions,
145                    java.lang.String[] guestPermissions)
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException {
148                    _scProductEntryLocalService.addProductEntryResources(productEntryId,
149                            communityPermissions, guestPermissions);
150            }
151    
152            public void addProductEntryResources(
153                    com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
154                    boolean addCommunityPermissions, boolean addGuestPermissions)
155                    throws com.liferay.portal.kernel.exception.PortalException,
156                            com.liferay.portal.kernel.exception.SystemException {
157                    _scProductEntryLocalService.addProductEntryResources(productEntry,
158                            addCommunityPermissions, addGuestPermissions);
159            }
160    
161            public void addProductEntryResources(
162                    com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
163                    java.lang.String[] communityPermissions,
164                    java.lang.String[] guestPermissions)
165                    throws com.liferay.portal.kernel.exception.PortalException,
166                            com.liferay.portal.kernel.exception.SystemException {
167                    _scProductEntryLocalService.addProductEntryResources(productEntry,
168                            communityPermissions, guestPermissions);
169            }
170    
171            public void deleteProductEntries(long groupId)
172                    throws com.liferay.portal.kernel.exception.PortalException,
173                            com.liferay.portal.kernel.exception.SystemException {
174                    _scProductEntryLocalService.deleteProductEntries(groupId);
175            }
176    
177            public void deleteProductEntry(long productEntryId)
178                    throws com.liferay.portal.kernel.exception.PortalException,
179                            com.liferay.portal.kernel.exception.SystemException {
180                    _scProductEntryLocalService.deleteProductEntry(productEntryId);
181            }
182    
183            public void deleteProductEntry(
184                    com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
185                    throws com.liferay.portal.kernel.exception.PortalException,
186                            com.liferay.portal.kernel.exception.SystemException {
187                    _scProductEntryLocalService.deleteProductEntry(productEntry);
188            }
189    
190            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getCompanyProductEntries(
191                    long companyId, int start, int end)
192                    throws com.liferay.portal.kernel.exception.SystemException {
193                    return _scProductEntryLocalService.getCompanyProductEntries(companyId,
194                            start, end);
195            }
196    
197            public int getCompanyProductEntriesCount(long companyId)
198                    throws com.liferay.portal.kernel.exception.SystemException {
199                    return _scProductEntryLocalService.getCompanyProductEntriesCount(companyId);
200            }
201    
202            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
203                    long groupId, int start, int end)
204                    throws com.liferay.portal.kernel.exception.SystemException {
205                    return _scProductEntryLocalService.getProductEntries(groupId, start, end);
206            }
207    
208            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
209                    long groupId, int start, int end,
210                    com.liferay.portal.kernel.util.OrderByComparator obc)
211                    throws com.liferay.portal.kernel.exception.SystemException {
212                    return _scProductEntryLocalService.getProductEntries(groupId, start,
213                            end, obc);
214            }
215    
216            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
217                    long groupId, long userId, int start, int end)
218                    throws com.liferay.portal.kernel.exception.SystemException {
219                    return _scProductEntryLocalService.getProductEntries(groupId, userId,
220                            start, end);
221            }
222    
223            public java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
224                    long groupId, long userId, int start, int end,
225                    com.liferay.portal.kernel.util.OrderByComparator obc)
226                    throws com.liferay.portal.kernel.exception.SystemException {
227                    return _scProductEntryLocalService.getProductEntries(groupId, userId,
228                            start, end, obc);
229            }
230    
231            public int getProductEntriesCount(long groupId)
232                    throws com.liferay.portal.kernel.exception.SystemException {
233                    return _scProductEntryLocalService.getProductEntriesCount(groupId);
234            }
235    
236            public int getProductEntriesCount(long groupId, long userId)
237                    throws com.liferay.portal.kernel.exception.SystemException {
238                    return _scProductEntryLocalService.getProductEntriesCount(groupId,
239                            userId);
240            }
241    
242            public com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
243                    long productEntryId)
244                    throws com.liferay.portal.kernel.exception.PortalException,
245                            com.liferay.portal.kernel.exception.SystemException {
246                    return _scProductEntryLocalService.getProductEntry(productEntryId);
247            }
248    
249            public java.lang.String getRepositoryXML(long groupId,
250                    java.lang.String baseImageURL, java.util.Date oldestDate,
251                    int maxNumOfVersions, java.util.Properties repoSettings)
252                    throws com.liferay.portal.kernel.exception.SystemException {
253                    return _scProductEntryLocalService.getRepositoryXML(groupId,
254                            baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
255            }
256    
257            public java.lang.String getRepositoryXML(long groupId,
258                    java.lang.String version, java.lang.String baseImageURL,
259                    java.util.Date oldestDate, int maxNumOfVersions,
260                    java.util.Properties repoSettings)
261                    throws com.liferay.portal.kernel.exception.SystemException {
262                    return _scProductEntryLocalService.getRepositoryXML(groupId, version,
263                            baseImageURL, oldestDate, maxNumOfVersions, repoSettings);
264            }
265    
266            public com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
267                    long productEntryId, java.lang.String name, java.lang.String type,
268                    java.lang.String tags, java.lang.String shortDescription,
269                    java.lang.String longDescription, java.lang.String pageURL,
270                    java.lang.String author, java.lang.String repoGroupId,
271                    java.lang.String repoArtifactId, long[] licenseIds,
272                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _scProductEntryLocalService.updateProductEntry(productEntryId,
276                            name, type, tags, shortDescription, longDescription, pageURL,
277                            author, repoGroupId, repoArtifactId, licenseIds, thumbnails,
278                            fullImages);
279            }
280    
281            public SCProductEntryLocalService getWrappedSCProductEntryLocalService() {
282                    return _scProductEntryLocalService;
283            }
284    
285            private SCProductEntryLocalService _scProductEntryLocalService;
286    }