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 LayoutPrototypeService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutPrototypeService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutPrototypeServiceWrapper implements LayoutPrototypeService,
028            ServiceWrapper<LayoutPrototypeService> {
029            public LayoutPrototypeServiceWrapper(
030                    LayoutPrototypeService layoutPrototypeService) {
031                    _layoutPrototypeService = layoutPrototypeService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            @Override
040            public java.lang.String getBeanIdentifier() {
041                    return _layoutPrototypeService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            @Override
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _layoutPrototypeService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            /**
055            * @deprecated As of 6.2.0, replaced by {@link #addLayoutPrototype(Map,
056            String, boolean, ServiceContext)}
057            */
058            @Override
059            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
060                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
061                    java.lang.String description, boolean active)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
065                            active);
066            }
067    
068            @Override
069            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
070                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
071                    java.lang.String description, boolean active,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
076                            active, serviceContext);
077            }
078    
079            @Override
080            public void deleteLayoutPrototype(long layoutPrototypeId)
081                    throws com.liferay.portal.kernel.exception.PortalException,
082                            com.liferay.portal.kernel.exception.SystemException {
083                    _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId);
084            }
085    
086            @Override
087            public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
088                    long layoutPrototypeId)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
092            }
093    
094            @Override
095            public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
096                    long companyId, java.lang.Boolean active,
097                    com.liferay.portal.kernel.util.OrderByComparator obc)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _layoutPrototypeService.search(companyId, active, obc);
101            }
102    
103            /**
104            * @deprecated As of 6.2.0, replaced by {@link #updateLayoutPrototype(long,
105            Map, String, boolean, ServiceContext)}
106            */
107            @Override
108            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
109                    long layoutPrototypeId,
110                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
111                    java.lang.String description, boolean active)
112                    throws com.liferay.portal.kernel.exception.PortalException,
113                            com.liferay.portal.kernel.exception.SystemException {
114                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
115                            nameMap, description, active);
116            }
117    
118            @Override
119            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
120                    long layoutPrototypeId,
121                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
122                    java.lang.String description, boolean active,
123                    com.liferay.portal.service.ServiceContext serviceContext)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
127                            nameMap, description, active, serviceContext);
128            }
129    
130            /**
131             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
132             */
133            public LayoutPrototypeService getWrappedLayoutPrototypeService() {
134                    return _layoutPrototypeService;
135            }
136    
137            /**
138             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
139             */
140            public void setWrappedLayoutPrototypeService(
141                    LayoutPrototypeService layoutPrototypeService) {
142                    _layoutPrototypeService = layoutPrototypeService;
143            }
144    
145            @Override
146            public LayoutPrototypeService getWrappedService() {
147                    return _layoutPrototypeService;
148            }
149    
150            @Override
151            public void setWrappedService(LayoutPrototypeService layoutPrototypeService) {
152                    _layoutPrototypeService = layoutPrototypeService;
153            }
154    
155            private LayoutPrototypeService _layoutPrototypeService;
156    }