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     * Provides a wrapper for {@link LayoutSetPrototypeService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see LayoutSetPrototypeService
022     * @generated
023     */
024    public class LayoutSetPrototypeServiceWrapper
025            implements LayoutSetPrototypeService,
026                    ServiceWrapper<LayoutSetPrototypeService> {
027            public LayoutSetPrototypeServiceWrapper(
028                    LayoutSetPrototypeService layoutSetPrototypeService) {
029                    _layoutSetPrototypeService = layoutSetPrototypeService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            @Override
038            public java.lang.String getBeanIdentifier() {
039                    return _layoutSetPrototypeService.getBeanIdentifier();
040            }
041    
042            /**
043            * Sets the Spring bean ID for this bean.
044            *
045            * @param beanIdentifier the Spring bean ID for this bean
046            */
047            @Override
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _layoutSetPrototypeService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            @Override
053            public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
054                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
055                    java.lang.String description, boolean active,
056                    boolean layoutsUpdateable,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _layoutSetPrototypeService.addLayoutSetPrototype(nameMap,
061                            description, active, layoutsUpdateable, serviceContext);
062            }
063    
064            @Override
065            public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    _layoutSetPrototypeService.deleteLayoutSetPrototype(layoutSetPrototypeId);
069            }
070    
071            @Override
072            public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
073                    long layoutSetPrototypeId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _layoutSetPrototypeService.getLayoutSetPrototype(layoutSetPrototypeId);
077            }
078    
079            @Override
080            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
081                    long companyId, java.lang.Boolean active,
082                    com.liferay.portal.kernel.util.OrderByComparator obc)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _layoutSetPrototypeService.search(companyId, active, obc);
086            }
087    
088            @Override
089            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
090                    long layoutSetPrototypeId,
091                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
092                    java.lang.String description, boolean active,
093                    boolean layoutsUpdateable,
094                    com.liferay.portal.service.ServiceContext serviceContext)
095                    throws com.liferay.portal.kernel.exception.PortalException,
096                            com.liferay.portal.kernel.exception.SystemException {
097                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
098                            nameMap, description, active, layoutsUpdateable, serviceContext);
099            }
100    
101            @Override
102            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
103                    long layoutSetPrototypeId, java.lang.String settings)
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException {
106                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
107                            settings);
108            }
109    
110            /**
111             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
112             */
113            public LayoutSetPrototypeService getWrappedLayoutSetPrototypeService() {
114                    return _layoutSetPrototypeService;
115            }
116    
117            /**
118             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
119             */
120            public void setWrappedLayoutSetPrototypeService(
121                    LayoutSetPrototypeService layoutSetPrototypeService) {
122                    _layoutSetPrototypeService = layoutSetPrototypeService;
123            }
124    
125            @Override
126            public LayoutSetPrototypeService getWrappedService() {
127                    return _layoutSetPrototypeService;
128            }
129    
130            @Override
131            public void setWrappedService(
132                    LayoutSetPrototypeService layoutSetPrototypeService) {
133                    _layoutSetPrototypeService = layoutSetPrototypeService;
134            }
135    
136            private LayoutSetPrototypeService _layoutSetPrototypeService;
137    }