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="ResourceCodeLocalServiceUtil.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 ResourceCodeLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       ResourceCodeLocalService
40   * @generated
41   */
42  public class ResourceCodeLocalServiceWrapper implements ResourceCodeLocalService {
43      public ResourceCodeLocalServiceWrapper(
44          ResourceCodeLocalService resourceCodeLocalService) {
45          _resourceCodeLocalService = resourceCodeLocalService;
46      }
47  
48      public com.liferay.portal.model.ResourceCode addResourceCode(
49          com.liferay.portal.model.ResourceCode resourceCode)
50          throws com.liferay.portal.SystemException {
51          return _resourceCodeLocalService.addResourceCode(resourceCode);
52      }
53  
54      public com.liferay.portal.model.ResourceCode createResourceCode(long codeId) {
55          return _resourceCodeLocalService.createResourceCode(codeId);
56      }
57  
58      public void deleteResourceCode(long codeId)
59          throws com.liferay.portal.PortalException,
60              com.liferay.portal.SystemException {
61          _resourceCodeLocalService.deleteResourceCode(codeId);
62      }
63  
64      public void deleteResourceCode(
65          com.liferay.portal.model.ResourceCode resourceCode)
66          throws com.liferay.portal.SystemException {
67          _resourceCodeLocalService.deleteResourceCode(resourceCode);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
72          throws com.liferay.portal.SystemException {
73          return _resourceCodeLocalService.dynamicQuery(dynamicQuery);
74      }
75  
76      public java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end) throws com.liferay.portal.SystemException {
79          return _resourceCodeLocalService.dynamicQuery(dynamicQuery, start, end);
80      }
81  
82      public com.liferay.portal.model.ResourceCode getResourceCode(long codeId)
83          throws com.liferay.portal.PortalException,
84              com.liferay.portal.SystemException {
85          return _resourceCodeLocalService.getResourceCode(codeId);
86      }
87  
88      public java.util.List<com.liferay.portal.model.ResourceCode> getResourceCodes(
89          int start, int end) throws com.liferay.portal.SystemException {
90          return _resourceCodeLocalService.getResourceCodes(start, end);
91      }
92  
93      public int getResourceCodesCount()
94          throws com.liferay.portal.SystemException {
95          return _resourceCodeLocalService.getResourceCodesCount();
96      }
97  
98      public com.liferay.portal.model.ResourceCode updateResourceCode(
99          com.liferay.portal.model.ResourceCode resourceCode)
100         throws com.liferay.portal.SystemException {
101         return _resourceCodeLocalService.updateResourceCode(resourceCode);
102     }
103 
104     public com.liferay.portal.model.ResourceCode updateResourceCode(
105         com.liferay.portal.model.ResourceCode resourceCode, boolean merge)
106         throws com.liferay.portal.SystemException {
107         return _resourceCodeLocalService.updateResourceCode(resourceCode, merge);
108     }
109 
110     public com.liferay.portal.model.ResourceCode addResourceCode(
111         long companyId, java.lang.String name, int scope)
112         throws com.liferay.portal.SystemException {
113         return _resourceCodeLocalService.addResourceCode(companyId, name, scope);
114     }
115 
116     public void checkResourceCodes() throws com.liferay.portal.SystemException {
117         _resourceCodeLocalService.checkResourceCodes();
118     }
119 
120     public void checkResourceCodes(long companyId, java.lang.String name)
121         throws com.liferay.portal.SystemException {
122         _resourceCodeLocalService.checkResourceCodes(companyId, name);
123     }
124 
125     public com.liferay.portal.model.ResourceCode getResourceCode(
126         long companyId, java.lang.String name, int scope)
127         throws com.liferay.portal.SystemException {
128         return _resourceCodeLocalService.getResourceCode(companyId, name, scope);
129     }
130 
131     public ResourceCodeLocalService getWrappedResourceCodeLocalService() {
132         return _resourceCodeLocalService;
133     }
134 
135     private ResourceCodeLocalService _resourceCodeLocalService;
136 }