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    /**
019     * <p>
020     * This class is a wrapper for {@link LayoutSetPrototypeService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       LayoutSetPrototypeService
025     * @generated
026     */
027    public class LayoutSetPrototypeServiceWrapper
028            implements LayoutSetPrototypeService {
029            public LayoutSetPrototypeServiceWrapper(
030                    LayoutSetPrototypeService layoutSetPrototypeService) {
031                    _layoutSetPrototypeService = layoutSetPrototypeService;
032            }
033    
034            public com.liferay.portal.model.LayoutSetPrototype addLayoutSetPrototype(
035                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
036                    java.lang.String description, boolean active)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _layoutSetPrototypeService.addLayoutSetPrototype(nameMap,
040                            description, active);
041            }
042    
043            public void deleteLayoutSetPrototype(long layoutSetPrototypeId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _layoutSetPrototypeService.deleteLayoutSetPrototype(layoutSetPrototypeId);
047            }
048    
049            public com.liferay.portal.model.LayoutSetPrototype getLayoutSetPrototype(
050                    long layoutSetPrototypeId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _layoutSetPrototypeService.getLayoutSetPrototype(layoutSetPrototypeId);
054            }
055    
056            public java.util.List<com.liferay.portal.model.LayoutSetPrototype> search(
057                    long companyId, java.lang.Boolean active,
058                    com.liferay.portal.kernel.util.OrderByComparator obc)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _layoutSetPrototypeService.search(companyId, active, obc);
062            }
063    
064            public com.liferay.portal.model.LayoutSetPrototype updateLayoutSetPrototype(
065                    long layoutSetPrototypeId,
066                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
067                    java.lang.String description, boolean active)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _layoutSetPrototypeService.updateLayoutSetPrototype(layoutSetPrototypeId,
071                            nameMap, description, active);
072            }
073    
074            public LayoutSetPrototypeService getWrappedLayoutSetPrototypeService() {
075                    return _layoutSetPrototypeService;
076            }
077    
078            private LayoutSetPrototypeService _layoutSetPrototypeService;
079    }