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="ClassNameLocalServiceUtil.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 ClassNameLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ClassNameLocalService
32   * @generated
33   */
34  public class ClassNameLocalServiceWrapper implements ClassNameLocalService {
35      public ClassNameLocalServiceWrapper(
36          ClassNameLocalService classNameLocalService) {
37          _classNameLocalService = classNameLocalService;
38      }
39  
40      public com.liferay.portal.model.ClassName addClassName(
41          com.liferay.portal.model.ClassName className)
42          throws com.liferay.portal.kernel.exception.SystemException {
43          return _classNameLocalService.addClassName(className);
44      }
45  
46      public com.liferay.portal.model.ClassName createClassName(long classNameId) {
47          return _classNameLocalService.createClassName(classNameId);
48      }
49  
50      public void deleteClassName(long classNameId)
51          throws com.liferay.portal.kernel.exception.PortalException,
52              com.liferay.portal.kernel.exception.SystemException {
53          _classNameLocalService.deleteClassName(classNameId);
54      }
55  
56      public void deleteClassName(com.liferay.portal.model.ClassName className)
57          throws com.liferay.portal.kernel.exception.SystemException {
58          _classNameLocalService.deleteClassName(className);
59      }
60  
61      @SuppressWarnings("unchecked")
62      public java.util.List dynamicQuery(
63          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
64          throws com.liferay.portal.kernel.exception.SystemException {
65          return _classNameLocalService.dynamicQuery(dynamicQuery);
66      }
67  
68      @SuppressWarnings("unchecked")
69      public java.util.List dynamicQuery(
70          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71          int end) throws com.liferay.portal.kernel.exception.SystemException {
72          return _classNameLocalService.dynamicQuery(dynamicQuery, start, end);
73      }
74  
75      @SuppressWarnings("unchecked")
76      public java.util.List dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.kernel.exception.SystemException {
81          return _classNameLocalService.dynamicQuery(dynamicQuery, start, end,
82              orderByComparator);
83      }
84  
85      public long dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.kernel.exception.SystemException {
88          return _classNameLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portal.model.ClassName getClassName(long classNameId)
92          throws com.liferay.portal.kernel.exception.PortalException,
93              com.liferay.portal.kernel.exception.SystemException {
94          return _classNameLocalService.getClassName(classNameId);
95      }
96  
97      public java.util.List<com.liferay.portal.model.ClassName> getClassNames(
98          int start, int end)
99          throws com.liferay.portal.kernel.exception.SystemException {
100         return _classNameLocalService.getClassNames(start, end);
101     }
102 
103     public int getClassNamesCount()
104         throws com.liferay.portal.kernel.exception.SystemException {
105         return _classNameLocalService.getClassNamesCount();
106     }
107 
108     public com.liferay.portal.model.ClassName updateClassName(
109         com.liferay.portal.model.ClassName className)
110         throws com.liferay.portal.kernel.exception.SystemException {
111         return _classNameLocalService.updateClassName(className);
112     }
113 
114     public com.liferay.portal.model.ClassName updateClassName(
115         com.liferay.portal.model.ClassName className, boolean merge)
116         throws com.liferay.portal.kernel.exception.SystemException {
117         return _classNameLocalService.updateClassName(className, merge);
118     }
119 
120     public com.liferay.portal.model.ClassName addClassName(
121         java.lang.String value)
122         throws com.liferay.portal.kernel.exception.SystemException {
123         return _classNameLocalService.addClassName(value);
124     }
125 
126     public void checkClassNames()
127         throws com.liferay.portal.kernel.exception.SystemException {
128         _classNameLocalService.checkClassNames();
129     }
130 
131     public com.liferay.portal.model.ClassName getClassName(
132         java.lang.String value)
133         throws com.liferay.portal.kernel.exception.SystemException {
134         return _classNameLocalService.getClassName(value);
135     }
136 
137     public long getClassNameId(java.lang.Class<?> classObj) {
138         return _classNameLocalService.getClassNameId(classObj);
139     }
140 
141     public long getClassNameId(java.lang.String value) {
142         return _classNameLocalService.getClassNameId(value);
143     }
144 
145     public ClassNameLocalService getWrappedClassNameLocalService() {
146         return _classNameLocalService;
147     }
148 
149     private ClassNameLocalService _classNameLocalService;
150 }