001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link LayoutSetPrototypeService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       LayoutSetPrototypeService
024     * @generated
025     */
026    public class LayoutSetPrototypeServiceWrapper
027            implements LayoutSetPrototypeService {
028            public LayoutSetPrototypeServiceWrapper(
029                    LayoutSetPrototypeService layoutSetPrototypeService) {
030                    _layoutSetPrototypeService = layoutSetPrototypeService;
031            }
032    
033            public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
034                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
035                    java.lang.String description, boolean active)
036                    throws com.liferay.portal.kernel.exception.PortalException,
037                            com.liferay.portal.kernel.exception.SystemException {
038                    return _layoutSetPrototypeService.addLayoutSetPrototype(nameMap,
039                            description, active);
040            }
041    
042            public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _layoutSetPrototypeService.deleteLayoutSetPrototype(layoutSetPrototypeId);
046            }
047    
048            public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
049                    long layoutSetPrototypeId)
050                    throws com.liferay.portal.kernel.exception.PortalException,
051                            com.liferay.portal.kernel.exception.SystemException {
052                    return _layoutSetPrototypeService.getLayoutSetPrototype(layoutSetPrototypeId);
053            }
054    
055            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
056                    long companyId, java.lang.Boolean active,
057                    com.liferay.portal.kernel.util.OrderByComparator obc)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _layoutSetPrototypeService.search(companyId, active, obc);
061            }
062    
063            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
064                    long layoutSetPrototypeId,
065                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
066                    java.lang.String description, boolean active)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
070                            nameMap, description, active);
071            }
072    
073            public LayoutSetPrototypeService getWrappedLayoutSetPrototypeService() {
074                    return _layoutSetPrototypeService;
075            }
076    
077            private LayoutSetPrototypeService _layoutSetPrototypeService;
078    }