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