1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.service;
16  
17  /**
18   * <a href="ServiceComponentLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link ServiceComponentLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ServiceComponentLocalService
31   * @generated
32   */
33  public class ServiceComponentLocalServiceWrapper
34      implements ServiceComponentLocalService {
35      public ServiceComponentLocalServiceWrapper(
36          ServiceComponentLocalService serviceComponentLocalService) {
37          _serviceComponentLocalService = serviceComponentLocalService;
38      }
39  
40      public com.liferay.portal.model.ServiceComponent addServiceComponent(
41          com.liferay.portal.model.ServiceComponent serviceComponent)
42          throws com.liferay.portal.SystemException {
43          return _serviceComponentLocalService.addServiceComponent(serviceComponent);
44      }
45  
46      public com.liferay.portal.model.ServiceComponent createServiceComponent(
47          long serviceComponentId) {
48          return _serviceComponentLocalService.createServiceComponent(serviceComponentId);
49      }
50  
51      public void deleteServiceComponent(long serviceComponentId)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _serviceComponentLocalService.deleteServiceComponent(serviceComponentId);
55      }
56  
57      public void deleteServiceComponent(
58          com.liferay.portal.model.ServiceComponent serviceComponent)
59          throws com.liferay.portal.SystemException {
60          _serviceComponentLocalService.deleteServiceComponent(serviceComponent);
61      }
62  
63      @SuppressWarnings("rawtypes")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _serviceComponentLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("rawtypes")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.SystemException {
74          return _serviceComponentLocalService.dynamicQuery(dynamicQuery, start,
75              end);
76      }
77  
78      @SuppressWarnings("rawtypes")
79      public java.util.List dynamicQuery(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81          int end,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.SystemException {
84          return _serviceComponentLocalService.dynamicQuery(dynamicQuery, start,
85              end, orderByComparator);
86      }
87  
88      public int dynamicQueryCount(
89          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90          throws com.liferay.portal.SystemException {
91          return _serviceComponentLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portal.model.ServiceComponent getServiceComponent(
95          long serviceComponentId)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException {
98          return _serviceComponentLocalService.getServiceComponent(serviceComponentId);
99      }
100 
101     public java.util.List<com.liferay.portal.model.ServiceComponent> getServiceComponents(
102         int start, int end) throws com.liferay.portal.SystemException {
103         return _serviceComponentLocalService.getServiceComponents(start, end);
104     }
105 
106     public int getServiceComponentsCount()
107         throws com.liferay.portal.SystemException {
108         return _serviceComponentLocalService.getServiceComponentsCount();
109     }
110 
111     public com.liferay.portal.model.ServiceComponent updateServiceComponent(
112         com.liferay.portal.model.ServiceComponent serviceComponent)
113         throws com.liferay.portal.SystemException {
114         return _serviceComponentLocalService.updateServiceComponent(serviceComponent);
115     }
116 
117     public com.liferay.portal.model.ServiceComponent updateServiceComponent(
118         com.liferay.portal.model.ServiceComponent serviceComponent,
119         boolean merge) throws com.liferay.portal.SystemException {
120         return _serviceComponentLocalService.updateServiceComponent(serviceComponent,
121             merge);
122     }
123 
124     public void destroyServiceComponent(
125         javax.servlet.ServletContext servletContext,
126         java.lang.ClassLoader classLoader)
127         throws com.liferay.portal.SystemException {
128         _serviceComponentLocalService.destroyServiceComponent(servletContext,
129             classLoader);
130     }
131 
132     public com.liferay.portal.model.ServiceComponent initServiceComponent(
133         javax.servlet.ServletContext servletContext,
134         java.lang.ClassLoader classLoader, java.lang.String buildNamespace,
135         long buildNumber, long buildDate, boolean buildAutoUpgrade)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _serviceComponentLocalService.initServiceComponent(servletContext,
139             classLoader, buildNamespace, buildNumber, buildDate,
140             buildAutoUpgrade);
141     }
142 
143     public void upgradeDB(java.lang.ClassLoader classLoader,
144         java.lang.String buildNamespace, long buildNumber,
145         boolean buildAutoUpgrade,
146         com.liferay.portal.model.ServiceComponent previousServiceComponent,
147         java.lang.String tablesSQL, java.lang.String sequencesSQL,
148         java.lang.String indexesSQL) throws java.lang.Exception {
149         _serviceComponentLocalService.upgradeDB(classLoader, buildNamespace,
150             buildNumber, buildAutoUpgrade, previousServiceComponent, tablesSQL,
151             sequencesSQL, indexesSQL);
152     }
153 
154     public void verifyDB()
155         throws com.liferay.portal.PortalException,
156             com.liferay.portal.SystemException {
157         _serviceComponentLocalService.verifyDB();
158     }
159 
160     public ServiceComponentLocalService getWrappedServiceComponentLocalService() {
161         return _serviceComponentLocalService;
162     }
163 
164     private ServiceComponentLocalService _serviceComponentLocalService;
165 }