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