001    /**
002     * Copyright (c) 2000-2012 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 LayoutSetPrototypeService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutSetPrototypeService
024     * @generated
025     */
026    public class LayoutSetPrototypeServiceWrapper
027            implements LayoutSetPrototypeService,
028                    ServiceWrapper<LayoutSetPrototypeService> {
029            public LayoutSetPrototypeServiceWrapper(
030                    LayoutSetPrototypeService layoutSetPrototypeService) {
031                    _layoutSetPrototypeService = layoutSetPrototypeService;
032            }
033    
034            public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
035                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
036                    java.lang.String description, boolean active,
037                    boolean layoutsUpdateable,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    return _layoutSetPrototypeService.addLayoutSetPrototype(nameMap,
042                            description, active, layoutsUpdateable, serviceContext);
043            }
044    
045            public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _layoutSetPrototypeService.deleteLayoutSetPrototype(layoutSetPrototypeId);
049            }
050    
051            public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
052                    long layoutSetPrototypeId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _layoutSetPrototypeService.getLayoutSetPrototype(layoutSetPrototypeId);
056            }
057    
058            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
059                    long companyId, java.lang.Boolean active,
060                    com.liferay.portal.kernel.util.OrderByComparator obc)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    return _layoutSetPrototypeService.search(companyId, active, obc);
064            }
065    
066            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
067                    long layoutSetPrototypeId,
068                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
069                    java.lang.String description, boolean active,
070                    boolean layoutsUpdateable,
071                    com.liferay.portal.service.ServiceContext serviceContext)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
075                            nameMap, description, active, layoutsUpdateable, serviceContext);
076            }
077    
078            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
079                    long layoutSetPrototypeId, java.lang.String settings)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
083                            settings);
084            }
085    
086            /**
087             * @deprecated Renamed to {@link #getWrappedService}
088             */
089            public LayoutSetPrototypeService getWrappedLayoutSetPrototypeService() {
090                    return _layoutSetPrototypeService;
091            }
092    
093            /**
094             * @deprecated Renamed to {@link #setWrappedService}
095             */
096            public void setWrappedLayoutSetPrototypeService(
097                    LayoutSetPrototypeService layoutSetPrototypeService) {
098                    _layoutSetPrototypeService = layoutSetPrototypeService;
099            }
100    
101            public LayoutSetPrototypeService getWrappedService() {
102                    return _layoutSetPrototypeService;
103            }
104    
105            public void setWrappedService(
106                    LayoutSetPrototypeService layoutSetPrototypeService) {
107                    _layoutSetPrototypeService = layoutSetPrototypeService;
108            }
109    
110            private LayoutSetPrototypeService _layoutSetPrototypeService;
111    }