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.portal.service;
16  
17  
18  /**
19   * <a href="ServiceComponentLocalServiceUtil.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 ServiceComponentLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ServiceComponentLocalService
32   * @generated
33   */
34  public class ServiceComponentLocalServiceWrapper
35      implements ServiceComponentLocalService {
36      public ServiceComponentLocalServiceWrapper(
37          ServiceComponentLocalService serviceComponentLocalService) {
38          _serviceComponentLocalService = serviceComponentLocalService;
39      }
40  
41      public com.liferay.portal.model.ServiceComponent addServiceComponent(
42          com.liferay.portal.model.ServiceComponent serviceComponent)
43          throws com.liferay.portal.SystemException {
44          return _serviceComponentLocalService.addServiceComponent(serviceComponent);
45      }
46  
47      public com.liferay.portal.model.ServiceComponent createServiceComponent(
48          long serviceComponentId) {
49          return _serviceComponentLocalService.createServiceComponent(serviceComponentId);
50      }
51  
52      public void deleteServiceComponent(long serviceComponentId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _serviceComponentLocalService.deleteServiceComponent(serviceComponentId);
56      }
57  
58      public void deleteServiceComponent(
59          com.liferay.portal.model.ServiceComponent serviceComponent)
60          throws com.liferay.portal.SystemException {
61          _serviceComponentLocalService.deleteServiceComponent(serviceComponent);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _serviceComponentLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _serviceComponentLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public com.liferay.portal.model.ServiceComponent getServiceComponent(
78          long serviceComponentId)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _serviceComponentLocalService.getServiceComponent(serviceComponentId);
82      }
83  
84      public java.util.List<com.liferay.portal.model.ServiceComponent> getServiceComponents(
85          int start, int end) throws com.liferay.portal.SystemException {
86          return _serviceComponentLocalService.getServiceComponents(start, end);
87      }
88  
89      public int getServiceComponentsCount()
90          throws com.liferay.portal.SystemException {
91          return _serviceComponentLocalService.getServiceComponentsCount();
92      }
93  
94      public com.liferay.portal.model.ServiceComponent updateServiceComponent(
95          com.liferay.portal.model.ServiceComponent serviceComponent)
96          throws com.liferay.portal.SystemException {
97          return _serviceComponentLocalService.updateServiceComponent(serviceComponent);
98      }
99  
100     public com.liferay.portal.model.ServiceComponent updateServiceComponent(
101         com.liferay.portal.model.ServiceComponent serviceComponent,
102         boolean merge) throws com.liferay.portal.SystemException {
103         return _serviceComponentLocalService.updateServiceComponent(serviceComponent,
104             merge);
105     }
106 
107     public void destroyServiceComponent(
108         javax.servlet.ServletContext servletContext,
109         java.lang.ClassLoader classLoader)
110         throws com.liferay.portal.SystemException {
111         _serviceComponentLocalService.destroyServiceComponent(servletContext,
112             classLoader);
113     }
114 
115     public com.liferay.portal.model.ServiceComponent initServiceComponent(
116         javax.servlet.ServletContext servletContext,
117         java.lang.ClassLoader classLoader, java.lang.String buildNamespace,
118         long buildNumber, long buildDate, boolean buildAutoUpgrade)
119         throws com.liferay.portal.PortalException,
120             com.liferay.portal.SystemException {
121         return _serviceComponentLocalService.initServiceComponent(servletContext,
122             classLoader, buildNamespace, buildNumber, buildDate,
123             buildAutoUpgrade);
124     }
125 
126     public void upgradeDB(java.lang.ClassLoader classLoader,
127         java.lang.String buildNamespace, long buildNumber,
128         boolean buildAutoUpgrade,
129         com.liferay.portal.model.ServiceComponent previousServiceComponent,
130         java.lang.String tablesSQL, java.lang.String sequencesSQL,
131         java.lang.String indexesSQL) throws java.lang.Exception {
132         _serviceComponentLocalService.upgradeDB(classLoader, buildNamespace,
133             buildNumber, buildAutoUpgrade, previousServiceComponent, tablesSQL,
134             sequencesSQL, indexesSQL);
135     }
136 
137     public void verifyDB()
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         _serviceComponentLocalService.verifyDB();
141     }
142 
143     public ServiceComponentLocalService getWrappedServiceComponentLocalService() {
144         return _serviceComponentLocalService;
145     }
146 
147     private ServiceComponentLocalService _serviceComponentLocalService;
148 }