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          long plid, java.lang.String name, java.lang.String url, boolean active,
43          int priority, boolean addCommunityPermissions,
44          boolean addGuestPermissions)
45          throws com.liferay.portal.PortalException,
46              com.liferay.portal.SystemException, java.rmi.RemoteException {
47          return _scFrameworkVersionService.addFrameworkVersion(plid, name, url,
48              active, priority, addCommunityPermissions, addGuestPermissions);
49      }
50  
51      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
52          long plid, java.lang.String name, java.lang.String url, boolean active,
53          int priority, java.lang.String[] communityPermissions,
54          java.lang.String[] guestPermissions)
55          throws com.liferay.portal.PortalException,
56              com.liferay.portal.SystemException, java.rmi.RemoteException {
57          return _scFrameworkVersionService.addFrameworkVersion(plid, name, url,
58              active, priority, communityPermissions, guestPermissions);
59      }
60  
61      public void deleteFrameworkVersion(long frameworkVersionId)
62          throws com.liferay.portal.PortalException,
63              com.liferay.portal.SystemException, java.rmi.RemoteException {
64          _scFrameworkVersionService.deleteFrameworkVersion(frameworkVersionId);
65      }
66  
67      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
68          long frameworkVersionId)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException, java.rmi.RemoteException {
71          return _scFrameworkVersionService.getFrameworkVersion(frameworkVersionId);
72      }
73  
74      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
75          long groupId, boolean active)
76          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
77          return _scFrameworkVersionService.getFrameworkVersions(groupId, active);
78      }
79  
80      public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
81          long groupId, boolean active, int start, int end)
82          throws com.liferay.portal.SystemException, java.rmi.RemoteException {
83          return _scFrameworkVersionService.getFrameworkVersions(groupId, active,
84              start, end);
85      }
86  
87      public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
88          long frameworkVersionId, java.lang.String name, java.lang.String url,
89          boolean active, int priority)
90          throws com.liferay.portal.PortalException,
91              com.liferay.portal.SystemException, java.rmi.RemoteException {
92          return _scFrameworkVersionService.updateFrameworkVersion(frameworkVersionId,
93              name, url, active, priority);
94      }
95  
96      public SCFrameworkVersionService getWrappedSCFrameworkVersionService() {
97          return _scFrameworkVersionService;
98      }
99  
100     private SCFrameworkVersionService _scFrameworkVersionService;
101 }