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    /**
019     * <p>
020     * This class is a wrapper for {@link PortletItemLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       PortletItemLocalService
025     * @generated
026     */
027    public class PortletItemLocalServiceWrapper implements PortletItemLocalService {
028            public PortletItemLocalServiceWrapper(
029                    PortletItemLocalService portletItemLocalService) {
030                    _portletItemLocalService = portletItemLocalService;
031            }
032    
033            public com.liferay.portal.model.PortletItem addPortletItem(
034                    com.liferay.portal.model.PortletItem portletItem)
035                    throws com.liferay.portal.kernel.exception.SystemException {
036                    return _portletItemLocalService.addPortletItem(portletItem);
037            }
038    
039            public com.liferay.portal.model.PortletItem createPortletItem(
040                    long portletItemId) {
041                    return _portletItemLocalService.createPortletItem(portletItemId);
042            }
043    
044            public void deletePortletItem(long portletItemId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _portletItemLocalService.deletePortletItem(portletItemId);
048            }
049    
050            public void deletePortletItem(
051                    com.liferay.portal.model.PortletItem portletItem)
052                    throws com.liferay.portal.kernel.exception.SystemException {
053                    _portletItemLocalService.deletePortletItem(portletItem);
054            }
055    
056            @SuppressWarnings("unchecked")
057            public java.util.List dynamicQuery(
058                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _portletItemLocalService.dynamicQuery(dynamicQuery);
061            }
062    
063            @SuppressWarnings("unchecked")
064            public java.util.List dynamicQuery(
065                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066                    int end) throws com.liferay.portal.kernel.exception.SystemException {
067                    return _portletItemLocalService.dynamicQuery(dynamicQuery, start, end);
068            }
069    
070            @SuppressWarnings("unchecked")
071            public java.util.List dynamicQuery(
072                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073                    int end,
074                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075                    throws com.liferay.portal.kernel.exception.SystemException {
076                    return _portletItemLocalService.dynamicQuery(dynamicQuery, start, end,
077                            orderByComparator);
078            }
079    
080            public long dynamicQueryCount(
081                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _portletItemLocalService.dynamicQueryCount(dynamicQuery);
084            }
085    
086            public com.liferay.portal.model.PortletItem getPortletItem(
087                    long portletItemId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _portletItemLocalService.getPortletItem(portletItemId);
091            }
092    
093            public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
094                    int start, int end)
095                    throws com.liferay.portal.kernel.exception.SystemException {
096                    return _portletItemLocalService.getPortletItems(start, end);
097            }
098    
099            public int getPortletItemsCount()
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _portletItemLocalService.getPortletItemsCount();
102            }
103    
104            public com.liferay.portal.model.PortletItem updatePortletItem(
105                    com.liferay.portal.model.PortletItem portletItem)
106                    throws com.liferay.portal.kernel.exception.SystemException {
107                    return _portletItemLocalService.updatePortletItem(portletItem);
108            }
109    
110            public com.liferay.portal.model.PortletItem updatePortletItem(
111                    com.liferay.portal.model.PortletItem portletItem, boolean merge)
112                    throws com.liferay.portal.kernel.exception.SystemException {
113                    return _portletItemLocalService.updatePortletItem(portletItem, merge);
114            }
115    
116            public com.liferay.portal.model.PortletItem addPortletItem(long userId,
117                    long groupId, java.lang.String name, java.lang.String portletId,
118                    java.lang.String className)
119                    throws com.liferay.portal.kernel.exception.PortalException,
120                            com.liferay.portal.kernel.exception.SystemException {
121                    return _portletItemLocalService.addPortletItem(userId, groupId, name,
122                            portletId, className);
123            }
124    
125            public com.liferay.portal.model.PortletItem getPortletItem(long groupId,
126                    java.lang.String name, java.lang.String portletId,
127                    java.lang.String className)
128                    throws com.liferay.portal.kernel.exception.PortalException,
129                            com.liferay.portal.kernel.exception.SystemException {
130                    return _portletItemLocalService.getPortletItem(groupId, name,
131                            portletId, className);
132            }
133    
134            public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
135                    long groupId, java.lang.String className)
136                    throws com.liferay.portal.kernel.exception.SystemException {
137                    return _portletItemLocalService.getPortletItems(groupId, className);
138            }
139    
140            public java.util.List<com.liferay.portal.model.PortletItem> getPortletItems(
141                    long groupId, java.lang.String portletId, java.lang.String className)
142                    throws com.liferay.portal.kernel.exception.SystemException {
143                    return _portletItemLocalService.getPortletItems(groupId, portletId,
144                            className);
145            }
146    
147            public com.liferay.portal.model.PortletItem updatePortletItem(long userId,
148                    long groupId, java.lang.String name, java.lang.String portletId,
149                    java.lang.String className)
150                    throws com.liferay.portal.kernel.exception.PortalException,
151                            com.liferay.portal.kernel.exception.SystemException {
152                    return _portletItemLocalService.updatePortletItem(userId, groupId,
153                            name, portletId, className);
154            }
155    
156            public PortletItemLocalService getWrappedPortletItemLocalService() {
157                    return _portletItemLocalService;
158            }
159    
160            private PortletItemLocalService _portletItemLocalService;
161    }