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            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
052                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
053                    java.lang.String description, boolean active)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
057                            active);
058            }
059    
060            public void deleteLayoutPrototype(long layoutPrototypeId)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId);
064            }
065    
066            public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
067                    long layoutPrototypeId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
071            }
072    
073            public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
074                    long companyId, java.lang.Boolean active,
075                    com.liferay.portal.kernel.util.OrderByComparator obc)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    return _layoutPrototypeService.search(companyId, active, obc);
079            }
080    
081            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
082                    long layoutPrototypeId,
083                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
084                    java.lang.String description, boolean active)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
088                            nameMap, description, active);
089            }
090    
091            /**
092             * @deprecated Renamed to {@link #getWrappedService}
093             */
094            public LayoutPrototypeService getWrappedLayoutPrototypeService() {
095                    return _layoutPrototypeService;
096            }
097    
098            /**
099             * @deprecated Renamed to {@link #setWrappedService}
100             */
101            public void setWrappedLayoutPrototypeService(
102                    LayoutPrototypeService layoutPrototypeService) {
103                    _layoutPrototypeService = layoutPrototypeService;
104            }
105    
106            public LayoutPrototypeService getWrappedService() {
107                    return _layoutPrototypeService;
108            }
109    
110            public void setWrappedService(LayoutPrototypeService layoutPrototypeService) {
111                    _layoutPrototypeService = layoutPrototypeService;
112            }
113    
114            private LayoutPrototypeService _layoutPrototypeService;
115    }