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.PortalException,
45              com.liferay.portal.SystemException {
46          return _scFrameworkVersionService.addFrameworkVersion(name, url,
47              active, priority, serviceContext);
48      }
49  
50      public void deleteFrameworkVersion(long frameworkVersionId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _scFrameworkVersionService.deleteFrameworkVersion(frameworkVersionId);
54      }
55  
56      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
57          long frameworkVersionId)
58          throws com.liferay.portal.PortalException,
59              com.liferay.portal.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) throws com.liferay.portal.SystemException {
65          return _scFrameworkVersionService.getFrameworkVersions(groupId, active);
66      }
67  
68      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
69          long groupId, boolean active, int start, int end)
70          throws com.liferay.portal.SystemException {
71          return _scFrameworkVersionService.getFrameworkVersions(groupId, active,
72              start, end);
73      }
74  
75      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
76          long frameworkVersionId, java.lang.String name, java.lang.String url,
77          boolean active, int priority)
78          throws com.liferay.portal.PortalException,
79              com.liferay.portal.SystemException {
80          return _scFrameworkVersionService.updateFrameworkVersion(frameworkVersionId,
81              name, url, active, priority);
82      }
83  
84      public SCFrameworkVersionService getWrappedSCFrameworkVersionService() {
85          return _scFrameworkVersionService;
86      }
87  
88      private SCFrameworkVersionService _scFrameworkVersionService;
89  }