1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.softwarecatalog.service;
16  
17  
18  /**
19   * <a href="SCFrameworkVersionServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link SCFrameworkVersionService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SCFrameworkVersionService
32   * @generated
33   */
34  public class SCFrameworkVersionServiceWrapper
35      implements SCFrameworkVersionService {
36      public SCFrameworkVersionServiceWrapper(
37          SCFrameworkVersionService scFrameworkVersionService) {
38          _scFrameworkVersionService = scFrameworkVersionService;
39      }
40  
41      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
42          java.lang.String name, java.lang.String url, boolean active,
43          int priority, com.liferay.portal.service.ServiceContext serviceContext)
44          throws com.liferay.portal.kernel.exception.PortalException,
45              com.liferay.portal.kernel.exception.SystemException {
46          return _scFrameworkVersionService.addFrameworkVersion(name, url,
47              active, priority, serviceContext);
48      }
49  
50      public void deleteFrameworkVersion(long frameworkVersionId)
51          throws com.liferay.portal.kernel.exception.PortalException,
52              com.liferay.portal.kernel.exception.SystemException {
53          _scFrameworkVersionService.deleteFrameworkVersion(frameworkVersionId);
54      }
55  
56      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
57          long frameworkVersionId)
58          throws com.liferay.portal.kernel.exception.PortalException,
59              com.liferay.portal.kernel.exception.SystemException {
60          return _scFrameworkVersionService.getFrameworkVersion(frameworkVersionId);
61      }
62  
63      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
64          long groupId, boolean active)
65          throws com.liferay.portal.kernel.exception.SystemException {
66          return _scFrameworkVersionService.getFrameworkVersions(groupId, active);
67      }
68  
69      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
70          long groupId, boolean active, int start, int end)
71          throws com.liferay.portal.kernel.exception.SystemException {
72          return _scFrameworkVersionService.getFrameworkVersions(groupId, active,
73              start, end);
74      }
75  
76      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
77          long frameworkVersionId, java.lang.String name, java.lang.String url,
78          boolean active, int priority)
79          throws com.liferay.portal.kernel.exception.PortalException,
80              com.liferay.portal.kernel.exception.SystemException {
81          return _scFrameworkVersionService.updateFrameworkVersion(frameworkVersionId,
82              name, url, active, priority);
83      }
84  
85      public SCFrameworkVersionService getWrappedSCFrameworkVersionService() {
86          return _scFrameworkVersionService;
87      }
88  
89      private SCFrameworkVersionService _scFrameworkVersionService;
90  }