001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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 allowModifications, boolean allowLayoutAddition,
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, allowModifications, allowLayoutAddition,
043                            serviceContext);
044            }
045    
046            public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
047                    throws com.liferay.portal.kernel.exception.PortalException,
048                            com.liferay.portal.kernel.exception.SystemException {
049                    _layoutSetPrototypeService.deleteLayoutSetPrototype(layoutSetPrototypeId);
050            }
051    
052            public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
053                    long layoutSetPrototypeId)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    return _layoutSetPrototypeService.getLayoutSetPrototype(layoutSetPrototypeId);
057            }
058    
059            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
060                    long companyId, java.lang.Boolean active,
061                    com.liferay.portal.kernel.util.OrderByComparator obc)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _layoutSetPrototypeService.search(companyId, active, obc);
065            }
066    
067            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
068                    long layoutSetPrototypeId,
069                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
070                    java.lang.String description, boolean active,
071                    boolean allowModifications, boolean allowLayoutAddition,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
076                            nameMap, description, active, allowModifications,
077                            allowLayoutAddition, serviceContext);
078            }
079    
080            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
081                    long layoutSetPrototypeId, java.lang.String settings)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
085                            settings);
086            }
087    
088            /**
089             * @deprecated Renamed to {@link #getWrappedService}
090             */
091            public LayoutSetPrototypeService getWrappedLayoutSetPrototypeService() {
092                    return _layoutSetPrototypeService;
093            }
094    
095            /**
096             * @deprecated Renamed to {@link #setWrappedService}
097             */
098            public void setWrappedLayoutSetPrototypeService(
099                    LayoutSetPrototypeService layoutSetPrototypeService) {
100                    _layoutSetPrototypeService = layoutSetPrototypeService;
101            }
102    
103            public LayoutSetPrototypeService getWrappedService() {
104                    return _layoutSetPrototypeService;
105            }
106    
107            public void setWrappedService(
108                    LayoutSetPrototypeService layoutSetPrototypeService) {
109                    _layoutSetPrototypeService = layoutSetPrototypeService;
110            }
111    
112            private LayoutSetPrototypeService _layoutSetPrototypeService;
113    }