001    /**
002     * Copyright (c) 2000-2010 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            public LayoutPrototypeServiceWrapper(
028                    LayoutPrototypeService layoutPrototypeService) {
029                    _layoutPrototypeService = layoutPrototypeService;
030            }
031    
032            public com.liferay.portal.model.LayoutPrototype addLayoutPrototype(
033                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
034                    java.lang.String description, boolean active)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _layoutPrototypeService.addLayoutPrototype(nameMap, description,
038                            active);
039            }
040    
041            public void deleteLayoutPrototype(long layoutPrototypeId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _layoutPrototypeService.deleteLayoutPrototype(layoutPrototypeId);
045            }
046    
047            public com.liferay.portal.model.LayoutPrototype getLayoutPrototype(
048                    long layoutPrototypeId)
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException {
051                    return _layoutPrototypeService.getLayoutPrototype(layoutPrototypeId);
052            }
053    
054            public java.util.List<com.liferay.portal.model.LayoutPrototype> search(
055                    long companyId, java.lang.Boolean active,
056                    com.liferay.portal.kernel.util.OrderByComparator obc)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _layoutPrototypeService.search(companyId, active, obc);
060            }
061    
062            public com.liferay.portal.model.LayoutPrototype updateLayoutPrototype(
063                    long layoutPrototypeId,
064                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
065                    java.lang.String description, boolean active)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _layoutPrototypeService.updateLayoutPrototype(layoutPrototypeId,
069                            nameMap, description, active);
070            }
071    
072            public LayoutPrototypeService getWrappedLayoutPrototypeService() {
073                    return _layoutPrototypeService;
074            }
075    
076            private LayoutPrototypeService _layoutPrototypeService;
077    }