001    /**
002     * Copyright (c) 2000-2013 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    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.util.ReferenceRegistry;
019    
020    /**
021     * The utility for the s c product entry local service. This utility wraps {@link com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl} and is the primary access point for service operations in application layer code running on the local server.
022     *
023     * <p>
024     * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
025     * </p>
026     *
027     * @author Brian Wing Shun Chan
028     * @see SCProductEntryLocalService
029     * @see com.liferay.portlet.softwarecatalog.service.base.SCProductEntryLocalServiceBaseImpl
030     * @see com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl
031     * @generated
032     */
033    public class SCProductEntryLocalServiceUtil {
034            /*
035             * NOTE FOR DEVELOPERS:
036             *
037             * Never modify this class directly. Add custom service methods to {@link com.liferay.portlet.softwarecatalog.service.impl.SCProductEntryLocalServiceImpl} and rerun ServiceBuilder to regenerate this class.
038             */
039    
040            /**
041            * Adds the s c product entry to the database. Also notifies the appropriate model listeners.
042            *
043            * @param scProductEntry the s c product entry
044            * @return the s c product entry that was added
045            * @throws SystemException if a system exception occurred
046            */
047            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry addSCProductEntry(
048                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
049                    throws com.liferay.portal.kernel.exception.SystemException {
050                    return getService().addSCProductEntry(scProductEntry);
051            }
052    
053            /**
054            * Creates a new s c product entry with the primary key. Does not add the s c product entry to the database.
055            *
056            * @param productEntryId the primary key for the new s c product entry
057            * @return the new s c product entry
058            */
059            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry createSCProductEntry(
060                    long productEntryId) {
061                    return getService().createSCProductEntry(productEntryId);
062            }
063    
064            /**
065            * Deletes the s c product entry with the primary key from the database. Also notifies the appropriate model listeners.
066            *
067            * @param productEntryId the primary key of the s c product entry
068            * @return the s c product entry that was removed
069            * @throws PortalException if a s c product entry with the primary key could not be found
070            * @throws SystemException if a system exception occurred
071            */
072            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry deleteSCProductEntry(
073                    long productEntryId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return getService().deleteSCProductEntry(productEntryId);
077            }
078    
079            /**
080            * Deletes the s c product entry from the database. Also notifies the appropriate model listeners.
081            *
082            * @param scProductEntry the s c product entry
083            * @return the s c product entry that was removed
084            * @throws SystemException if a system exception occurred
085            */
086            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry deleteSCProductEntry(
087                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
088                    throws com.liferay.portal.kernel.exception.SystemException {
089                    return getService().deleteSCProductEntry(scProductEntry);
090            }
091    
092            public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
093                    return getService().dynamicQuery();
094            }
095    
096            /**
097            * Performs a dynamic query on the database and returns the matching rows.
098            *
099            * @param dynamicQuery the dynamic query
100            * @return the matching rows
101            * @throws SystemException if a system exception occurred
102            */
103            @SuppressWarnings("rawtypes")
104            public static java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return getService().dynamicQuery(dynamicQuery);
108            }
109    
110            /**
111            * Performs a dynamic query on the database and returns a range of the matching rows.
112            *
113            * <p>
114            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
115            * </p>
116            *
117            * @param dynamicQuery the dynamic query
118            * @param start the lower bound of the range of model instances
119            * @param end the upper bound of the range of model instances (not inclusive)
120            * @return the range of matching rows
121            * @throws SystemException if a system exception occurred
122            */
123            @SuppressWarnings("rawtypes")
124            public static java.util.List dynamicQuery(
125                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126                    int end) throws com.liferay.portal.kernel.exception.SystemException {
127                    return getService().dynamicQuery(dynamicQuery, start, end);
128            }
129    
130            /**
131            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
132            *
133            * <p>
134            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
135            * </p>
136            *
137            * @param dynamicQuery the dynamic query
138            * @param start the lower bound of the range of model instances
139            * @param end the upper bound of the range of model instances (not inclusive)
140            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
141            * @return the ordered range of matching rows
142            * @throws SystemException if a system exception occurred
143            */
144            @SuppressWarnings("rawtypes")
145            public static java.util.List dynamicQuery(
146                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
147                    int end,
148                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return getService()
151                                       .dynamicQuery(dynamicQuery, start, end, orderByComparator);
152            }
153    
154            /**
155            * Returns the number of rows that match the dynamic query.
156            *
157            * @param dynamicQuery the dynamic query
158            * @return the number of rows that match the dynamic query
159            * @throws SystemException if a system exception occurred
160            */
161            public static long dynamicQueryCount(
162                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return getService().dynamicQueryCount(dynamicQuery);
165            }
166    
167            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry fetchSCProductEntry(
168                    long productEntryId)
169                    throws com.liferay.portal.kernel.exception.SystemException {
170                    return getService().fetchSCProductEntry(productEntryId);
171            }
172    
173            /**
174            * Returns the s c product entry with the primary key.
175            *
176            * @param productEntryId the primary key of the s c product entry
177            * @return the s c product entry
178            * @throws PortalException if a s c product entry with the primary key could not be found
179            * @throws SystemException if a system exception occurred
180            */
181            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry getSCProductEntry(
182                    long productEntryId)
183                    throws com.liferay.portal.kernel.exception.PortalException,
184                            com.liferay.portal.kernel.exception.SystemException {
185                    return getService().getSCProductEntry(productEntryId);
186            }
187    
188            public static com.liferay.portal.model.PersistedModel getPersistedModel(
189                    java.io.Serializable primaryKeyObj)
190                    throws com.liferay.portal.kernel.exception.PortalException,
191                            com.liferay.portal.kernel.exception.SystemException {
192                    return getService().getPersistedModel(primaryKeyObj);
193            }
194    
195            /**
196            * Returns a range of all the s c product entries.
197            *
198            * <p>
199            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
200            * </p>
201            *
202            * @param start the lower bound of the range of s c product entries
203            * @param end the upper bound of the range of s c product entries (not inclusive)
204            * @return the range of s c product entries
205            * @throws SystemException if a system exception occurred
206            */
207            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCProductEntries(
208                    int start, int end)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return getService().getSCProductEntries(start, end);
211            }
212    
213            /**
214            * Returns the number of s c product entries.
215            *
216            * @return the number of s c product entries
217            * @throws SystemException if a system exception occurred
218            */
219            public static int getSCProductEntriesCount()
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return getService().getSCProductEntriesCount();
222            }
223    
224            /**
225            * Updates the s c product entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
226            *
227            * @param scProductEntry the s c product entry
228            * @return the s c product entry that was updated
229            * @throws SystemException if a system exception occurred
230            */
231            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
232                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return getService().updateSCProductEntry(scProductEntry);
235            }
236    
237            /**
238            * Updates the s c product entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
239            *
240            * @param scProductEntry the s c product entry
241            * @param merge whether to merge the s c product entry with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
242            * @return the s c product entry that was updated
243            * @throws SystemException if a system exception occurred
244            */
245            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry updateSCProductEntry(
246                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry,
247                    boolean merge)
248                    throws com.liferay.portal.kernel.exception.SystemException {
249                    return getService().updateSCProductEntry(scProductEntry, merge);
250            }
251    
252            /**
253            * @throws SystemException if a system exception occurred
254            */
255            public static void addSCLicenseSCProductEntry(long licenseId,
256                    long productEntryId)
257                    throws com.liferay.portal.kernel.exception.SystemException {
258                    getService().addSCLicenseSCProductEntry(licenseId, productEntryId);
259            }
260    
261            /**
262            * @throws SystemException if a system exception occurred
263            */
264            public static void addSCLicenseSCProductEntry(long licenseId,
265                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
266                    throws com.liferay.portal.kernel.exception.SystemException {
267                    getService().addSCLicenseSCProductEntry(licenseId, scProductEntry);
268            }
269    
270            /**
271            * @throws SystemException if a system exception occurred
272            */
273            public static void addSCLicenseSCProductEntries(long licenseId,
274                    long[] productEntryIds)
275                    throws com.liferay.portal.kernel.exception.SystemException {
276                    getService().addSCLicenseSCProductEntries(licenseId, productEntryIds);
277            }
278    
279            /**
280            * @throws SystemException if a system exception occurred
281            */
282            public static void addSCLicenseSCProductEntries(long licenseId,
283                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> SCProductEntries)
284                    throws com.liferay.portal.kernel.exception.SystemException {
285                    getService().addSCLicenseSCProductEntries(licenseId, SCProductEntries);
286            }
287    
288            /**
289            * @throws SystemException if a system exception occurred
290            */
291            public static void clearSCLicenseSCProductEntries(long licenseId)
292                    throws com.liferay.portal.kernel.exception.SystemException {
293                    getService().clearSCLicenseSCProductEntries(licenseId);
294            }
295    
296            /**
297            * @throws SystemException if a system exception occurred
298            */
299            public static void deleteSCLicenseSCProductEntry(long licenseId,
300                    long productEntryId)
301                    throws com.liferay.portal.kernel.exception.SystemException {
302                    getService().deleteSCLicenseSCProductEntry(licenseId, productEntryId);
303            }
304    
305            /**
306            * @throws SystemException if a system exception occurred
307            */
308            public static void deleteSCLicenseSCProductEntry(long licenseId,
309                    com.liferay.portlet.softwarecatalog.model.SCProductEntry scProductEntry)
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    getService().deleteSCLicenseSCProductEntry(licenseId, scProductEntry);
312            }
313    
314            /**
315            * @throws SystemException if a system exception occurred
316            */
317            public static void deleteSCLicenseSCProductEntries(long licenseId,
318                    long[] productEntryIds)
319                    throws com.liferay.portal.kernel.exception.SystemException {
320                    getService().deleteSCLicenseSCProductEntries(licenseId, productEntryIds);
321            }
322    
323            /**
324            * @throws SystemException if a system exception occurred
325            */
326            public static void deleteSCLicenseSCProductEntries(long licenseId,
327                    java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> SCProductEntries)
328                    throws com.liferay.portal.kernel.exception.SystemException {
329                    getService().deleteSCLicenseSCProductEntries(licenseId, SCProductEntries);
330            }
331    
332            /**
333            * @throws SystemException if a system exception occurred
334            */
335            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCLicenseSCProductEntries(
336                    long licenseId)
337                    throws com.liferay.portal.kernel.exception.SystemException {
338                    return getService().getSCLicenseSCProductEntries(licenseId);
339            }
340    
341            /**
342            * @throws SystemException if a system exception occurred
343            */
344            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCLicenseSCProductEntries(
345                    long licenseId, int start, int end)
346                    throws com.liferay.portal.kernel.exception.SystemException {
347                    return getService().getSCLicenseSCProductEntries(licenseId, start, end);
348            }
349    
350            /**
351            * @throws SystemException if a system exception occurred
352            */
353            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getSCLicenseSCProductEntries(
354                    long licenseId, int start, int end,
355                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
356                    throws com.liferay.portal.kernel.exception.SystemException {
357                    return getService()
358                                       .getSCLicenseSCProductEntries(licenseId, start, end,
359                            orderByComparator);
360            }
361    
362            /**
363            * @throws SystemException if a system exception occurred
364            */
365            public static int getSCLicenseSCProductEntriesCount(long licenseId)
366                    throws com.liferay.portal.kernel.exception.SystemException {
367                    return getService().getSCLicenseSCProductEntriesCount(licenseId);
368            }
369    
370            /**
371            * @throws SystemException if a system exception occurred
372            */
373            public static boolean hasSCLicenseSCProductEntry(long licenseId,
374                    long productEntryId)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    return getService().hasSCLicenseSCProductEntry(licenseId, productEntryId);
377            }
378    
379            /**
380            * @throws SystemException if a system exception occurred
381            */
382            public static boolean hasSCLicenseSCProductEntries(long licenseId)
383                    throws com.liferay.portal.kernel.exception.SystemException {
384                    return getService().hasSCLicenseSCProductEntries(licenseId);
385            }
386    
387            /**
388            * @throws SystemException if a system exception occurred
389            */
390            public static void setSCLicenseSCProductEntries(long licenseId,
391                    long[] productEntryIds)
392                    throws com.liferay.portal.kernel.exception.SystemException {
393                    getService().setSCLicenseSCProductEntries(licenseId, productEntryIds);
394            }
395    
396            /**
397            * Returns the Spring bean ID for this bean.
398            *
399            * @return the Spring bean ID for this bean
400            */
401            public static java.lang.String getBeanIdentifier() {
402                    return getService().getBeanIdentifier();
403            }
404    
405            /**
406            * Sets the Spring bean ID for this bean.
407            *
408            * @param beanIdentifier the Spring bean ID for this bean
409            */
410            public static void setBeanIdentifier(java.lang.String beanIdentifier) {
411                    getService().setBeanIdentifier(beanIdentifier);
412            }
413    
414            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry addProductEntry(
415                    long userId, java.lang.String name, java.lang.String type,
416                    java.lang.String tags, java.lang.String shortDescription,
417                    java.lang.String longDescription, java.lang.String pageURL,
418                    java.lang.String author, java.lang.String repoGroupId,
419                    java.lang.String repoArtifactId, long[] licenseIds,
420                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages,
421                    com.liferay.portal.service.ServiceContext serviceContext)
422                    throws com.liferay.portal.kernel.exception.PortalException,
423                            com.liferay.portal.kernel.exception.SystemException {
424                    return getService()
425                                       .addProductEntry(userId, name, type, tags, shortDescription,
426                            longDescription, pageURL, author, repoGroupId, repoArtifactId,
427                            licenseIds, thumbnails, fullImages, serviceContext);
428            }
429    
430            public static void addProductEntryResources(long productEntryId,
431                    boolean addGroupPermissions, boolean addGuestPermissions)
432                    throws com.liferay.portal.kernel.exception.PortalException,
433                            com.liferay.portal.kernel.exception.SystemException {
434                    getService()
435                            .addProductEntryResources(productEntryId, addGroupPermissions,
436                            addGuestPermissions);
437            }
438    
439            public static void addProductEntryResources(long productEntryId,
440                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
441                    throws com.liferay.portal.kernel.exception.PortalException,
442                            com.liferay.portal.kernel.exception.SystemException {
443                    getService()
444                            .addProductEntryResources(productEntryId, groupPermissions,
445                            guestPermissions);
446            }
447    
448            public static void addProductEntryResources(
449                    com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
450                    boolean addGroupPermissions, boolean addGuestPermissions)
451                    throws com.liferay.portal.kernel.exception.PortalException,
452                            com.liferay.portal.kernel.exception.SystemException {
453                    getService()
454                            .addProductEntryResources(productEntry, addGroupPermissions,
455                            addGuestPermissions);
456            }
457    
458            public static void addProductEntryResources(
459                    com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry,
460                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
461                    throws com.liferay.portal.kernel.exception.PortalException,
462                            com.liferay.portal.kernel.exception.SystemException {
463                    getService()
464                            .addProductEntryResources(productEntry, groupPermissions,
465                            guestPermissions);
466            }
467    
468            public static void deleteProductEntries(long groupId)
469                    throws com.liferay.portal.kernel.exception.PortalException,
470                            com.liferay.portal.kernel.exception.SystemException {
471                    getService().deleteProductEntries(groupId);
472            }
473    
474            public static void deleteProductEntry(long productEntryId)
475                    throws com.liferay.portal.kernel.exception.PortalException,
476                            com.liferay.portal.kernel.exception.SystemException {
477                    getService().deleteProductEntry(productEntryId);
478            }
479    
480            public static void deleteProductEntry(
481                    com.liferay.portlet.softwarecatalog.model.SCProductEntry productEntry)
482                    throws com.liferay.portal.kernel.exception.PortalException,
483                            com.liferay.portal.kernel.exception.SystemException {
484                    getService().deleteProductEntry(productEntry);
485            }
486    
487            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getCompanyProductEntries(
488                    long companyId, int start, int end)
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return getService().getCompanyProductEntries(companyId, start, end);
491            }
492    
493            public static int getCompanyProductEntriesCount(long companyId)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return getService().getCompanyProductEntriesCount(companyId);
496            }
497    
498            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
499                    long groupId, int start, int end)
500                    throws com.liferay.portal.kernel.exception.SystemException {
501                    return getService().getProductEntries(groupId, start, end);
502            }
503    
504            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
505                    long groupId, int start, int end,
506                    com.liferay.portal.kernel.util.OrderByComparator obc)
507                    throws com.liferay.portal.kernel.exception.SystemException {
508                    return getService().getProductEntries(groupId, start, end, obc);
509            }
510    
511            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
512                    long groupId, long userId, int start, int end)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    return getService().getProductEntries(groupId, userId, start, end);
515            }
516    
517            public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCProductEntry> getProductEntries(
518                    long groupId, long userId, int start, int end,
519                    com.liferay.portal.kernel.util.OrderByComparator obc)
520                    throws com.liferay.portal.kernel.exception.SystemException {
521                    return getService().getProductEntries(groupId, userId, start, end, obc);
522            }
523    
524            public static int getProductEntriesCount(long groupId)
525                    throws com.liferay.portal.kernel.exception.SystemException {
526                    return getService().getProductEntriesCount(groupId);
527            }
528    
529            public static int getProductEntriesCount(long groupId, long userId)
530                    throws com.liferay.portal.kernel.exception.SystemException {
531                    return getService().getProductEntriesCount(groupId, userId);
532            }
533    
534            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry getProductEntry(
535                    long productEntryId)
536                    throws com.liferay.portal.kernel.exception.PortalException,
537                            com.liferay.portal.kernel.exception.SystemException {
538                    return getService().getProductEntry(productEntryId);
539            }
540    
541            public static java.lang.String getRepositoryXML(long groupId,
542                    java.lang.String baseImageURL, java.util.Date oldestDate,
543                    int maxNumOfVersions, java.util.Properties repoSettings)
544                    throws com.liferay.portal.kernel.exception.SystemException {
545                    return getService()
546                                       .getRepositoryXML(groupId, baseImageURL, oldestDate,
547                            maxNumOfVersions, repoSettings);
548            }
549    
550            public static java.lang.String getRepositoryXML(long groupId,
551                    java.lang.String version, java.lang.String baseImageURL,
552                    java.util.Date oldestDate, int maxNumOfVersions,
553                    java.util.Properties repoSettings)
554                    throws com.liferay.portal.kernel.exception.SystemException {
555                    return getService()
556                                       .getRepositoryXML(groupId, version, baseImageURL,
557                            oldestDate, maxNumOfVersions, repoSettings);
558            }
559    
560            public static com.liferay.portlet.softwarecatalog.model.SCProductEntry updateProductEntry(
561                    long productEntryId, java.lang.String name, java.lang.String type,
562                    java.lang.String tags, java.lang.String shortDescription,
563                    java.lang.String longDescription, java.lang.String pageURL,
564                    java.lang.String author, java.lang.String repoGroupId,
565                    java.lang.String repoArtifactId, long[] licenseIds,
566                    java.util.List<byte[]> thumbnails, java.util.List<byte[]> fullImages)
567                    throws com.liferay.portal.kernel.exception.PortalException,
568                            com.liferay.portal.kernel.exception.SystemException {
569                    return getService()
570                                       .updateProductEntry(productEntryId, name, type, tags,
571                            shortDescription, longDescription, pageURL, author, repoGroupId,
572                            repoArtifactId, licenseIds, thumbnails, fullImages);
573            }
574    
575            public static SCProductEntryLocalService getService() {
576                    if (_service == null) {
577                            _service = (SCProductEntryLocalService)PortalBeanLocatorUtil.locate(SCProductEntryLocalService.class.getName());
578    
579                            ReferenceRegistry.registerReference(SCProductEntryLocalServiceUtil.class,
580                                    "_service");
581                    }
582    
583                    return _service;
584            }
585    
586            /**
587             * @deprecated
588             */
589            public void setService(SCProductEntryLocalService service) {
590            }
591    
592            private static SCProductEntryLocalService _service;
593    }