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