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