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