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.portlet.shopping.service;
016    
017    
018    /**
019     * <p>
020     * This class is a wrapper for {@link ShoppingItemFieldLocalService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       ShoppingItemFieldLocalService
025     * @generated
026     */
027    public class ShoppingItemFieldLocalServiceWrapper
028            implements ShoppingItemFieldLocalService {
029            public ShoppingItemFieldLocalServiceWrapper(
030                    ShoppingItemFieldLocalService shoppingItemFieldLocalService) {
031                    _shoppingItemFieldLocalService = shoppingItemFieldLocalService;
032            }
033    
034            public com.liferay.portlet.shopping.model.ShoppingItemField addShoppingItemField(
035                    com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
036                    throws com.liferay.portal.kernel.exception.SystemException {
037                    return _shoppingItemFieldLocalService.addShoppingItemField(shoppingItemField);
038            }
039    
040            public com.liferay.portlet.shopping.model.ShoppingItemField createShoppingItemField(
041                    long itemFieldId) {
042                    return _shoppingItemFieldLocalService.createShoppingItemField(itemFieldId);
043            }
044    
045            public void deleteShoppingItemField(long itemFieldId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _shoppingItemFieldLocalService.deleteShoppingItemField(itemFieldId);
049            }
050    
051            public void deleteShoppingItemField(
052                    com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    _shoppingItemFieldLocalService.deleteShoppingItemField(shoppingItemField);
055            }
056    
057            @SuppressWarnings("unchecked")
058            public java.util.List dynamicQuery(
059                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
060                    throws com.liferay.portal.kernel.exception.SystemException {
061                    return _shoppingItemFieldLocalService.dynamicQuery(dynamicQuery);
062            }
063    
064            @SuppressWarnings("unchecked")
065            public java.util.List dynamicQuery(
066                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
067                    int end) throws com.liferay.portal.kernel.exception.SystemException {
068                    return _shoppingItemFieldLocalService.dynamicQuery(dynamicQuery, start,
069                            end);
070            }
071    
072            @SuppressWarnings("unchecked")
073            public java.util.List dynamicQuery(
074                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
075                    int end,
076                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
077                    throws com.liferay.portal.kernel.exception.SystemException {
078                    return _shoppingItemFieldLocalService.dynamicQuery(dynamicQuery, start,
079                            end, orderByComparator);
080            }
081    
082            public long dynamicQueryCount(
083                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
084                    throws com.liferay.portal.kernel.exception.SystemException {
085                    return _shoppingItemFieldLocalService.dynamicQueryCount(dynamicQuery);
086            }
087    
088            public com.liferay.portlet.shopping.model.ShoppingItemField getShoppingItemField(
089                    long itemFieldId)
090                    throws com.liferay.portal.kernel.exception.PortalException,
091                            com.liferay.portal.kernel.exception.SystemException {
092                    return _shoppingItemFieldLocalService.getShoppingItemField(itemFieldId);
093            }
094    
095            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> getShoppingItemFields(
096                    int start, int end)
097                    throws com.liferay.portal.kernel.exception.SystemException {
098                    return _shoppingItemFieldLocalService.getShoppingItemFields(start, end);
099            }
100    
101            public int getShoppingItemFieldsCount()
102                    throws com.liferay.portal.kernel.exception.SystemException {
103                    return _shoppingItemFieldLocalService.getShoppingItemFieldsCount();
104            }
105    
106            public com.liferay.portlet.shopping.model.ShoppingItemField updateShoppingItemField(
107                    com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _shoppingItemFieldLocalService.updateShoppingItemField(shoppingItemField);
110            }
111    
112            public com.liferay.portlet.shopping.model.ShoppingItemField updateShoppingItemField(
113                    com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField,
114                    boolean merge)
115                    throws com.liferay.portal.kernel.exception.SystemException {
116                    return _shoppingItemFieldLocalService.updateShoppingItemField(shoppingItemField,
117                            merge);
118            }
119    
120            public java.util.List<com.liferay.portlet.shopping.model.ShoppingItemField> getItemFields(
121                    long itemId) throws com.liferay.portal.kernel.exception.SystemException {
122                    return _shoppingItemFieldLocalService.getItemFields(itemId);
123            }
124    
125            public ShoppingItemFieldLocalService getWrappedShoppingItemFieldLocalService() {
126                    return _shoppingItemFieldLocalService;
127            }
128    
129            private ShoppingItemFieldLocalService _shoppingItemFieldLocalService;
130    }