001    /**
002     * Copyright (c) 2000-2013 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            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _layoutSetPrototypeService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _layoutSetPrototypeService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
053                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
054                    java.lang.String description, boolean active,
055                    boolean layoutsUpdateable,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _layoutSetPrototypeService.addLayoutSetPrototype(nameMap,
060                            description, active, layoutsUpdateable, serviceContext);
061            }
062    
063            public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _layoutSetPrototypeService.deleteLayoutSetPrototype(layoutSetPrototypeId);
067            }
068    
069            public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
070                    long layoutSetPrototypeId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _layoutSetPrototypeService.getLayoutSetPrototype(layoutSetPrototypeId);
074            }
075    
076            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
077                    long companyId, java.lang.Boolean active,
078                    com.liferay.portal.kernel.util.OrderByComparator obc)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _layoutSetPrototypeService.search(companyId, active, obc);
082            }
083    
084            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
085                    long layoutSetPrototypeId,
086                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
087                    java.lang.String description, boolean active,
088                    boolean layoutsUpdateable,
089                    com.liferay.portal.service.ServiceContext serviceContext)
090                    throws com.liferay.portal.kernel.exception.PortalException,
091                            com.liferay.portal.kernel.exception.SystemException {
092                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
093                            nameMap, description, active, layoutsUpdateable, serviceContext);
094            }
095    
096            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
097                    long layoutSetPrototypeId, java.lang.String settings)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
101                            settings);
102            }
103    
104            /**
105             * @deprecated Renamed to {@link #getWrappedService}
106             */
107            public LayoutSetPrototypeService getWrappedLayoutSetPrototypeService() {
108                    return _layoutSetPrototypeService;
109            }
110    
111            /**
112             * @deprecated Renamed to {@link #setWrappedService}
113             */
114            public void setWrappedLayoutSetPrototypeService(
115                    LayoutSetPrototypeService layoutSetPrototypeService) {
116                    _layoutSetPrototypeService = layoutSetPrototypeService;
117            }
118    
119            public LayoutSetPrototypeService getWrappedService() {
120                    return _layoutSetPrototypeService;
121            }
122    
123            public void setWrappedService(
124                    LayoutSetPrototypeService layoutSetPrototypeService) {
125                    _layoutSetPrototypeService = layoutSetPrototypeService;
126            }
127    
128            private LayoutSetPrototypeService _layoutSetPrototypeService;
129    }