001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link PortletItemLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PortletItemLocalService
024     * @generated
025     */
026    public class PortletItemLocalServiceWrapper implements PortletItemLocalService {
027            public PortletItemLocalServiceWrapper(
028                    PortletItemLocalService portletItemLocalService) {
029                    _portletItemLocalService = portletItemLocalService;
030            }
031    
032            public com.liferay.portal.model.PortletItem addPortletItem(
033                    com.liferay.portal.model.PortletItem portletItem)
034                    throws com.liferay.portal.kernel.exception.SystemException {
035                    return _portletItemLocalService.addPortletItem(portletItem);
036            }
037    
038            public com.liferay.portal.model.PortletItem createPortletItem(
039                    long portletItemId) {
040                    return _portletItemLocalService.createPortletItem(portletItemId);
041            }
042    
043            public void deletePortletItem(long portletItemId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _portletItemLocalService.deletePortletItem(portletItemId);
047            }
048    
049            public void deletePortletItem(
050                    com.liferay.portal.model.PortletItem portletItem)
051                    throws com.liferay.portal.kernel.exception.SystemException {
052                    _portletItemLocalService.deletePortletItem(portletItem);
053            }
054    
055            @SuppressWarnings("unchecked")
056            public java.util.List dynamicQuery(
057                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
058                    throws com.liferay.portal.kernel.exception.SystemException {
059                    return _portletItemLocalService.dynamicQuery(dynamicQuery);
060            }
061    
062            @SuppressWarnings("unchecked")
063            public java.util.List dynamicQuery(
064                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
065                    int end) throws com.liferay.portal.kernel.exception.SystemException {
066                    return _portletItemLocalService.dynamicQuery(dynamicQuery, start, end);
067            }
068    
069            @SuppressWarnings("unchecked")
070            public java.util.List dynamicQuery(
071                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
072                    int end,
073                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
074                    throws com.liferay.portal.kernel.exception.SystemException {
075                    return _portletItemLocalService.dynamicQuery(dynamicQuery, start, end,
076                            orderByComparator);
077            }
078    
079            public long dynamicQueryCount(
080                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _portletItemLocalService.dynamicQueryCount(dynamicQuery);
083            }
084    
085            public com.liferay.portal.model.PortletItem getPortletItem(
086                    long portletItemId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _portletItemLocalService.getPortletItem(portletItemId);
090            }
091    
092            public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
093                    int start, int end)
094                    throws com.liferay.portal.kernel.exception.SystemException {
095                    return _portletItemLocalService.getPortletItems(start, end);
096            }
097    
098            public int getPortletItemsCount()
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _portletItemLocalService.getPortletItemsCount();
101            }
102    
103            public com.liferay.portal.model.PortletItem updatePortletItem(
104                    com.liferay.portal.model.PortletItem portletItem)
105                    throws com.liferay.portal.kernel.exception.SystemException {
106                    return _portletItemLocalService.updatePortletItem(portletItem);
107            }
108    
109            public com.liferay.portal.model.PortletItem updatePortletItem(
110                    com.liferay.portal.model.PortletItem portletItem, boolean merge)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _portletItemLocalService.updatePortletItem(portletItem, merge);
113            }
114    
115            public com.liferay.portal.model.PortletItem addPortletItem(long userId,
116                    long groupId, java.lang.String name, java.lang.String portletId,
117                    java.lang.String className)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    return _portletItemLocalService.addPortletItem(userId, groupId, name,
121                            portletId, className);
122            }
123    
124            public com.liferay.portal.model.PortletItem getPortletItem(long groupId,
125                    java.lang.String name, java.lang.String portletId,
126                    java.lang.String className)
127                    throws com.liferay.portal.kernel.exception.PortalException,
128                            com.liferay.portal.kernel.exception.SystemException {
129                    return _portletItemLocalService.getPortletItem(groupId, name,
130                            portletId, className);
131            }
132    
133            public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
134                    long groupId, java.lang.String className)
135                    throws com.liferay.portal.kernel.exception.SystemException {
136                    return _portletItemLocalService.getPortletItems(groupId, className);
137            }
138    
139            public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
140                    long groupId, java.lang.String portletId, java.lang.String className)
141                    throws com.liferay.portal.kernel.exception.SystemException {
142                    return _portletItemLocalService.getPortletItems(groupId, portletId,
143                            className);
144            }
145    
146            public com.liferay.portal.model.PortletItem updatePortletItem(long userId,
147                    long groupId, java.lang.String name, java.lang.String portletId,
148                    java.lang.String className)
149                    throws com.liferay.portal.kernel.exception.PortalException,
150                            com.liferay.portal.kernel.exception.SystemException {
151                    return _portletItemLocalService.updatePortletItem(userId, groupId,
152                            name, portletId, className);
153            }
154    
155            public PortletItemLocalService getWrappedPortletItemLocalService() {
156                    return _portletItemLocalService;
157            }
158    
159            private PortletItemLocalService _portletItemLocalService;
160    }