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