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