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