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="PortletItemLocalServiceUtil.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 PortletItemLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       PortletItemLocalService
31   * @generated
32   */
33  public class PortletItemLocalServiceWrapper implements PortletItemLocalService {
34      public PortletItemLocalServiceWrapper(
35          PortletItemLocalService portletItemLocalService) {
36          _portletItemLocalService = portletItemLocalService;
37      }
38  
39      public com.liferay.portal.model.PortletItem addPortletItem(
40          com.liferay.portal.model.PortletItem portletItem)
41          throws com.liferay.portal.SystemException {
42          return _portletItemLocalService.addPortletItem(portletItem);
43      }
44  
45      public com.liferay.portal.model.PortletItem createPortletItem(
46          long portletItemId) {
47          return _portletItemLocalService.createPortletItem(portletItemId);
48      }
49  
50      public void deletePortletItem(long portletItemId)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          _portletItemLocalService.deletePortletItem(portletItemId);
54      }
55  
56      public void deletePortletItem(
57          com.liferay.portal.model.PortletItem portletItem)
58          throws com.liferay.portal.SystemException {
59          _portletItemLocalService.deletePortletItem(portletItem);
60      }
61  
62      @SuppressWarnings("rawtypes")
63      public java.util.List dynamicQuery(
64          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65          throws com.liferay.portal.SystemException {
66          return _portletItemLocalService.dynamicQuery(dynamicQuery);
67      }
68  
69      @SuppressWarnings("rawtypes")
70      public java.util.List dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _portletItemLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      @SuppressWarnings("rawtypes")
77      public java.util.List dynamicQuery(
78          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79          int end,
80          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
81          throws com.liferay.portal.SystemException {
82          return _portletItemLocalService.dynamicQuery(dynamicQuery, start, end,
83              orderByComparator);
84      }
85  
86      public int dynamicQueryCount(
87          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
88          throws com.liferay.portal.SystemException {
89          return _portletItemLocalService.dynamicQueryCount(dynamicQuery);
90      }
91  
92      public com.liferay.portal.model.PortletItem getPortletItem(
93          long portletItemId)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _portletItemLocalService.getPortletItem(portletItemId);
97      }
98  
99      public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
100         int start, int end) throws com.liferay.portal.SystemException {
101         return _portletItemLocalService.getPortletItems(start, end);
102     }
103 
104     public int getPortletItemsCount() throws com.liferay.portal.SystemException {
105         return _portletItemLocalService.getPortletItemsCount();
106     }
107 
108     public com.liferay.portal.model.PortletItem updatePortletItem(
109         com.liferay.portal.model.PortletItem portletItem)
110         throws com.liferay.portal.SystemException {
111         return _portletItemLocalService.updatePortletItem(portletItem);
112     }
113 
114     public com.liferay.portal.model.PortletItem updatePortletItem(
115         com.liferay.portal.model.PortletItem portletItem, boolean merge)
116         throws com.liferay.portal.SystemException {
117         return _portletItemLocalService.updatePortletItem(portletItem, merge);
118     }
119 
120     public com.liferay.portal.model.PortletItem addPortletItem(long userId,
121         long groupId, java.lang.String name, java.lang.String portletId,
122         java.lang.String className)
123         throws com.liferay.portal.PortalException,
124             com.liferay.portal.SystemException {
125         return _portletItemLocalService.addPortletItem(userId, groupId, name,
126             portletId, className);
127     }
128 
129     public com.liferay.portal.model.PortletItem getPortletItem(long groupId,
130         java.lang.String name, java.lang.String portletId,
131         java.lang.String className)
132         throws com.liferay.portal.PortalException,
133             com.liferay.portal.SystemException {
134         return _portletItemLocalService.getPortletItem(groupId, name,
135             portletId, className);
136     }
137 
138     public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
139         long groupId, java.lang.String className)
140         throws com.liferay.portal.SystemException {
141         return _portletItemLocalService.getPortletItems(groupId, className);
142     }
143 
144     public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
145         long groupId, java.lang.String portletId, java.lang.String className)
146         throws com.liferay.portal.SystemException {
147         return _portletItemLocalService.getPortletItems(groupId, portletId,
148             className);
149     }
150 
151     public com.liferay.portal.model.PortletItem updatePortletItem(long userId,
152         long groupId, java.lang.String name, java.lang.String portletId,
153         java.lang.String className)
154         throws com.liferay.portal.PortalException,
155             com.liferay.portal.SystemException {
156         return _portletItemLocalService.updatePortletItem(userId, groupId,
157             name, portletId, className);
158     }
159 
160     public PortletItemLocalService getWrappedPortletItemLocalService() {
161         return _portletItemLocalService;
162     }
163 
164     private PortletItemLocalService _portletItemLocalService;
165 }