1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portal.service;
24  
25  
26  /**
27   * <a href="ClassNameLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link ClassNameLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       ClassNameLocalService
40   * @generated
41   */
42  public class ClassNameLocalServiceWrapper implements ClassNameLocalService {
43      public ClassNameLocalServiceWrapper(
44          ClassNameLocalService classNameLocalService) {
45          _classNameLocalService = classNameLocalService;
46      }
47  
48      public com.liferay.portal.model.ClassName addClassName(
49          com.liferay.portal.model.ClassName className)
50          throws com.liferay.portal.SystemException {
51          return _classNameLocalService.addClassName(className);
52      }
53  
54      public com.liferay.portal.model.ClassName createClassName(long classNameId) {
55          return _classNameLocalService.createClassName(classNameId);
56      }
57  
58      public void deleteClassName(long classNameId)
59          throws com.liferay.portal.PortalException,
60              com.liferay.portal.SystemException {
61          _classNameLocalService.deleteClassName(classNameId);
62      }
63  
64      public void deleteClassName(com.liferay.portal.model.ClassName className)
65          throws com.liferay.portal.SystemException {
66          _classNameLocalService.deleteClassName(className);
67      }
68  
69      public java.util.List<Object> dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
71          throws com.liferay.portal.SystemException {
72          return _classNameLocalService.dynamicQuery(dynamicQuery);
73      }
74  
75      public java.util.List<Object> dynamicQuery(
76          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77          int end) throws com.liferay.portal.SystemException {
78          return _classNameLocalService.dynamicQuery(dynamicQuery, start, end);
79      }
80  
81      public com.liferay.portal.model.ClassName getClassName(long classNameId)
82          throws com.liferay.portal.PortalException,
83              com.liferay.portal.SystemException {
84          return _classNameLocalService.getClassName(classNameId);
85      }
86  
87      public java.util.List<com.liferay.portal.model.ClassName> getClassNames(
88          int start, int end) throws com.liferay.portal.SystemException {
89          return _classNameLocalService.getClassNames(start, end);
90      }
91  
92      public int getClassNamesCount() throws com.liferay.portal.SystemException {
93          return _classNameLocalService.getClassNamesCount();
94      }
95  
96      public com.liferay.portal.model.ClassName updateClassName(
97          com.liferay.portal.model.ClassName className)
98          throws com.liferay.portal.SystemException {
99          return _classNameLocalService.updateClassName(className);
100     }
101 
102     public com.liferay.portal.model.ClassName updateClassName(
103         com.liferay.portal.model.ClassName className, boolean merge)
104         throws com.liferay.portal.SystemException {
105         return _classNameLocalService.updateClassName(className, merge);
106     }
107 
108     public com.liferay.portal.model.ClassName addClassName(
109         java.lang.String value) throws com.liferay.portal.SystemException {
110         return _classNameLocalService.addClassName(value);
111     }
112 
113     public void checkClassNames() throws com.liferay.portal.SystemException {
114         _classNameLocalService.checkClassNames();
115     }
116 
117     public com.liferay.portal.model.ClassName getClassName(
118         java.lang.String value) throws com.liferay.portal.SystemException {
119         return _classNameLocalService.getClassName(value);
120     }
121 
122     public long getClassNameId(java.lang.Class<?> classObj) {
123         return _classNameLocalService.getClassNameId(classObj);
124     }
125 
126     public long getClassNameId(java.lang.String value) {
127         return _classNameLocalService.getClassNameId(value);
128     }
129 
130     public ClassNameLocalService getWrappedClassNameLocalService() {
131         return _classNameLocalService;
132     }
133 
134     private ClassNameLocalService _classNameLocalService;
135 }